This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Is it legal to extend the xml-stylesheet DTD ?
- To: xsl-list at mulberrytech dot com
- Subject: Re: Is it legal to extend the xml-stylesheet DTD ?
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Mon, 12 Jun 2000 13:35:32 +0100 (BST)
- References: <3944D699.2F7C@es.co.nz>
- Reply-To: xsl-list at mulberrytech dot com
Sigh why don't mailing lists have the nice cancel feature of newsgroups:-)
Ignore most of my previous message (except for the explanation of
"pseudo")
> How does it read if you speak DTD natively?
A DTD can make no statements at all about processing instructions
DTDs neither constrain what goes inside the tag, nor where the tag may
go.
As for whether your example conforms with the spec, I can't easily tell.
It matches the grammar, but it it has a psuedo attribute which is not in
the list of defined ones. It says the semantics come from HTML 4, and
that being defined by a DTD, only allows a fixed set of attributes
on the <link> element, so I would guess that your example is not legal.
David
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list