p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   XSLT (http://p2p.wrox.com/forumdisplay.php?f=86)
-   -   get attribute value... (http://p2p.wrox.com/showthread.php?t=32273)

clayman58 August 8th, 2005 08:46 AM

get attribute value...
I want to find the specific attribute named 'indent'.

I need to go to the parent node and look at the parent node's many children and find the one that has the 'indent' attribute. I need to retrieve the indent attribute value.

I thank you for your help.

barcher August 9th, 2005 04:33 AM

<xsl:value-of select="parent::*/*[@indent]/@indent" />

All times are GMT -4. The time now is 04:47 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.