Hi Dave,
An NVDL script is basically a set of rules grouped in modes. There is
always an initial mode (implicit sometimes) that contains the initial
set of rules.
Each rule matches/defines sections in the document and it contains what
actions should be applied on those sections. The actions have as a
property the mode to be used further, that mode can be specified with
the useMode attribute or with the mode element inside the action. If no
mode is specified with any of the above then current mode is used further.
Note that NVDL adds triggers that can define different sections inside
the same namespace. For instance if we define table, tr and td from the
XHTML namespace as the list of trigger elements then if we have an XHTML
document then the tables and their structure defined with tr and td
elements will be in a different section.
Hope these help,
George
---------------------------------------------------------------------
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Dave Pawson wrote:
> Does a mode remain in operation until the subsequent section, i.e. change
> in namespace? The next mode being chosen from the validate/@nextMode
> property?
>
> What happens if there is no such property? Is the mode selected by ns?
>
>
> regards
-- 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 Fri Feb 23 12:30:41 2007
This archive was generated by hypermail 2.1.8 : Fri Feb 23 2007 - 11:43:01 UTC