Re: Issue with SVG file

"Christopher R. Maden" <[email protected]>
Newsgroups gmane.comp.gnome.lib.xslt
Message-ID <[email protected]>
On 08/22/2011 12:32 PM, Adrian McMenamin wrote:
> I can live without DTD validation but why is the namespace
> declaration breaking everything? Every test I run suggests the SVG
> and the XSL file are valid XML.

This is a FAQ.  The name of the element is a complex object with a
namespace and a local name.

With <svg width="1000px" height="800px" version="1.1"
xmlns="http://www.w3.org/2000/svg">, the element’s name is
{http://www.w3.org/2000/svg}svg.  With <svg width="1000px"
height="800px" version="1.1">, the element’s name is {}svg.  These are
NOT THE SAME, and XSLT that works to transform one will not transform
the other.  You may as well ask why changing <svg> to <gvs> does not work.

~Chris
-- 
Chris Maden, text nerd  <URL: http://crism.maden.org/ >
Those who learn from history are doomed to become cynics.
_______________________________________________
xslt mailing list, project page http://xmlsoft.org/XSLT/
[email protected]
http://mail.gnome.org/mailman/listinfo/xslt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.