This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Can XPath / XSLT be aware of XML Schema content models grouping i nformation ?
- To: Jerome Louvel <Jerome dot Louvel at Metaserver dot com>
- Subject: Re: [xsl] Can XPath / XSLT be aware of XML Schema content models grouping i nformation ?
- From: Jeni Tennison <jeni at jenitennison dot com>
- Date: Fri, 9 Nov 2001 10:33:55 +0000
- CC: "Xsl-List (E-mail)" <xsl-list at lists dot mulberrytech dot com>
- Organization: Jeni Tennison Consulting Ltd
- References: <D4DC61068C33D51186A700306E061976673C25@bianca.metaserver.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hi Jerome,
> Is there any way (or plan in XPath 2.0 / XSLT 2.0) to "address" /
> "select", for example, the occurences of element A that are part of
> the 3rd occurence of the second group which itself is part of the
> 2nd occurence of the containing sequence (if this occurences exists)
> ?
There's certainly not in XSLT 1.0. For XPath/XSLT 2.0 to support it,
the XQuery/XPath data model would have to include model groups. The
only schema components that it does so far (see the WD at
http://www.w3.org/TR/query-datamodel/#types) seems to be
element/attribute declarations and simple/complex types. So it doesn't
look as though there's a plan to have this support at present.
But you should bring it up to the XQuery/XPath editors
(www-xml-query-comments@w3.org). The schema support in XPath/XSLT
should reflect real world requirements, and if you've got one, then
you should make your case!
Cheers,
Jeni
---
Jeni Tennison
http://www.jenitennison.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list