[opencms-dev] content within content?

Pomegranate Software- Arash Kaffamanesh arash.kaffamanesh at pomegranate.de
Wed Dec 3 08:51:24 CET 2008


Hi James,

that's done with nested elements and the include tag, e.g:

<xsd:include 
schemaLocation="opencms://system/modules/de.pomegranate.xmlcontent/xsds/nested/HOTSPOT_IMAGE.xsd"/>    


have a look in xmlcontent documentation and the templatetwo examples.

Best,
Arash

Technology Operations schrieb:
> hello all,
>
> can i include a structured content xsd in another ... xsd? so, i want 
> to define a content type article and then be able to put an image on 
> it... only that the image itself is a structured content type... 
> because the image has attributes like "PG", "R", "X"... how is that done?
>
> Thanks!
>
> Best,
> James
> ------------------------------------------------------------------------
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev







More information about the opencms-dev mailing list