[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Getting name of and element

Subject: Getting name of and element
From: "Ragulf Pickaxe" <jawxml@xxxxxxxxxxx>
Date: Fri, 16 Nov 2001 10:53:41 +0000
how to getting name
Well, I now have a different problem, being that I don't get the expected attribute at all (see mails about getting attribute from root-node). Is there a way for me to get the _name_ of the root-element?

That is, I need the name of the node, not what it contains:
XML:
..
<TopmostNodeWithANameThatIDoNotKnow>Has not the attribute that I am trying to extract</TopmostNodeWithANameThatIDoNotKnow>
..


I want the name so that I can see where things goes wrong - I expect that we try to put the attribute into a differently named node (which does not give an error, unfortunately).

If I can just put the name into a variable, I can then print out the name of the value. Incidently, how do you get the names of the attributes that a given node has, if possible?

Hope you can help me
(With help, I mean "Yes, this can be done and you do this...", not "No way of doing what you want" ;-)


Sincerly
Ragulf Pickaxe :)


_________________________________________________________________ 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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.