xsl-list
[Top] [All Lists]

Re: [xsl] Outputting a complete schema definition??

2006-07-13 05:33:54
 Hi Chris,

the namespace associated with schema elements in your stylesheet is wrong;
you should replace
xmlns:x="http://www.ipdr.org/namespaces/IPDR";
with
xmlns:x="http://www.w3.org/2001/XMLSchema";

Regards,

Eric Bréchemier

On 7/12/06, Christopher Foley wrote:
Hi,
 (...)
  E.g. XSD input file (sample)
  <schema>
  <schema xmlns = "http://www.w3.org/2001/XMLSchema";
(...)
  My XSL
  ======
  <?xml version="1.0" encoding="ISO-8859-1" ?>
<!--  Edited with XML Spy v2006 (http://www.altova.com) -->
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
xmlns:x="http://www.ipdr.org/namespaces/IPDR";>
(...)
 <xsl:template match="x:schema">

--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>