Ah! I'm beginning to see the light George.
2008/5/14 George Cristian Bina <george@oxygenxml.com>:
> As I said in my previous reply the first step the NVDL processing does is
> to split the document into sections, each section containing elements in the
> same namespace. Thus there is not possible to have the div element from the
> XHTML namespace in the same section with an element from the Atom namespace.
Understood.
> You can create a validation candidate to contain elements in multiple
> namespaces but the sections will contain only components in a single
> namespace.
(For later. I need to better understand the difference between
validation candidate and
section)
>
> Now, I believe that your problem is to validate the XHTML content against
> the XHTML schema because the Atom schema does not really validate the XHTML
> code, it just allows it.
Exactly.
In that case you can create a validation candidate
> with the whole document (containing also the XHTML parts that will be
> accepted by the Atom schema) and pass that to the Atom schema
Yes (Although this assumes I will use the atom schema with no changes).
and create
> also validation candidates with the XHTML code and pass that through the
> XHTML schema.
So the xhtml section will be validated twice.
1 ) Using the atom schema (not really validation)
2 ) Using the xhtml schema (with a start element of div).
Yes. Makes good sense.
I'll write it up for the tutorial once I've got my
head round it.
Thanks for your patience.
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:34:31 2008
This archive was generated by hypermail 2.1.8 : Wed May 14 2008 - 11:03:03 UTC