how to set the parameters for XSL
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 1
- Joined: Fri Aug 27, 2010 4:38 pm
how to set the parameters for XSL
Hi,
I found oxygen very useful when I have an XML file and I've to render it through my XSL file.
However, as per my current requirement, I have an XSL File in which there are many parameters that I set through my java code that includes my XML file also and then my XSL render it. Now to check the functionality of my XSL file I don't want to run the entire java code. Is there anyway in oxygen to set the parameters and then to execute the XSL? If yes from where could i set the parameters.(i read some manuals and i felt that its possible, however, I couldn't find how could i do that)
please advise.
I found oxygen very useful when I have an XML file and I've to render it through my XSL file.
However, as per my current requirement, I have an XSL File in which there are many parameters that I set through my java code that includes my XML file also and then my XSL render it. Now to check the functionality of my XSL file I don't want to run the entire java code. Is there anyway in oxygen to set the parameters and then to execute the XSL? If yes from where could i set the parameters.(i read some manuals and i felt that its possible, however, I couldn't find how could i do that)

please advise.
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: how to set the parameters for XSL
Hello,
If you use a transformation scenario you can set the stylesheet parameters in the scenario itself. Create/Edit your scenario(Document -> Transformation -> Configure Transformation Scenario, New/Edit) and in the XSLT tab press on the "Parameters" button. The "Configure parameters" will be displayed and you can add the parameters you need.
If you are using the stylesheet in the XSLT Debugger you can configure the stylesheet parameters from the "Configure parameters" toolbar button(a wrench and a cog). The same "Configure parameters" dialog will be displayed.
Regards,
Adrian
If you use a transformation scenario you can set the stylesheet parameters in the scenario itself. Create/Edit your scenario(Document -> Transformation -> Configure Transformation Scenario, New/Edit) and in the XSLT tab press on the "Parameters" button. The "Configure parameters" will be displayed and you can add the parameters you need.
If you are using the stylesheet in the XSLT Debugger you can configure the stylesheet parameters from the "Configure parameters" toolbar button(a wrench and a cog). The same "Configure parameters" dialog will be displayed.
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service