RE: [xsl] Losing schemalocation

Subject: RE: [xsl] Losing schemalocation
From: <Jarno.Elovirta@xxxxxxxxx>
Date: Wed, 16 Feb 2005 08:27:15 +0200
Hi,

> I have the following decleration:
>
> <xsl:stylesheet version="1.0"
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
> xmlns:sd="http://www.mygov.gov/schemas/ns/sdetail/2001/1.0";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:schemaLocation="http://www.mygov.az.gov/schemas/ns/sdetail
> /2001/1.0
> http://www.mygov.gov/schemas/sdetail/SDTransactions.xsd";
> xmlns:date="http://exslt.org/dates-and-times";
> exclude-result-prefixes="date">
>
> Upon transformation, I am losing the following:
>
> xmlns:xsl=...
> xsl:schemaLocation=...
>
> What is missing in my identity transformation?

Depends on what your identity transformation looks like. Does the template
that matches xsl:stylesheet copy all of its attributes?

Cheers,

Jarno - Nick Sentience: March 2003 Mix

Current Thread