T
tuka
Hi All,
Is there a way to temporarily suspend the use of imported libraries in
xslt ?
To be precise the issue I am trying to resolve is ,
I have a library imported as
<xsl:import href="Defaults.xsl" /> which strip off html tags like <p>
etc from the acted upon xml.
for ex:
<placeholder id="1016">
<placeholder-content>
<P>test1</P>
<P>test2</P>
</placeholder-content>
</placeholder>
I apply it in the following way
<xsl:if test="string-length(//placeholder[@id='1016']/placeholder-
content)>0">
<div id="suspendedStriping">
<xsl:value-of select="//placeholder[@id='1016']/placeholder-
content" />
</div>
</xsl:if>
I would like to suspend not strip the <p> while I am within this
operation and reactivate when I am out
Is there a way to temporarily suspend the use of imported libraries in
xslt ?
To be precise the issue I am trying to resolve is ,
I have a library imported as
<xsl:import href="Defaults.xsl" /> which strip off html tags like <p>
etc from the acted upon xml.
for ex:
<placeholder id="1016">
<placeholder-content>
<P>test1</P>
<P>test2</P>
</placeholder-content>
</placeholder>
I apply it in the following way
<xsl:if test="string-length(//placeholder[@id='1016']/placeholder-
content)>0">
<div id="suspendedStriping">
<xsl:value-of select="//placeholder[@id='1016']/placeholder-
content" />
</div>
</xsl:if>
I would like to suspend not strip the <p> while I am within this
operation and reactivate when I am out