Hi Dave,
If there is an rdf section inside a head then that will be processed
with the rdf mode, otherwise, if the section is inside other xhtml
element it will be processed with the same mode.
No matter what you put in the context/@path that will not make break an
xhtml section, making xhtml the head of another section, that can be
realized with the trigger element.
Best Regards,
George
---------------------------------------------------------------------
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Dave Pawson wrote:
> 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
>
-- 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 16:41:18 2007
This archive was generated by hypermail 2.1.8 : Tue Feb 27 2007 - 21:23:03 UTC