|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] How to retrieve the 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








