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

xslt and xpath troubles

Subject: xslt and xpath troubles
From: "Maia Zaharieva" <m.zaharieva@xxxxxxx>
Date: Wed, 18 Jun 2003 13:37:16 +0200
 xslt and xpath troubles
hi all,

in my xml document its possible to reference the content of particular
element elsewhere in the xml document.
for example:

<element1 id="id1">something....</element1>
......
<elementX><get xlink:href="//*[id='id1']"/></elementX>

is it possible in the xslt to resolve this xpath expression and to include
the referenced element?

i tried the following, but all i get is the "//*[id='id1']" (as a string)

<xsl:template match="get">
  <xsl:value-of select="@xlink:href"/>
</xsl:template>

any help is appreciated!
greetinx,
maia


 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.