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

Re: Newbie cannot find syntax error in attribute selec

Subject: Re: Newbie cannot find syntax error in attribute select
From: thehulk@xxxxxxxxxxx
Date: Sat, 19 Feb 2011 19:25:04 +0000 (UTC)
Re:  Newbie cannot find syntax error in attribute selec
>>> But why all this turgid code? the whole thing can be written as

>>> <xsl:template match="Account_or_Subaccount">
>>>   <Contract Sub_ID="{Subscriber_Info/@Sub_Id}"
>>>             Org_ID="{Characteristic[@Display_Lable='Organization ID']}" />
>>> </xsl:template>

>>> [is "Lable" spelt correctly??]

Thanks for that improvement! The reason it was done with extreme turgidity is historical: that was the first formulation that (almost) worked. Now I, newbie, can look up the curly-braces. 

And yes, LABLE (and its sibling DISPLAY_LABLE) are spelt that way in the input file. 

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.