Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XSLT - How to print the name of the current tag

Status
Not open for further replies.

vladibo

Programmer
Joined
Sep 14, 2003
Messages
161
Location
CA
XSLT - How to print the name of the current tag?

I have

<xsl:for-each select="*">
<th>
???
</th>
</xsl:for-each>

and I want to print the name of the tag. So if I have
<A></A>
<B></B>
<C></C>

To have as output
<th>
A
</th>
<th>
B
</th>
<th>
C
</th>

Thank you
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Sponsor

Back
Top