W3C home > Mailing lists > Public > www-svg@w3.org > December 2000

RE: SVG, XSLT and Namespaces

From: Kane, David <David_Kane@sra.com>
Date: Mon, 4 Dec 2000 13:56:00 -0500
Message-ID: <99E837AD9DB8D311A97A00508B6F2ACC014DB521@flex1.sra.com>
To: www-svg@w3.org
Cc: "'David Carlisle '" <IMCEAMAILTO-davidc+40nag+2Eco+2Euk@sra.com>, "'Curt Arnold'" <curta@hyprotech.com>

That solution worked in Saxon, but not Xalan, and unfortunately, it appears
as if either behavior could be correct.  

David Carlisle pointed out when I posted this issue to an XSLT list:
>Note that the input document [the SVG doc] relies on the XML parser reading
>DTD and adding the xmlns attribute. The namespace REC explictly warns
>against doing this as a non validating parser (as used by most XSL
>systems) is not required to read the DTD. That is, even if the DTD
>does default this attribute you are recommended to explictly specify it
>in the document instance as well.

David Kane

-----Original Message-----
From: Curt Arnold [mailto:curta@hyprotech.com]
Sent: Wednesday, November 29, 2000 12:27 PM
To: Kane, David
Cc: www-svg@w3.org
Subject: Re: SVG, XSLT and Namespaces

The DTD you reference defines a fixed xmlns attribute for the svg element of
http://www.w3.org/2000/svg-20000303-stylable (which has been updated in
later drafts).  The effect should be equivalent of an explicit default
namespace declaration on the <svg> element, such as:


That you should do is:

     <xsl:template match="svg:path">
Received on Monday, 4 December 2000 14:00:39 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:46:49 UTC