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

How to retrieve the current element NAME?

Subject: How to retrieve the current element NAME?
From: "Victor Zamouline" <desafinado@xxxxxxxx>
Date: Sat, 26 Sep 1998 03:02:46 +0200
xsl current element name
I may be missing something, but here comes quite a basic question:

I am willing to construct the following rule:

<xsl:template match="*">
    just copy the element name as a tag into the target document
</xsl:template>

which means, "after all match fails, assume as if had NOT been an element
node BUT a tag to appear as is in the HTML target document".

For example, if the source contains:

<BLA>bla-bla-bla</BLA>

and there is no match for <BLA>, then the target should also contain:

<BLA>bla-bla-bla</BLA>

but not:

bla-bla-bla

as it does by default.

I think, I could do it if I knew how to retrieve the current element name
(hence the subject of the message!).

I REALLY hope that my explanation is clear and that there is someone to
point out what I am missing out. :)))))

Thank you,

Victor Zamouline
desafinado@xxxxxxxx


 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.