[dsdl-comment] Re: Are these two NVDL documents equivalent? (one usesa mode, the other doesn't use a mode)

From: George Cristian Bina <george@oxygenxml.com>
Date: Mon May 12 2008 - 14:34:44 UTC

Hi Dave,

Dave Pawson wrote:
> <snip/>
>
> Which does make it easier for me to understand. Thanks George.
>
> It does make me wonder what purpose the startMode attribute serves?
> If it is *not* the 'first' (in document order), then why is it there?

Modes in NVDL are similar with modes in XSLT. They provides a different
set of rules that apply when a mode is selected. In the above sample the
mode has no relevance, thus the equivalence between the two examples
Roger posted. If you have multiple modes then one needs to be selected
as the initial mode (the first section will be processed against) and
the startMode makes that selection.

Best Regards,
George

--
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
--
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 Mon May 12 16:34:48 2008

This archive was generated by hypermail 2.1.8 : Mon May 12 2008 - 14:43:02 UTC