This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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



Edward Kennedy wrote:
.../...
> 
>         <xsl:for-each select="$topschemafile/schema">
.../...
> 
> This not getting anything from the schema files.
> 
> Any other ideas?

No, just the same that I should have explained in more detail ;=) ...

Your schema element will belong to the schema namespace and this must be
expressed in your XPath: (assuming that the schema namespace has been
assign to the prefix "foo")

<xsl:for-each select="$topschemafile/foo:schema">

Eric
 
-- 
See you in Hong Kong for www10:
                     http://www.www10.org/program/w10-half-tut.shtml#ta5
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
http://xsltunit.org      http://4xt.org           http://examplotron.org
------------------------------------------------------------------------

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]