[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] Getting the value of the tag itself.
Subject: Re: [xsl] Getting the value of the tag itself. From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx> Date: Thu, 20 Mar 2003 15:30:50 +0000 |
Hi Simon, > 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?? Use the name() or (better) local-name() function: <xsl:value-of select="local-name(.)" /> Cheers, Jeni --- Jeni Tennison http://www.jenitennison.com/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Getting the value of the , Ritu | Thread | RE: [xsl] Getting the value of the , Américo Albuquerque |
AW: [xsl] Getting the value of the , Delaney Robin | Date | RE: [xsl] include css in xsl - foll, Robert Koberg |
Month |