[dsdl-comment] Re: trigger for next section, before, at or....

From: Dave Pawson <dave.pawson@gmail.com>
Date: Tue Feb 27 2007 - 14:30:43 UTC

On 27/02/07, George Cristian Bina <george@oxygenxml.com> wrote:
> Hi Dave,
>
> First take care with the usage of the trigger term as trigger is a also
> a one of the features of NVDL.

I'm getting there, slowly!
>
> The context element does not participate in the creation of sections, it
> just allows more control in specifying what mode should be used for
> processing a section depending on the context that section appears in
> the parent section.

I'm with that .

> Your schema fragment below says that if you have a rdf section inside an
> xhtml section then the mode that will be used to process that section is
> computed as follows:
>
> *if* the last element from the xhtml section is head (that is the
> context matches) then it will be used the rdf mode
> *else* the current mode will be used

Which implies that the context/@path element is the last element
in the 'parent' section (i.e. not the first in the new section?)

<xhtml>
<head>
..
</head>
<body>
...
</body>
</xhtml>
I.e. only the contents of head (not the element itself) will be dispatched
to the rdf rule.
Is that right?

>
> Note that the current mode will have the anyNamespace default rule that
> will reject rdf, so rdf inside other elements than head will be rejected.

Yes, I'm getting used to the default rules.

regards

-- 
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 Tue Feb 27 15:30:45 2007

This archive was generated by hypermail 2.1.8 : Tue Feb 27 2007 - 15:43:02 UTC