[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Want to use XSLT to sort an XML Schema

Subject: Re: Want to use XSLT to sort an XML Schema
From: Florent Georges <lists@xxxxxxxxxxxx>
Date: Fri, 15 Feb 2008 16:58:38 +0100 (CET)
Re:  Want to use XSLT to sort an XML Schema
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.