XSchema: Sections 5.0 and 5.1

Ron Bourret rbourret at dvs1.informatik.tu-darmstadt.de
Fri Sep 25 11:29:54 BST 1998


Rick Jelliffe wrote:

> But, of course, piggy-backing PIs onto elements using attributes
> is probably always a preferable option, if your PI structure can
> matches the start-tag locations.

Do you mean that instead of using:

<?XSchema SYSTEM="foo.xsc" ?>
<foo>
...
</foo>

we should use something like:

<foo XSchemaSystem="foo.xsc">
...
</foo>

A good idea, but I don't think it will work for us.  We accept an arbitrary 
number of XSchema PI's, so there is no way to name the attributes.

> 
> Even if you use attribute-like syntax, PI values are still just
> text strings, from the XML viewpoint.  Having a target (notation)
> to indicate the syntax of the PI is a great headstart in labelling.

I don't understand what you mean.  A PI has a target by definition, but I don't 
know how this indicates syntax.

-- Ron Bourret

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list