XML to text

Here should go questions about transforming XML with XSLT and FOP.
Posts: 12
Joined: Fri Mar 02, 2012 12:11 am

XML to text

Post by Marzipan » 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: 2540
Joined: Tue May 17, 2005 4:01 pm

Re: XML to text

Post by adrian » 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
Joined: Mon Aug 29, 2011 3:06 pm

Re: XML to text

Post by mountainbiker » Fri Apr 06, 2012 8:24 pm

Another resource: XSLT Cookbook

Post Reply