Re: association of RELAX NG with a document

Steinar Bang <[email protected]>
Newsgroups gmane.text.xml.relaxng.general
Organization Probably a good idea
Message-ID <[email protected]>
>>>>> David Tolpin <[email protected]>:

> 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
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.