need explain on xsl:syntax for "level: of title
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 18
- Joined: Thu Jan 21, 2016 10:28 am
need explain on xsl:syntax for "level: of title
Post by Nikky_zhang »
Hi,
My question is about two xsl: syntax, I can not join it with ditamap.
if the topic with class topic/topic is the first topicref in the ditamap file. I want to know if the topic has ancestor, and who is his ancestor?
could you please explain what "parent::*/@id[.=//*/chapter/@id] doing here?
Thank you very much!
Please forgive that my question is too baisc. I am new to xsl.
Nikky
My question is about two xsl: syntax, I can not join it with ditamap.
Code: Select all
<xsl:variable name="level"
select="ancestor::*[contains(@class,'topic/topic')]"/>
Code: Select all
<xsl:when test="count($level)=1 and parent::*/@id[.=//*/chapter/@id]">
Thank you very much!
Please forgive that my question is too baisc. I am new to xsl.
Nikky
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