XSLT file construction

Here should go questions about transforming XML with XSLT and FOP.
yaman
Posts: 1
Joined: Thu May 31, 2012 11:21 am

XSLT file construction

Post by yaman »

What is the way for building an XSLT file in Oxygen Editor so that i dont have to do the manual coding?
Costin
Posts: 833
Joined: Mon Dec 05, 2011 6:04 pm

Re: XSLT file construction

Post by Costin »

Hello,

Unfortunately oXygen does not have any visual XSLT development tool. So, you should manually write your XSLT file.

However, Oxygen offers a few helpers when editing XSLT, if you create (or associate) an XSLT transformation scenario(Document > Transformation > Configure Transformation Scenario, New) and pick a name and an input XML file.
As a result of this association, you will have content completion in the XPath attribute values (select/match) with the nodes from the input XML file and you will also have an 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.

Hope this helps.

Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support
Post Reply