Altova Mailing List Archives>Archive Index >xml-dev Archive Home >Recent entries >Thread Prev - How to get XPath in a XSLT shylesheet [Thread Next] Re: [xml-dev] How to get XPath in a XSLT shylesheetTo: Andrew Welch <andrew.j.welch@-----.---> Date: 1/8/2007 10:53:00 AM 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 > | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
