Hi Folks,
Can you tell me whether or not these two versions are equivalent?
VERSION #1
This has a mode for "B" nested within the "A" mode:
<?xml version="1.0"?>
<rules startMode="A"
xmlns="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0">
<mode name="A">
<namespace ns="http://www.A.org">
<validate schema="A.xsd" >
<mode>
<namespace ns="http://www.B.org">
<validate schema="B.rng"/>
</namespace>
</mode>
</validate>
</namespace>
</mode>
</rules>
VERSION #2
This has two separate modes; the "A" mode uses mode "B":
<?xml version="1.0"?>
<rules startMode="A"
xmlns="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0">
<mode name="A">
<namespace ns="http://www.A.org">
<validate schema="A.xsd"
useMode="B" />
</namespace>
</mode>
<mode name="B">
<namespace ns="http://www.B.org">
<validate schema="B.rng"/>
</namespace>
</mode>
</rules>
/Roger
-- 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 Tue May 13 18:54:48 2008
This archive was generated by hypermail 2.1.8 : Tue May 13 2008 - 18:23:04 UTC