RE: [xsl] Problem generating combining SVG documents using XSLT

Subject: RE: [xsl] Problem generating combining SVG documents using XSLT
From: "Kane, David" <David_Kane@xxxxxxx>
Date: Mon, 5 Feb 2001 15:44:18 -0500
Folks,

In fact, Jirka's suggestion fixed my immediate problem.  However, my general
question remains.  Given this example, how does one omit attributes normally
specified as IMPLIED or FIXED in the DTD when generating a document based on
that DTD?

Sincerely,
David Kane

-----Original Message-----
From: Jiri Jirat [mailto:Jiri.Jirat@xxxxxxxxx]
Sent: Friday, February 02, 2001 3:57 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] Problem generating combining SVG documents using XSLT

Hi David,
 I think I have been facing the same problem some time ago.
I bet one Pilsner beer that you use Adobe plug-in.

Currently there are _four_ namespaces for SVG.
http://www.w3.org/2000/svg
http://www.w3.org/2000/svg-20000303-exchange
http://www.w3.org/2000/svg-20000303-stylable
and Mozilla's experimental (temporary?) namespace.

Relevant links are stored in our Namespace Reference:
http://www.zvon.org/index.php?nav_id=172

Try the following DTD's:
http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-shared.dtd
http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.dtd
http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-exchange.dtd

Best regards
Jirka

"Kane, David" wrote:
> 
> Folks,
> 
> I am trying to combine and transform a number of SVG documents using
Xalan.
> The problem is that as part of the output generation the processor is
> inserting attribute nodes specified as FIXED or IMPLIED in the document
DTD.
> The problem, in particular is that when the root svg node of the output
> document has an xmlns attribute (which is specified as FIXED in the DTD,
my
> SVG viewer balks at displaying the document.  If I edit the attribute out,
> after the face, the resulting document appears to work fine.
> 
> My question is, how can I prevent these additional nodes from appearing in
> my output document?  I've tried to strip my SVG documents, and the
> stylesheet to the essentail elements, and they are listed below:
> 
> Thanks!
> 
> Sincerely,
> David Kane
> david_kane@xxxxxxx

[Original Code Examples Snipped]

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


Current Thread