This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: unknown element selection (parent is known)
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