xsl-list
[Top] [All Lists]

Re: [xsl] Want to use XSLT to sort an XML Schema

2008-02-15 08:59:01
Glen Mazza wrote:

<xsl:template match="import">

  You are matching elements whose the name is 'import' in no namespace.
 If your XSDL schemas are correct, this won't match anything, since
elements in XSDL are in the XSDL namespace.  So bind this namespace,
for instance on the xsl:stylesheet element, for instance with the
following (check the URI):

    xmlns:xs="http://www.w3.org/2001/XMLSchema";

and change the above template declaration into:

    <xsl:template match="xs:import">

(as well as in the @select attributes).

  Regards,

--drkm

























      
_____________________________________________________________________________ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 
http://mail.yahoo.fr


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--