How to convert XML to XSLT & XSL-FO to be used by FOP ?

krislioe

Usenet Archive
Joined
Jun 28, 2005
Messages
27
Reaction score
0
Hi all,

If I have XML file, how can I convert it into XML to XSLT & XSL-FO to be used by FOP ? Is it hand coded or is there any other way ?

Thank you for any help,
xtanto
 

Jon (14)

Usenet Archive
Joined
Oct 3, 2006
Messages
8
Reaction score
0
Hi all,

If I have XML file, how can I convert it into XML to XSLT & XSL-FO to be used by FOP ? Is it hand coded or is there any other way ?

Thank you for any help,
xtanto

You wouldn't convert XML to XSLT. Rather, you would need to write the XSLT document to dictate the rules for conversion. You would then run an XSLT converter and specify your document as well as the style sheet to produce the desired result. There are several java based XSLT processors available including Saxon. You could also invoke xsltproc to do this.

There are some very good tutorials for writing XSLT at w3c.org.

Regards,

Jon Trauntvein
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
548,049
Messages
3,104,245
Members
248,133
Latest member
DujonT

Latest Threads

Top