[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: parent()
->-----Original Message----- ->From: Norman Walsh [mailto:ndw@xxxxxxxxxx] ->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@xxxxxxxxxxxxx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|