[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Hi:
My XML looks like this:
<table>The complete table </table>
</ele1>
In XSLT, to check if the next sibling is a table , under template match for graphic I used this code;
But somehow, it is notcoming to the template test at all. Is there anything wrong with this code?
_________________________________________________________________
Get today's hot entertainment gossip http://movies.msn.com/movies/hotgossip?icid=T002MSN03A07001
[xsl] following-sibling is not working
Subject: [xsl] following-sibling is not working From: "rfd ewrew" <xmlquestions101@xxxxxxxxxxx> Date: Tue, 17 Oct 2006 15:41:02 -0500 |
Hi:
My XML looks like this:
<ele1> <graphic>URL for graphic</graphic>
<table>The complete table </table>
</ele1>
In XSLT, to check if the next sibling is a table , under template match for graphic I used this code;
<xsl:template match="graphic"> <xsl:if test="following-sibling::table"> <xsl:call-template name="test"/> </xsl:if> </xsl:template>
<xsl:template name="test"> <fo:block>Test</fo:block> </xsl:template>
But somehow, it is notcoming to the template test at all. Is there anything wrong with this code?
_________________________________________________________________
Get today's hot entertainment gossip http://movies.msn.com/movies/hotgossip?icid=T002MSN03A07001
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: RE: [xsl] How to apply template, Danny Leblanc | Thread | RE: [xsl] following-sibling is not , Michael Kay |
RE: RE: [xsl] How to apply template, Danny Leblanc | Date | RE: [xsl] following-sibling is not , Michael Kay |
Month |