← Prev in month ← Prev in thread
Next in thread → Next in month →

XML/EBNF and attribute types. was Re: [xml-dev] XSLT and XQuery

From
Jonathan Borden <>
To
, , 'Mike Champion' <>
Date
2002-01-08T18:08:36Z
ID
<010401c1986f$7ed16b10$>
Thread
XML/EBNF and attribute types. was Re: [xml-dev] XSLT and XQuery
>
> (Incidentally the common XML source represents the grammatical productions
> in such a way that a JavaCC parser can be automatically generated using an
> XSLT stylesheet, and this JavaCC parser has been used to test the examples
> in both documents).
>
> Mike Kay
>

Curious, does the common XML source look something like XSet's production
rule language [1]. Looking at the RELAXNGCC parser generator respiked my
interest in using XSLT to generate things like JavaCC grammars.

Indeed to the extent that an XML 'complex type' is essentially a regular XML
expressions, and that simple types are essentially regular string
expressions, I've thought it would be interesting to further develop the
XML/EBNF stuff so that it might be suitable for expressing attribute 'types'
and subtypes of element PCDATA, etc.

Jonathan

[1] http://www.openhealth.org/XSet/ ?
← Prev in month ← Prev in thread
Next in thread → Next in month →