HI Michael,

Thanks a lot!

I never thought it could be the default value defined in DTD...

It is my fault.

Yuan Yuan


2008/5/6, Yuan Yuan <[EMAIL PROTECTED]>:
>
> I used dom.Writer and personal.xml from the Xerces sample.
>
> but I got an extra contr="false" for element "person" from the output.
>
> The original xml file is:
>
> <person id="four.worker">
>     <name><family>Worker</family> <given>Four</given></name>
>     <email>[EMAIL PROTECTED]</email>
>     <link manager="Big.Boss"/>
>   </person>
>
>
> but I got:
>
> <person contr="false" id="four.worker">
>   <name><family>Worker</family> <given>Four</given></name>
>   <email>[EMAIL PROTECTED]</email>
>   <link manager="Big.Boss"></link>
> </person>
>
> Could please somebody tell me where is this contr="false" attribute come
> from?
>
> Thanks a lot!
>
> Yuan Yuan
>

Reply via email to