Hi all,
I'd like to be able to have attributes defaulted according to a schema
grammar when I create a new element or at least when I add it to the
DOM. The only way I can see of doing this at the minute is to call
Document.normalizeDocument() having configured it it to perform schema
validation. This seems like overkill when you consider that our
documents contain literally thousands of nodes.
You can't do this manually through the DOM interfaces as there's no
public setter corresponding with Attr.getSpecified() plus you'd have to
do something very similar to the schema validator.
Is there a better way of doing this?
Regards,
Chris Simmons.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]