• 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
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

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
 
Sheriff
Posts: 28438
104
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)?
 
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic