[relaxng-user] Re: association of RELAX NG with a document
Steinar Bang
sb at dod.no
Fri Oct 24 20:25:45 ICT 2003
>>>>> David Tolpin <dvd at davidashen.net>:
> Well, you are right. I mentioned DOCTYPE but actually wanted
> something like a processing-instruction with something like a public
> identifier as the target.
>From the nXML Document/schema association proposal:
...
A typeIdProcessingInstruction rule allows a document to specify its
own typeId with a processing instruction. The target attribute
specifies the processing instruction target that should be
recognized as specifying a typeId in its value. For example, with
an additional rule
<typeIdProcessingInstruction target="my-doctype"/>
a document that started
<?my-doctype XHTML Transitional?>
<html xmlns="http://www.w3.org/1999/xhtml">
would be validated against xhtml-transitional.rnc.
The entire proposal is here:
http://groups.yahoo.com/group/emacs-nxml-mode/message/259
More information about the relaxng-user
mailing list