http://www.thaiopensource.com/relaxng/nrl.html#Transparent_namespaces
last schema in section 14.
I'm trying to see what that would look like in nvdl.
AFAIK useMode='#allow' is the same
as
<anyNamespace>
<allow/>
</anyNamespace>
Is that right please?
tia DaveP
<rules startMode="root"
xmlns="http://www.thaiopensource.com/validate/nrl">
<mode name="root">
<namespace ns="http://www.w3.org/1999/xhtml">
<validate schema="xhtml.rng"
useMode="new"/>
<validate schema="xhtml.rng"
useMode="old"/>
</namespace>
</mode>
<mode name="new"
extends="noEdit">
<namespace ns="http://www.example.org/edit">
<validate schema="edit.rnc"
schemaType="application/x-rnc"
useMode="#allow"/>
<unwrap useMode="noEdit">
<context path="deleted"
useMode="#allow"/>
</unwrap>
</namespace>
</mode>
<mode name="old"
extends="noEdit">
<namespace ns="http://www.example.org/edit">
<unwrap useMode="noEdit">
<context path="inserted"
useMode="#allow"/>
</unwrap>
</namespace>
</mode>
<mode name="noEdit">
<namespace ns="http://www.w3.org/1999/xhtml">
<attach/>
</namespace>
</mode>
</rules>
-- 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 Feb 28 12:52:20 2007
This archive was generated by hypermail 2.1.8 : Wed Feb 28 2007 - 12:13:02 UTC