Hi Florent.
2008/5/14 Florent Georges <lists@fgeorges.org>:
> > So the sections will be (using xpath notation)
> > /a:feed down to /a:entry/x:div
> > Since the atom schema *includes* the xhtml 'div' element
>
> If I understand you correctly, the Atom schema depends on the XHTML
> schema (by importing it).
No, it has div (in the xhtml namespace)
then an 'any content' schema within that?
I.e. it was developed without thinking of NVDL :-)
and it was left 'open' for anything
<define name="xhtmlDiv">
<element name="xhtml:div">
<!--
<zeroOrMore>
<choice>
<attribute>
<anyName/>
</attribute>
<text/>
<ref name="anyXHTML"/>
</choice>
</zeroOrMore>
-->
<empty/>
</element>
</define>
This is the old content (commented out)
and my changes added, so that I can use NVDL.
So you don't need to have a mechanism to
> dispatch validation between different schemas based on namespaces
> (because this relation is within the schema itself.) So you don't need
> NVDL, do you?
Yes (to improve atom).
I'd like to fully validate my content, so that the xhtml is valid
to the appropriate part of the xhtml schema.
regards
-- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk -- DSDL comments To unsubscribe, please send a message with the command "unsubscribe" to dsdl-comment-request@dsdl.org (mailto:dsdl-comment-request@dsdl.org?Subject=unsubscribe)Received on Wed May 14 12:09:33 2008
This archive was generated by hypermail 2.1.8 : Wed May 14 2008 - 12:03:04 UTC