Subject: Re: [xsl] Duplicate output for nested list Help From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Mon, 15 Jul 2013 10:10:31 -0400 |
This is the XML: ...
<li><strong>Duty of Care:</strong> The [Tenancy Lookup] has the responsibility for a duty of care, for the land. This duty of care includes taking al reasonable steps to do the following in relation to the land:-
<ol style=3D"list-style-type: lower-alpha">
<xsl:if test=3D"ol"> <xsl:message> Nested OL </xsl:message> <xsl:apply-templates>
<xsl:variable name="nodeName" select="name()"/> ... <xsl:if test="$nodeName = 'li'">
<xsl:apply-templates select="@* | node()[not(self::ol)]">
-- Public XSLT, XSL-FO, and UBL classes in the Netherlands Oct 2013 | Public XSLT, XSL-FO, UBL and code list classes in Australia Oct 2013 | Contact us for world-wide XML consulting and instructor-led training | Free 5-hour lecture: http://www.CraneSoftwrights.com/links/udemy.htm | Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ | G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx | Google+ profile: https://plus.google.com/116832879756988317389/about | Legal business disclaimers: http://www.CraneSoftwrights.com/legal |
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Duplicate output for nested l, Edwardson Larry | Thread | [xsl] [Announce] Two XML training e, G. Ken Holman |
[xsl] Duplicate output for nested l, Edwardson Larry | Date | [xsl] [Announce] Two XML training e, G. Ken Holman |
Month |