[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: XML Encoding of XPath: Examples
- From: Jonathan Borden <jborden@mediaone.net>
- To: Eric van der Vlist <vdv@dyomedea.com>, xml-dev@lists.xml.org
- Date: Fri, 16 Mar 2001 08:17:57 -0500
Eric van der Vlist wrote:
>
> I find it amazing that this syntax that is a straight reformulation of
> XPath shows similarities between TREX (rules expressed in a XML syntax)
> and Schematron (rules expressed in XPath syntax) that were hidden before
> by the different syntax...
>
I submit that this is a basic nature of modelling a hierarchical structure
as XML. XPath is defined as a set of EBNF productions, hence can be modelled
as an XSet expansion (similarly to the way an XML document can be 'expanded'
as a serialized PSVI). The XML structure you see is derived from the
underlying EBNF.
-Jonathan