[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
From: rafal <rafalb@xxxxxxxxxxxxxxxx> Date: Thu, 30 Mar 2000 11:22:05 +0200 |
Hello to everybody ! I've a problem I can't manage. --- My XML --- <root> <text menu="//menul/books/programming" path="path"> ... </text> <menul> ... <books> <programming> ... </programming> </books> </menul> </root> --- My XSL --- <xsl:template match="/"> <xsl:for-each select="//text"> <xt:document method="html" href="{@path}index.html"> <xsl:call-template name="out"/> </xt:document> </xsl:for-each> </xsl:template> <xsl:template name="out"> <xsl:variable name="parametr" select="@menu"/> -> value of $parametr = "//menul/books/programming" <xsl:for-each select="$parametr"> ... the value of $parametr = "//menul/books/programming", but in loop <xsl:for-each select="$parametr"> it points NOT to a node //menul/books/programming (which I wish), but to attribute @menu of node <text>... In loop <xsl:for-each... I can't operate on a node //menul/books/programming... Have You any ideas how should I do these correctly? Thank you very much in advance! Rafaell mailto:rafalb@xxxxxxxxxxxxxxxx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Recursing on top-level elements, Jan Thunqvist | Thread | RE:, Kay Michael |
Re: Including CSS File References i, David Carlisle | Date | RE: XSL/XSLT components on Wintel, MarkH |
Month |