RE: [xsl] Getting the value of the tag itself.

Subject: RE: [xsl] Getting the value of the tag itself.
From: Jarno.Elovirta@xxxxxxxxx
Date: Thu, 20 Mar 2003 17:30:13 +0200
Hi,

> I know haow to get all the relevent information from a node, but I am
> struggling to remeber how to get the nodes name itself.  IE 
> if I have a node
> called <table name="table1"> how do I print out it's name 
> table, and not the
> @name table1??

See the spec at <http://www.w3.org/TR/xpath#function-local-name> and <http://www.w3.org/TR/xpath#function-name>.

Cheers,

Jarno - This Morn'Omina: One Eyed Man

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


Current Thread