On Aug 10, 2007, at 2:26 AM, Kendall Shaw wrote:
> Have I understood correctly? If so, would it be a good idea if NVDL
> allowed you to specify the local name as well as the namespace? For
> example, with something like the made up "section-root" element below:
>
> <rules xmlns="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0"
> xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
> startMode="root"
> schemaType="application/x-rnc">
> <trigger ns="" nameList="table"/>
> <trigger ns="" nameList="dlist"/>
> <mode name="root">
> <namespace ns="http://doc">
> <validate schema="doc.rnc" useMode="triggered"/>
> </namespace>
> </mode>
> <mode name="triggered">
> <section-root ns="" name="dlist"> <
> <validate schema="dlist.rnc"/>
> </section-root>
> <section-root ns="" name="table">
> <validate schema="table.rnc"/>
> </section-root>
> </mode>
> </rules>
>
> Kendall
I overlooked the useWhen extension in jnvdl, which looks like it
would solve the problem with triggers that I was suggesting that a
"section-root" element could solve.
I wish that nvdl would include useWhen.
Kendall
-- 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 Sun Sep 9 02:16:08 2007
This archive was generated by hypermail 2.1.8 : Sun Sep 09 2007 - 06:03:03 UTC