[
Lists Home |
Date Index |
Thread Index
]
- From: James Clark <jjc@jclark.com>
- To: xml-dev@ic.ac.uk
- Date: Mon, 10 Mar 1997 21:23:02 +0700
At 17:56 10/03/97 +0900, ksaito@flab.fujitsu.co.jp wrote:
>James Clark <jjc@jclark.com> wrote...
>>>If my understanding is correct "type" in above example is not
>>>SGML attribute and SGML parser will not recognize it as attribute.
>>>Is this correct?
>>
>>Right. Just like "version" in the XML PI that starts every SGML document.
>
>Then, we need a PI parser in addtion to a SGML parser, don't we ?
Any use of PIs requires that the application interpret the contents of the
PI. If you make the syntax of the PI the same as XML start-tags, then you
may be able to use your XML parser to parse them. (It would handy if XML
parsers provided a function that parsed a string like the contents of a
start-tag.)
James
xml-dev: A list for W3C XML Developers
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To unsubscribe, send to majordomo@ic.ac.uk the following message;
unsubscribe xml-dev
List coordinator, Henry Rzepa (rzepa@ic.ac.uk)
|