This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

another simple problem...


Hi People !

I have the following piece of code :

<xsl:variable name="file">out</xsl:variable>
...
<xsl:template match="ADMIN">
  <xsl:variable name="file">
    /* what I want to do is : file <- "ADMIN", ie the xsl variable
"file" receives "ADMIN", the node matching
    element, as a new value instead of "out" but I do not want to write
"ADMIN" explicitely... the new value must be referred dynamically to the
upper node mentionned in the match instruction*/
  </xsl:variable>

How could I do that ?

Thanx for your Help!

BeNjamin.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]