How to create a list of nodes?
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 2
- Joined: Fri Jul 13, 2007 11:48 pm
- Location: Cambridge, MA
How to create a list of nodes?
Hi all,
I have an XSL that selects arrays with a given @Code from my data XML (data_doc) like this:
Do you know if there is a way to output the list of array @Code names to a string (i.e. "X1Y1 X2Y2 X3Y3 etc...") - there can be arbitrarily many of them?
This is needed so I can call a JS function with that string as a parameter and form the test="..." query based on user input.
I've tried looking on the net, but haven't found any info on that topic
Thanks!
kdavyd
I have an XSL that selects arrays with a given @Code from my data XML (data_doc) like this:
Code: Select all
<xsl:if test="count($data_doc//Array[(contains(@Code, 'X1Y1') or contains(@Code, 'X2Y2'))])!= 0">
<xsl:do_something />
</xsl:if>
This is needed so I can call a JS function with that string as a parameter and form the test="..." query based on user input.
I've tried looking on the net, but haven't found any info on that topic
Thanks!
kdavyd
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