[Home] [By Thread] [By Date] [Recent Entries]

  • From: Rick Marshall <rjm@z...>
  • To: Andrew Welch <andrew.j.welch@g...>
  • Date: Mon, 08 Jan 2007 21:52:19 +1100

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@y...> 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@l...
> subscribe: xml-dev-subscribe@l...
> 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]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member