|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: processor never reaches one line in my template. W
Tempore 12:33:38, die 03/05/2005 AD, hinc in
xsl-list@xxxxxxxxxxxxxxxxxxxxxx scripsit Katharina Kreis
<katharinakreis@xxxxxx>:
I create a variable named "partOfStockwerk" and after this I have a <xsl:if> tag. This tag is never reached. Why? I debugged the whole stylesheet and the debugger always exits the template after the declaration of this variable. I have no idea why. Hope anybody can help me..... hi, It would be very strange if any instructions were processed at all, because your XSLT isn't valid. It would not be very surpring that an XSLT processor, that fails to choke on this XSL, would cause other problems, like your 'never reached' issue. You can't use variables in match patterns, they belong in the 'apply-templates' element So instead of writing: <xsl:template name="Root" match="/"> <xsl:apply-templates select="Bauvorhaben"/> </xsl:template>
<xsl:template name="Bauvorhaben" match="Bauvorhaben"> </xsl:template> Try modifying this troughtout your stylesheets and if the problem persists, post again with the valid XSL code. regards, -- Joris Gillis (http://www.ticalc.org/cgi-bin/acct-view.cgi?userid=38041) "N N1N;N.N8N5N9N1 N:N1N9 ON? N;N,N4N9 ON,N=ON1 N2N3N1N/N=N?ON= N1OO ON,N=O "
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








