Hi Marcus,
At 15.45 12/05/2005 +0200, Marcus Mohr wrote:
========================================================================
Hi,
I have a (probably trivial) question concerning the createElement method of the DOMDocment class. Its documentation says that
"In addition, if there are known attributes with default values, DOMAttr nodes representing them are automatically created and attached to the element."
Now where should such information on attributes' default values come from?
This information comes from a DTD, more precisely from the DOMDocumentType object that the DOMDocument owns.
Alberto
My initial assumption was, that if the DOMDocument was generated by a validating XercesDOMParser then such information should be available from the schema/validation process. However, this does not seem to be the case.
Am I misinterpreting something?
Regards Marcus
========================================================================
Marcus Mohr @> Sensor Technology - University Erlangen-Nuremberg /? e-mail ... [EMAIL PROTECTED] |\ Tel ...... 09131 / 85 - 23147 www ...... http://www.lse.uni-erlangen.de/
========================================================================
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
