• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Transformer Functionality

 
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Guys,

I created a Transformer object for transforming my XML data into XSL-FO file
In the following code templates contain the XSL file that can use for transformtion. The Xml containing the source data. When I am executing the transform method it is throwing run time exception stating that my XSL file is not in proper path. But it is in the proper folder . Can any one help me in this regard


Transformer transformer = templates.newTransformer();

transformer.transform(Xml, Result);

Ram
 
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Not enough detail. You didn't post the error message (approximate versions aren't helpful) and you didn't post enough code to tell what is supposed to be happening (for example what type is variable Xml)?
reply
    Bookmark Topic Watch Topic
  • New Topic