Re: [xsl] xsl] XSL and XMLSchema with "xsd:"

Subject: Re: [xsl] xsl] XSL and XMLSchema with "xsd:"
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 27 Apr 2001 19:22:30 +0100

<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


Current Thread