This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: xsl] XSL and XMLSchema with "xsd:"
<xsl:for-each select="$topschemafile/schema">
that would find all elements with local name schema and no namespace
that are in the file, but you want to find all the elements called
schema in the schema namespace so you want
<xsl:for-each select="$topschemafile/x:schema">
where x: is the prefix bound to the schema namespace in your stylesheet.
(which may or may not be the same prefix as used in the schema)
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.star.net.uk/stats.asp
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list