<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Ashish, <br>
<br>
you have to set the default value in the main xsd (abc-xsd.txt, in
your case), as in the following sample:<br>
<br>
...<br>
<defaults><br>
<default element="MainContent/Title" value="Add
a new title here" /> <br>
</defaults><br>
...<br>
<br>
Kind regards<br>
Antonio Cordeddu<br>
<pre class="moz-signature" cols="72">
_______________________________________________
Coranto informatica di Antonio Cordeddu
Via Torricelli, 9 09047 Selargius (CA) - Italy
<a class="moz-txt-link-abbreviated" href="mailto:antoniocordeddu@coranto.it">antoniocordeddu@coranto.it</a>
Skype: antonio.cordeddu
<a class="moz-txt-link-freetext" href="http://www.coranto.it">http://www.coranto.it</a>
_______________________________________________</pre>
<br>
<br>
On 13/07/2015 11:27, Ashish Shekhar wrote:<br>
</div>
<blockquote
cite="mid:CAAYOqtXWAmrttq=WCpQMA6u3TTYKVgBsWZjFjf1tgzW+c1rUGg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>
<div>Hi,<br>
<br>
</div>
I have created content type for which I have configure
xsd as per my need.<br>
<br>
</div>
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.<br>
<br>
</div>
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.<br>
<br>
</div>
I am attaching my xsd. Does anyone have idea what is missing
here?<br>
<br>
</div>
Thanks<br>
</div>
Ashish<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
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
<a class="moz-txt-link-freetext" href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">
</pre>
</body>
</html>