Re: Access to Schema API information
Florent Georges <[email protected]> Tue, 22 May 2012 11:06:27 +0200
| Newsgroups | gmane.text.xml.schema.devel |
|---|---|
| Message-ID | <CADyR_r2YbSxd0_HhU1mYot3xdYErrueRrBbmFFRSRHrgC2yRLA@mail.gmail.com> |
On 22 May 2012 10:23, Michael Kay wrote: Hi, > For example, there's no direct way to determine the members of a > substitution group other that searching all element declarations to > see if they belong. Saxon has this information internally, but the > SCM properties don't expose it [...] > I could extend the model to expose additional properties of objects, > but that's starting to depart from being a completely > standards-based interface. In that case, it seems reasonable to me to introduce a function in the API to get the members of a substitution group. Saxon can implement it by using more internal infos it maintains, whilst others might have to implement it more naively. Regards, -- Florent Georges http://fgeorges.org/ http://h2oconsulting.be/