Passing value from ask editor variable to stylesheet
Here should go questions about transforming XML with XSLT and FOP.
Re: Passing value from ask editor variable to stylesheet
Hello,
You can create a transformation scenario and define in the scenario a parameter. For example you can define a parameter with the name "askParam" and the value '${ask('Specify the value', String, 'val')}', and then use the parameter in the stylesheet.
Find more about editor variable in our user manual: https://www.oxygenxml.com/doc/versions/ ... ables.html
Best Regards,
Octavian
You can create a transformation scenario and define in the scenario a parameter. For example you can define a parameter with the name "askParam" and the value '${ask('Specify the value', String, 'val')}', and then use the parameter in the stylesheet.
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0">
<xsl:param name="askParam"/>
<xsl:template match="/">
<xsl:value-of select="$askParam"/>
</xsl:template>
</xsl:stylesheet>
Best Regards,
Octavian
Octavian Nadolu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
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