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]

RE: parent()


->-----Original Message-----
->From: Norman Walsh [mailto:ndw@nwalsh.com]
->Subject: Re: parent()
->
->
->|       <xsl:attribute name="foo">123</xsl:attribute>
->
->This sets the foo attribute of the document element *in the 
->result tree*
->to 123.
->|       <xsl:value-of select="@foo"/>
->
->And this returns the value of the foo attribute on the 
->document element
->*in the source tree*.

Thanks,

I split my xslt file into 2 different xslts, one that creates the attributes
and the second that accesses them... Is this a good solution/is there a
better one?

bye
Frank
-
new technology: just another word for 'it doesn't work yet'
Frank Spychalski
frank@spychalski.de


 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]