XCond: towards an XML version of conditional inclusion

John Cowan cowan at locke.ccil.org
Tue Jun 2 20:20:42 BST 1998

Michael Kay wrote:

> A useful facility, but the proposal seems unnecessarily
> complex to me. I don't see the need to have the dependency
> on external language processors and expression syntax.

Rather than depending on external processors, I simply
allow for them.

> A special attribute XCond:include="Yes"|"No", whose Yes/No
> value can be picked up from an entity, would seem to do the
> job just as well. If you want to generate the Yes/No value
> using some external evaluators, I would have thought PIs
> were the right mechanism to do that.

So having certain PIs would have magic effects on certain
entities?  Sounds very wifty to me, not much in the spirit
of XML self-documenting documents.

> Also I don't see the need to specify it in terms of groves
> rather than XML documents, it might be more elegant, but it
> means you need to refer to another specification other than
> the XML standard.

I just did that for clarity, so that I don't have to talk about
attributes that may or may not be physically present in the

John Cowan	http://www.ccil.org/~cowan		cowan at ccil.org
	You tollerday donsk?  N.  You tolkatiff scowegian?  Nn.
	You spigotty anglease?  Nnn.  You phonio saxo?  Nnnn.
		Clear all so!  'Tis a Jute.... (Finnegans Wake 16.5)

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