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

Complex expression problem...

Subject: Complex expression problem...
From: Jonathan Asbell <jonathana@xxxxxxxxxxxxxx>
Date: Fri, 24 Mar 2000 17:12:36 -0500
expression problem
How do I say

__________________________________
for each customer where....
	the value of "name" begins with "a"
	and
	the value of "city" begins with "p"
	and
	the value of "zip" begins with "9"
output their field values
(that is for each one that matches the criteria, give me their records)
__________________________________
	

the xml is below.....


<customers>
	<customer>
		<customer_id>ALFKI</customer_id>
		<company_name>Alfreds Futterkiste</company_name>
		<contact_name>Maria Anders</contact_name>
		<contact_title>Sales Representative</contact_title>
		<address>Obere Str. 57</address>
		<city>Berlin</city>
		<region></region>
		<postal_code>12209</postal_code>
		<country>Germany</country>
		<phone>030-0074321</phone>
		<fax>030-0076545</fax>
	</customer>
	<customer>
		<customer_id>AROUT</customer_id>
		<company_name>Around the Horn</company_name>
		<contact_name>Thomas Hardy</contact_name>
		<contact_title>Sales Representative</contact_title>
		<address>120 Hanover Sq.</address>
		<city>London</city>
		<region></region>
		<postal_code>WA1 1DP</postal_code>
		<country>UK</country>
		<phone>(171) 555-7788</phone>
		<fax>(171) 555-6750</fax>
	</customer>
	
	etc.......

</customers>


 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.