W3C home > Mailing lists > Public > www-rdf-interest@w3.org > August 2000

XSet -> RDF Schema via XSLT, EBNF Groves, Bonsai and more...

From: Jonathan Borden <jborden@mediaone.net>
Date: Tue, 15 Aug 2000 15:46:27 -0400
Message-ID: <0aee01c006f1$8237e4c0$0a2e249b@Synapse>
To: "XML-Dev Mailing list" <xml-dev@xml.org>
Cc: "Dan Connolly" <connolly@w3.org>, <www-rdf-interest@w3.org>
I have placed a short working description of XSet: the XML EBNF property set


this contains links to goodies like an XSLT which transforms XSet into an
RDF Schema and the (still very buggy) beginnings of an XSLT which (will
hopefully :-)) transform XSet into an ISO Property Set.

On the topic of using XSLT to transform RDF<->Infoset, Dan Conolly has
posted links to a couple of nice XSLTs at:


Eric van der Vlist and I have been having an offline discussion about the
similarities between his technique of using a special SAX parser to "expand"
entity declarations into "Common XML" content. The advantage of this
approach is that XPath and XSLT can be used to process the resultant
abstract document (which in his example preserves the entity reference).

This is very similar to the approach of XSet which logically "expands" an
XML document into a full-fidelity grove. I have posted an example of an XSet
"expansion" of Eric's sample document:


and the XSet expansion:


Note: this is not a full "grove" because I have pruned constant string and
whitespace (S) nodes.

Eric has written an XT  output handler to "compress" a resultant transformed
tree back into its XML format. We have discussed that this handler as well
as his parser (which is derived from Aelfred2) could serve as the basis for
a full-fidelity XSet processor. A goal is to provide an XSet "bonsai" or
pruning, twisting and compression document which directs the processor as to
what level of detail to provide. For example: should it generate "element"
events alone, or add STag, ETag and EmptyElementTag events.

XMTP http://www.openhealth.org/documents/xmtp.htm is an XSet expansion of a
MIME document. In the same way that an XSet expansion of an XML document can
be produced by a modified SAX parser, an XMTP expansion of a MIME message
can be produced by a MIME parser which emits SAX events.

This technique provides a general mechanism for XPath/XPointer addressing
of, and XSLT transformation of arbitrary syntaxes expressable in EBNF. This
is the essence of the grove paradigm.

Jonathan Borden
The Open Healthcare Group
Received on Tuesday, 15 August 2000 15:56:15 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:44:24 UTC