Page 1 of 1
XSLT file construction
Posted: Thu May 31, 2012 11:50 am
by yaman
What is the way for building an XSLT file in Oxygen Editor so that i dont have to do the manual coding?
Re: XSLT file construction
Posted: Thu May 31, 2012 12:04 pm
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