Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > How to convert XML to XSLT & XSL-FO to be used by FOP ?

Reply
Thread Tools

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

 
 
krislioe@gmail.com
Guest
Posts: n/a
 
      03-21-2007
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

 
Reply With Quote
 
 
 
 
Jon
Guest
Posts: n/a
 
      03-21-2007
On Mar 21, 5:50 am, (E-Mail Removed) wrote:
> 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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Problems running Apache FOP: org.apache.fop.fo.FOTreeBuilder fatalError Pablo Java 0 03-28-2007 02:31 PM
FOP, XSLT: problems with SAX2DTM Parsing trying to convert to XSL-FO in Java Jens Mueller XML 0 04-12-2005 04:06 PM
FOP and XSLT <xsl:import> issue couellette@gmail.com Java 1 04-05-2005 09:56 PM
weird links in PDF from XML and xslt using FOP Jurrie XML 0 10-06-2003 08:26 AM



Advertisments