Get Input params of xsl file
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 91
- Joined: Tue Jul 17, 2018 6:57 am
Get Input params of xsl file
Post by msambasiva »
Hi,
XSLT 2.0
Below is the command to invoke xslt from java using SAXParser.Is it possible to get the list of params passed to xsl file(xml2dita.xsl) . I need to know the output path in my xsl file
java/current/bin/java \
'TransformUsingXMLSchema' \
'/staging/docs/03/X20062603/en/20062603c.xml' \
'/custom/doctypes/CommonDita/xsl/xml2dita.xsl' \
'/staging/docs/03/X20062603/en/myoutput/20062603c.dita
Thanks in advance,
Samba.
XSLT 2.0
Below is the command to invoke xslt from java using SAXParser.Is it possible to get the list of params passed to xsl file(xml2dita.xsl) . I need to know the output path in my xsl file
java/current/bin/java \
'TransformUsingXMLSchema' \
'/staging/docs/03/X20062603/en/20062603c.xml' \
'/custom/doctypes/CommonDita/xsl/xml2dita.xsl' \
'/staging/docs/03/X20062603/en/myoutput/20062603c.dita
Thanks in advance,
Samba.
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Get Input params of xsl file
Hi Samba,
You can try to define a custom xsl:parameter in your XSLT stylesheet and set a value for this parameter when you create the XSLT transformer.
Regards,
Radu
You can try to define a custom xsl:parameter in your XSLT stylesheet and set a value for this parameter when you create the XSLT transformer.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 91
- Joined: Tue Jul 17, 2018 6:57 am
Re: Get Input params of xsl file
Post by msambasiva »
Thanks Radu! Some how, I don't have control on java code. Is there any option to get output file/directory location in XSL without setting the params in java.
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