Subject: Re: [xsl] selecting elements by attributes when working with namespaces From: Joelle Tegwen <tegwe002@xxxxxxx> Date: Tue, 22 Jul 2008 09:20:32 -0500 |
Never do which? I'm not quite sure what you're saying here.<xsl:template match="tt:span[@class='defaultSpeaker']">
<xsl:if test="count(../preceding-sibling::*)>0">
<xsl:text
disable-output-escaping="yes"></dd></xsl:text>
</xsl:if>
<dt>
<xsl:value-of disable-output-escaping="yes" select="."/>
</dt>
<xsl:text disable-output-escaping="yes"><dd></xsl:text>
Please, never, never do that. You are not generating correct XML regarding XDM, but you are instead cheating with the serializer. I didn't look in details of what you want, but you should be able to find another solution.
If not, please post a simple excerpt of your input and your expected output.
Thanks Joelle
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] selecting elements by att, Florent Georges | Thread | Re: [xsl] selecting elements by att, David Carlisle |
RE: [xsl] Changing the Attibute Val, Owen Rees | Date | Re: [xsl] selecting elements by att, David Carlisle |
Month |