<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2604" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV dir=ltr align=left><SPAN class=797330616-31032005><FONT face=Arial
color=#0000ff size=2>Why don't you use some default locale (e.g. "en") and store
your otherwise locale independent content below that node? We do that for the
configuration of the "templateone" for example.</FONT></SPAN></DIV><!-- Converted from text/plain format -->
<P><FONT size=2>Best Regards,<BR>Alex.<BR><BR>Alexander Kandzior<BR>Alkacon
Software - The OpenCms Experts<BR><A
href="http://www.alkacon.com/">http://www.alkacon.com</A><BR><BR></FONT></P>
<DIV> </DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=de dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> opencms-dev-bounces@opencms.org
[mailto:opencms-dev-bounces@opencms.org] <B>On Behalf Of </B>Daniel
Rhoden<BR><B>Sent:</B> Thursday, March 31, 2005 5:59 PM<BR><B>To:</B> The
OpenCms mailing list<BR><B>Subject:</B> Re: [opencms-dev] (6b1) Xml Content,
The point of "unbounded" elements<BR></FONT><BR></DIV>
<DIV></DIV>If I understand you correctly, the maxOccurs is set to 'unbounded'
because you can have as many of those nodes as languages. That makes
sense and definitely has enormous power. However, I think that
XML/Structured content would be so much more powerful if it were not assumed
to have a single application (local specific content). Let me
explain.<BR><BR>The idea of defining a schema driven interface would be very
powerful for the management of configuration files. Because
configuration files would only be used internally, it doesn't matter what
local it belongs to. Here is an example application. I am writing
a custom 404 error page that, depending on the settings/entries in the
configuration file, will redirect (301 or 302) or forward the user to another
resource based upon the requested resource. This would be used to
preserve page rank during a site's restructuring (and other purposes). I
think there are so many other ways that a schema driven interface could be
used if it were not limited to a single application of local-specific
data.<BR><BR>With this example in mind, do you see a way that this feature can
be added to the interface without hurting the requirements of local-specific
data management?<BR><BR>Thank you very much for your time and
thought,<BR><BR>--Daniel Rhoden<BR><BR>Alexander Kandzior wrote:
<BLOCKQUOTE cite=mid200503310634.j2V6Y5CP025871@server1.iiwsi.net type="cite"><PRE wrap="">If you create a sibling of an XML{page|content} file in a different locale
folder, the editor will automatically give you the option to edit this
folders language version. You need to attach the "locale" property with the
different locale to the folder of the sibling.
Best Regards,
Alex.
Alexander Kandzior
Alkacon Software - The OpenCms Experts
<A class=moz-txt-link-freetext href="http://www.alkacon.com">http://www.alkacon.com</A>
</PRE>
<BLOCKQUOTE type="cite"><PRE wrap="">-----Original Message-----
From: <A class=moz-txt-link-abbreviated href="mailto:opencms-dev-bounces@opencms.org">opencms-dev-bounces@opencms.org</A>
[<A class=moz-txt-link-freetext href="mailto:opencms-dev-bounces@opencms.org">mailto:opencms-dev-bounces@opencms.org</A>] On Behalf Of Daniel Rhoden
Sent: Thursday, March 31, 2005 12:22 AM
To: The OpenCms mailing list
Subject: [opencms-dev] (6b1) Xml Content, The point of
"unbounded" elements
Why is it that all the examples of xml content schema have
the maxOccurs attribute of the first child element set to
"unbounded" when there is no way in the form editor to
actually create and edit another sibling?
Will the form editor eventually have the ability to easily
manage multiple child elements?
/xmlcontent/article.xsd
-----------
...
<xsd:complexType name="OpenCmsArticles">
<xsd:sequence>
<xsd:element name="Article" type="OpenCmsArticle"
minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
...
-----------
Thanks,
--Daniel Rhoden
_______________________________________________
This mail is send to you from the opencms-dev mailing list To
change your list options, or to unsubscribe from the list,
please visit <A class=moz-txt-link-freetext href="http://mail.opencms.org/mailman/listinfo/opencms-dev">http://mail.opencms.org/mailman/listinfo/opencms-dev</A>
</PRE></BLOCKQUOTE><PRE wrap=""><!---->
_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
<A class=moz-txt-link-freetext href="http://mail.opencms.org/mailman/listinfo/opencms-dev">http://mail.opencms.org/mailman/listinfo/opencms-dev</A>
</PRE></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>