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

Re: select attribute of xsl:variable

Subject: Re: select attribute of xsl:variable
From: pankaj.c@xxxxxxxxxxxxxxxxxx
Date: Wed, 1 Sep 2010 18:23:45 +0530
Re:  select attribute of xsl:variable
you match pattern started with display so if there is no display element 
in the document the template will not be used.

I understand that David.


match="display/textbox/textbox-head/title"
already means that I am already inside the <title> of the <textbox> whose 
parent is <display> or in other words matching *ONLY* those <textbox>'s 
<title>s who are in <display> element.

All I meant was what is the use of display in select attribute in variable 
when I am already there???

And <xsl:variable name="role_title" 
select="parent::textbox-head/parent::textbox/@role"/> will work.

Do I make sense?????? Let me know if I am not clear.

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.