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

Re: tag names

Subject: Re: tag names
From: "Alankar Chowdhury" <alankar@xxxxxxxxxxxxxxxxx>
Date: Wed, 05 Apr 2000 15:02:01 +0800
alankar chowdhury
Thanks mike

I am not using MSXML parser.  I am using xalan 1.0 and I guess it is
compatible to all xpath spec.

thanks alot

Mike Brown wrote:

> > When we do the transform can we read the name of the tag also ?
>
> name of current node, with namespace prefix, if any:
> <xsl:value-of select="name(.)"/>
>
> name of current node, without prefix:
> <xsl:value-of select="local-name(.)"/>
>
> These will probably work without the '.'. You could put some other
> node-set identifying XPath expression in there if you wanted some other
> node's name.
>
> These will probably not work in IE5 with the stock MSXML parser, if that's
> what you are using and failed to mention.
>
>    - Mike
> ___________________________________________________________
> Mike J. Brown, software engineer, Webb Interactive Services
> XML/XSL stuff: http://www.skew.org/    http://www.webb.net/
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 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.