Subject: Empty element revisited From: "Hakan Pettersson" <hakanxsl15@xxxxxxxxxxx> Date: Thu, 04 May 2000 09:07:34 GMT |
My template looks like: <xsl:template match="Section[@Type='32']"> Before test<BR/> <xsl:if test='.=""'> Test OK! <BR/> </xsl:if> After test<BR/><BR/> <xsl:apply-templates select="*"/> <BR/> </xsl:template>
<Section DocStruc="DS69871" Type="32" Level="1"> </Section>
Before test Test OK! After test
Before test After test
When the ending tag is on the same row it works with Saxon as well. <Section DocStruc="DS69871" Type="32" Level="1"></Section>
/Håkan ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
more stripping carriage returns, Carmelo Montanez | Thread | Re: Empty element revisited, David Carlisle |
Stripping carriage returns, Juan Ciriza Martin | Date | Re: No match or what..., michael gruber |
Month |