Not outputting embedded node
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 1
- Joined: Thu Apr 23, 2009 10:32 am
Not outputting embedded node
Post by DerekLewis »
I’m new to the forum and XSLT, so please excuse me if this question is silly or has been answered before.
In generating (say) html output from an XML document using an xsl stylesheet, how can I output the text ([...]) in <anynode> but excluding the text in <fw> in the following?
<anynode>
[...]
<fw> [...] </fw>
[...]
</anynode>
I want to extract and output only the text of anynode which surrounds the (unwanted) text in <fw>. You may have gathered, <fw> stands for forme work in a printed text and and can appear at any position within any other node in the document.
So far, my only solution is to make a copy of the XML file, removing the unwanted node completely, but I feel there should be a simpler way.
Derek
In generating (say) html output from an XML document using an xsl stylesheet, how can I output the text ([...]) in <anynode> but excluding the text in <fw> in the following?
<anynode>
[...]
<fw> [...] </fw>
[...]
</anynode>
I want to extract and output only the text of anynode which surrounds the (unwanted) text in <fw>. You may have gathered, <fw> stands for forme work in a printed text and and can appear at any position within any other node in the document.
So far, my only solution is to make a copy of the XML file, removing the unwanted node completely, but I feel there should be a simpler way.
Derek
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