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

how do u parse

Subject: how do u parse
From: "syed kabeer" <abdulkabeer@xxxxxxxxxxx>
Date: Fri, 09 Jun 2000 21:44:38 IST
parse city name
Hello List
i have a XML FILE which i have attached below and my query is
how do i get the info under a particular record ( i have the record id ) ( there is no xsl file for this particular xml file).


ex suppose if i have the record id =2
how do i get name country and city values along with the tag names.. and display it in the form of an alert in the html file.
any help would be appreciated


thanks in advance

<ROOTINFO>
<GENERALINFO ID="NEW">
COLUMN ID="NAME" WIDTH="100" VISIBLE="YES" TYPE="TEXT">Name</COLUMN>
<COLUMN ID="COUNTRY" WIDTH="100" VISIBLE="YES"  TYPE="TEXT">COUNTRY</COLUMN>

COLUMN ID="CITY" WIDTH="200" VISIBLE="YES" TYPE="DATE">CITY</COLUMN>
<COLUMN ID="ID" WIDTH="100" VISIBLE="YES" TYPE="HIDDEN" PATH="@ID"></COLUMN>

</GENERALINFO>

<PERSONALINFO>

			<RECORD ID="001">
				<NAME>PAT</NAME>
				<COUNTRY>USA</COUNTRY>
				<CITY>AUSTIN </CITY>

</RECORD>

		      <RECORD ID="002">
				<NAME>DAVID</NAME>
				<COUNTRY>USA</COUNTRY>
			 	<CITY>HOUSTON </CITY>
                    </RECORD>

		     <RECORD ID="003">
				<NAME>ABDUL</NAME>
				<COUNTRY>INDIA</COUNTRY>
				<CITY>DALLAS</CITY>

		         </RECORD>
       </PERSONALINFO>

</ROOTINFO>

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com


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.