[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] How to get XPath in a XSLT shylesheet
- From: Rick Marshall <rjm@zenucom.com>
- To: Andrew Welch <andrew.j.welch@gmail.com>
- 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@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]