Re: [xsl] Getting attribute from rootnode...?

Subject: Re: [xsl] Getting attribute from rootnode...?
From: "Ragulf Pickaxe" <jawxml@xxxxxxxxxxx>
Date: Fri, 16 Nov 2001 08:44:57 +0000
Aahh! Thank you (and Mike Kay) for the replies and clarification of what a root is and what I really meant when I said "rootnode" (= root-element).
I will change the code at once :)


Ragulf :)

From: Jörg Heinicke <joerg.heinicke@xxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] Getting attribute from rootnode...?
Date: Thu, 15 Nov 2001 17:49:56 +0100

'//' is never the best solution - you said already why it is so.

'/@rootattr' won't work, because '/' has never attributes.

There is a difference between the root and the root-element. What you want
is '/*/@rootattr'.

Regards,

Joerg


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


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



Current Thread