[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: "Kyle Partridge" <kpartridge@xxxxxxxxxxxx>
Date: Thu, 18 Mar 2004 13:21:29 -0500
kyle partridge
I would recommend running through a few of the tutorials at the
W3Schools website... http://www.w3schools.com/default.asp.  It will only
take about 1/2 an hour to get through both the one on XSLT and the one
on XPath, and after that you should have a pretty good idea of how to
approach your problem.

There are several excellent books on the subject as well, however, if
you want to get going quickly, I would recommend starting with the
tutorials and seeing if that doesn't get you started.

Best,
KP


-----Original Message-----
From: Julian Voelcker [mailto:asp@xxxxxxx] 
Sent: Thursday, March 18, 2004 11:19 AM
To: undisclosed-recipients
Subject:  Newbie - trying to extract specific values from XML file.

I am trying to do a xslt transformation that extracts specific values 
from an XML file.

The XML file is formatted as follows:-

<AnswerSet title = "Test File">
  <Answer name = "ABGRbefore">
    <RptValue>
      <TFValue>true</TFValue>
      <TFValue>false</TFValue>
      <TFValue>false</TFValue>
    </RptValue>
  </Answer>
  <Answer name = "Female">
    <TFValue>false</TFValue>
  </Answer>
  <Answer name = "ticdesc">
    <TextValue>my collection of teapots</TextValue>
  </Answer>
</AnswerSet>

The sort of things I want to be able to do is:

1. Establish if the TFValue for Answer name Female is true or false and 
then vary the info that is displayed.

2. Display the TextValue for the Answer name ticdesc.

Anybody here willing to either knock up some XSL that will enable me to 
do this or point me in the right direction?

Thanks in advance.
--
Cheers,

Julian Voelcker
Cirencester, United Kingdom



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 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.