Re: two columns

Giampaolo <[email protected]> Thu, 27 May 2004 10:09:53 +0200
Newsgroups gmane.editors.bitflux.general
Message-ID <[email protected]>
Thank you very much for your reply.

> If for example your <body> is the root in your xml document, then the rng
looks something like this:
>
> <include href="xhtml.rng">
>   <define name="body">
>     <element name="body">
>       <element name="col1">
>         <ref name="Block.model"/>
>       </element>
>       <element name="col2">
>         <ref name="Block.model"/>
>      </element>
>    </define>
> </include>
>
> The define in the include element will overwrite the defines made in xhtml.rng
(or included files)
>
> With the "Block.model" ref, you only can have Block elements as direct
children of col1 and col2. If you also want inline elements there (like b),
you'd have to had the Inline.model as well.
>
do you mean that i need to have something like

<element name="col1">
    <alternate>
       <ref name="Block.model" />
       <ref name="Inline.model" />
    </alternate>
</element> ?

giampaolo

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
-- 
bx-editor-users mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-users