[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] xsl not working when transforming a schema


Subject: RE: [xsl] xsl not working when transforming a schema
From: Jarno.Elovirta@xxxxxxxxx
Date: Tue, 9 Oct 2001 14:13:31 +0300

> Schema
> <?xml version="1.0" encoding="UTF-8"?>
>   <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
[...]
> XSL
> <?xml version='1.0'?>
> <xsl:stylesheet version="1.0"
>  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>  xmlns:xsd="http://www.w3.org/2000/10/XMLSchema">
[...]
> This xsl works fine on an ordinary xml file but not on the schema?
> Any ideas why this is happening ?

Because the schema namespaces on the source and the stylesheet are not the
same.

Jarno

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



Current Thread
Keywords