XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] How to get XPath in a XSLT shylesheet

yes but as pointed out to me (and this is just a simple extension of 
using name() ) it does not include the - hmmm.... arity? .... of the node

/a/b[2]/c[3]

so i think this is an even better question now because clearly XPath 
knows otherwise it couldn't answer the question, but can it make the 
statement?

Rick

Andrew Welch wrote:
> On 1/8/07, Long JingJun <longjingjun@yahoo.com.cn> wrote:
>> Hi there,
>>
>> Is there a way to get the full XPath of current node as a String in 
>> an XSLT stylesheet?
>
> Yes - it's a common question:
>
> http://www.dpawson.co.uk/xsl/sect2/N6077.html#d7984e96
>
> cheers
> andrew
>
> _______________________________________________________________________
>
> XML-DEV is a publicly archived, unmoderated list hosted by OASIS
> to support XML implementation and development. To minimize
> spam in the archives, you must subscribe before posting.
>
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
> subscribe: xml-dev-subscribe@lists.xml.org
> List archive: http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
>


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS