Is it legal to extend the xml-stylesheet DTD ?

Subject: Is it legal to extend the xml-stylesheet DTD ?
From: Dan Morrison <dman@xxxxxxxx>
Date: Tue, 13 Jun 2000 00:24:57 +1200
This may seem like going back to basics, but I've discovered I've missed
something very elemental in the scheme of things...

After studying section 18 and the references from the spec, (and then
discovering this 'feature' had a spec all to itself) I still can't make
out... is a syntax like this totally illegal or what?

	title="Developers Job Summary (Slate)" 

Here I've created the attribute "suffix" which is not in the spec, and
used it for purposes of my own. 

<reference> </reference>

I'm used to unrecognised parameters being ignored by the interpreters,
and, coming from HTML, haven't been too concerned.

Reading the spec I can't see anywhere where the DTD specifically
excludes unnamed parameters. This is mainly because I'm not that clear
on DTD syntax. If it doesn't say, do I assume it's banned? This may be a
silly question, similar to one I heard 2 months ago (this list of things
that are NOT allowed is infinite) but... does it actually make it

It says the tag can contain pseudo attributes (why pseudo?)
and then says
"The following pseudo attributes are defined".
In English, this reads as an inclusive grouping, not an exclusive one.
How does it read if you speak DTD natively?

It arises because I've finally got back to testing on Cocoon at it barfs
on that directive.
IE (updated of course) doesn't. This is indicative of nothing, I know.

I guess I can fudge it later in the document with a look-up table:

<SAVE-AS title="Developers Job Summary (Slate)" suffix=".html" />
<SAVE-AS title="Developers Job Summary (Print)" suffix=".txt" />

But I think that sucks.

So, word from the wise? Am I breaking something to add my own info tags?


PS: Is there actually a definitive reference for the "media" types, or
is everyone still making it up as they go along?

: Dan Morrison        : The Web Limited    :
: :  :
:  dman@xxxxxxxx      :  danm@xxxxxxxxx    :
:  04 384 1472        :  04 495 8250       :
:  025 207 1140       :                    :
: If ignorance is bliss, why aren't more people happy?

 XSL-List info and archive:

Current Thread