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

Re: Newbie - trying to extract specific values from XM

Subject: Re: Newbie - trying to extract specific values from XML file.
From: Julian Voelcker <asp@xxxxxxx>
Date: Fri, 19 Mar 2004 17:30:04 GMT
Re:  Newbie - trying to extract specific values from XM
Hi Jeni,

> The key is a very efficient way to get at the <Answer> elements based
> on their name. Given that you already have the HTML template written
> in a 'pull' way, I think that this approach is going to be easier to
> use than a more 'push' method of applying templates to all the
> <Answer> elements and just having templates to match them.

Many thanks for that.  It looks like a lot more elegant solution.

Ok, one final question for today.

I want to be able to create a variable (generally boolean), give it a 
value at one point in the template and then further down in the 
template check the value of the variable and modify the output.

I see that there is an xsl:variable element, but haven't found any 
examples of it's use.

Some pointers would be appreciated.

Thanks again.
-- 
Cheers,

Julian Voelcker
United Kingdom



 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.