<div dir="ltr"><div><div><div><div>Hi Kai,<br><br></div>I have removed the default definition from the nested xsd and defined the defaults only in main xsd(abc.xsd) but still its not coming.<br><br></div>Any idea? <br><br></div>Thanks<br></div>Ashish<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 15, 2015 at 6:35 PM, Schliemann, Kai <span dir="ltr"><<a href="mailto:K.Schliemann@comundus.com" target="_blank">K.Schliemann@comundus.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="DE">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Hi,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">did you remove the defaults definition from your nested xsd (address.xsd) when you defined the defaults in your main xsd (abc.xsd)?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">HTH<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Best regards<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Kai<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Von:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:opencms-dev-bounces@opencms.org" target="_blank">opencms-dev-bounces@opencms.org</a> [mailto:<a href="mailto:opencms-dev-bounces@opencms.org" target="_blank">opencms-dev-bounces@opencms.org</a>]
<b>Im Auftrag von </b>Ashish Shekhar<br>
<b>Gesendet:</b> Mittwoch, 15. Juli 2015 14:49<br>
<b>An:</b> The OpenCms mailing list<br>
<b>Betreff:</b> [opencms-dev] Fwd: Issue with default values in the content type<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi.<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Does anyone have idea how to set the default value for nested content type? I tried all the approaches suggested but doesn't make any difference.<u></u><u></u></p>
</div>
<p class="MsoNormal">-Ashish<u></u><u></u></p>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">---------- Forwarded message ----------<br>
From: <b>Ashish Shekhar</b> <<a href="mailto:ashish.shekharcsc@gmail.com" target="_blank">ashish.shekharcsc@gmail.com</a>><br>
Date: Mon, Jul 13, 2015 at 2:57 PM<br>
Subject: Issue with default values in the content type<br>
To: The OpenCms mailing list <<a href="mailto:opencms-dev@opencms.org" target="_blank">opencms-dev@opencms.org</a>><br>
<br>
<u></u><u></u></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi,<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">I have created content type for which I have configure xsd as per my need.<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">The default value which is coming fine for simple xml content type but when I used nested content type the default value is not coming.<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">I want the default value should come to every nested items when ever I add new instance + but its not coming to a single instance.<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">I am attaching my xsd. Does anyone have idea what is missing here?<u></u><u></u></p>
</div>
<p class="MsoNormal">Thanks<u></u><u></u></p>
</div>
<p class="MsoNormal"><span><span style="color:#888888">Ashish</span></span><u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div></div></div>
</div>
<br>_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" rel="noreferrer" target="_blank">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><br>
<br>
<br>
<br>
<br></blockquote></div><br></div>