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

Re: unknown element selection (parent is known)

Subject: Re: unknown element selection (parent is known)
From: "John E. Simpson" <simpson@xxxxxxxxxxx>
Date: Mon, 23 Oct 2000 11:46:59 -0700
unknown simpson character
Rob van der Zeijden wrote:
> 
> How do I select a record without knowing the
> name of it. What I know is the name of the parent,
> 
> <PARENT>
>     <???>Donald Ball</???>
>     <???>23</???>
> </PARENT>

match="PARENT/*" or select="PARENT/*" (asterisk is wildcard character
meaning "an element of any name")

> Another thing i do not know is the number of elements. So I will
> proberly have to use for-each.

Or apply-templates, depending on the circumstances.

-- 
================================================================
John E. Simpson          | "When I'm not in my right mind, my 
http://www.flixml.org    | left mind gets pretty crowded." 
XML Q&A: www.xml.com     | (Steven Wright)


 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.