XML to text

Here should go questions about transforming XML with XSLT and FOP.
Posts: 12

XML to text

Fri Mar 02, 2012 12:14 am

I'd like to transform a existing XML document to a comma delimited by creating a XSLT. Is there a simple step by step documentation?
Posts: 2478

Re: XML to text

Fri Mar 02, 2012 5:19 pm


There are a couple of topics regarding this on the stackoverflow forums:
http://stackoverflow.com/questions/3653 ... using-xslt
http://stackoverflow.com/questions/9523 ... xml-to-csv

Oxygen has a few helpers when editing XSLT. If you create an XSLT transformation scenario(Document -> Transformation -> Configure Transformation Scenario, New) and pick a name and an input XML file, you will have the XML model of that input file in the XSLT/XQuery input view(Window > Show View > XSLT/XQuery input).
You can then drag and drop elements and attributes from that view into the XSLT file and depending on the context from the XSLT file you will get a popup menu that proposes the insertion of various XSLT instructions.

Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
Posts: 13

Re: XML to text

Fri Apr 06, 2012 8:24 pm

Another resource: XSLT Cookbook

Return to “XSLT and FOP”

Who is online

Users browsing this forum: No registered users and 1 guest