<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello, I finally made the recursive nested
xmlcontent. I modified the xsd file (now are 2 xsd files) so now opencms
has not marshalling/unmarshalling problems when saving the modified control code
of the contentxml file. But I still have a problem: When I click "edit" on the
xmlcontent file, the opencms editor opens normally but I can only create one
level, neither the recursive nested element nor the "new" button (to create
the the recursive nested element) are shown.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Can anybody help me?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thank you very much.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Here are the 2 new xsd files:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>-----------------</FONT></DIV>
<DIV><FONT face=Arial size=2>- Menu.xsd:</FONT></DIV>
<DIV><FONT face=Arial size=2>-----------------</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><xsd:schema xmlns:xsd="<A
href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</A>"
elementFormDefault="qualified"><BR> <BR> <xsd:include
schemaLocation="opencms://opencms-xmlcontent.xsd"/><BR> <xsd:include
schemaLocation="opencms://system/modules/org.iteatre.web/public/proves/MenuItem.xsd"/><BR> <BR> <xsd:element
name="Menus" type="OpenCmsMenus"/><BR> <BR> <xsd:complexType
name="OpenCmsMenus"><BR> <xsd:sequence><BR> <xsd:element
name="Menu" type="OpenCmsMenu" minOccurs="0"
maxOccurs="unbounded"/><BR> </xsd:sequence><BR> </xsd:complexType></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> <xsd:complexType
name="OpenCmsMenu"><BR> <xsd:sequence><BR> <xsd:element
name="Item" type="OpenCmsMenuItem" minOccurs="0" maxOccurs="unbounded"
/><BR> </xsd:sequence><BR> <xsd:attribute
name="language" type="OpenCmsLocale"
use="optional"/><BR> </xsd:complexType></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></xsd:schema></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>-----------------------</FONT></DIV>
<DIV><FONT face=Arial size=2>- MenuItem.xsd:</FONT></DIV>
<DIV><FONT face=Arial size=2>-----------------------</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><xsd:schema xmlns:xsd="<A
href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</A>"
elementFormDefault="qualified"><BR> <BR> <xsd:include
schemaLocation="opencms://opencms-xmlcontent.xsd"/> <BR> <xsd:element
name="MenuItems"
type="OpenCmsMenuItems"/><BR> <BR> <xsd:complexType
name="OpenCmsMenuItems"><BR> <xsd:sequence><BR> <xsd:element
name="MenuItem" type="OpenCmsMenuItem" minOccurs="0"
maxOccurs="unbounded"/><BR> </xsd:sequence><BR> </xsd:complexType></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> <xsd:complexType
name="OpenCmsMenuItem"><BR> <xsd:sequence><BR> <xsd:element
name="Titol" type="OpenCmsString" minOccurs="0"
maxOccurs="1"/><BR> <xsd:element name="Submenu"
type="OpenCmsMenu" minOccurs="0"
maxOccurs="1"/><BR> </xsd:sequence><BR> <xsd:attribute
name="language" type="OpenCmsLocale"
use="optional"/><BR> </xsd:complexType></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2></xsd:schema></FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=jordi.pedrerol@adequa.net
href="mailto:jordi.pedrerol@adequa.net">Jordi Pedrerol</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=opencms-dev@opencms.org
href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, June 13, 2005 8:06 PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [opencms-dev] recursive nested
xmlcontent</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>Hello, I'm trying to make a recursive nested
xmlcontent in order to build a hierarchic structure (a menu). The xsd file is
as follows:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><xsd:schema xmlns:xsd="<A
href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</A>"
elementFormDefault="qualified"><BR> <BR> <xsd:include
schemaLocation="opencms://opencms-xmlcontent.xsd"/> <BR> <xsd:element
name="Menus" type="OpenCmsMenus"/><BR> <BR> <xsd:complexType
name="OpenCmsMenus"><BR> <xsd:sequence><BR> <xsd:element
name="Menu" type="OpenCmsMenu" minOccurs="0"
maxOccurs="unbounded"/><BR> </xsd:sequence><BR> </xsd:complexType></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> <xsd:complexType
name="OpenCmsMenu"><BR> <xsd:sequence><BR> <xsd:element
name="Title" type="OpenCmsString" minOccurs="0"
maxOccurs="unbounded"/><BR> <xsd:element name="Menu"
type="OpenCmsMenu" minOccurs="0"
maxOccurs="unbounded"/><BR> <BR> </xsd:sequence><BR> <xsd:attribute
name="language" type="OpenCmsLocale"
use="required"/><BR> </xsd:complexType></FONT></DIV>
<DIV><FONT face=Arial size=2> </DIV>
<DIV></xsd:schema></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>The problem is that when I modify the control code of the respective
contentxml file, opencms doesn't recongnize the nested OpenCmsMenu complex
type.</DIV>
<DIV> </DIV>
<DIV>Does anyone know if am I doing something wrong or if what I'm trying to
do is no possible?</DIV>
<DIV> </DIV>
<DIV>Thank you very much in advance.</FONT></DIV>
<P>
<HR>
<P></P><BR><BR>_______________________________________________<BR>This mail is
send to you from the opencms-dev mailing list<BR>To change your list options,
or to unsubscribe from the list, please
visit<BR>http://mail.opencms.org/mailman/listinfo/opencms-dev</BLOCKQUOTE></BODY></HTML>