Subject: [xsl] checking sequential element From: "Ganesh Babu N" <nbabuganesh@xxxxxxxxx> Date: Wed, 31 Dec 2008 12:00:02 +0530 |
Dear All, I want to test the presence of <delim/> tag after </citau> in the below example. If it is missing the XSL should raise an error. <citref id="bib12"> <citaug> <citau> <citsname>Ferri</citsname> <delim/> <citfnames>E</citfnames> </citau> <delim/> <cittext>(ed.).</cittext> </citaug> I have tried the following code but i am not getting the required result. <xsl:template match="citref"> <xsl:if test="citau/following-sibling::*[1]/self::delim"> <xsl:message>citau does not followed by delim</xsl:message> </xsl:if> </xsl:template> Please help me in getting the desired result. Regards, Ganesh
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Select all heading tags, Michael Kay | Thread | Re: [xsl] checking sequential eleme, Mandar Jagtap |
Re: [xsl] Re: ANN: A static code qu, Mukul Gandhi | Date | Re: [xsl] checking sequential eleme, Mandar Jagtap |
Month |