Refining my question.

Is it a correct assumption that when the parser tries to create the first <koo> element it fails since it is missing a required attribute and therefore current-element-node is the <foo> element?
If this assumption is correct, is there a way to partialy create the <koo> element to receive the correct element which is failing - or is there maybe another way?


Thanks,

Guy.


When I parse the following example where the first <koo> element has a
missing required attribute called attrA

     <foo>
           <koo attrB="df"/>
           <koo attrA="required" attrB="optional"/>
     </foo>

I get a validation error but when calling the current-element-node property
I get the <foo> element and not the proper <koo> one.

Is this how it suppose to work or might I be doing something wrong?

Thanks,

Guy

_________________________________________________________________
Get ready for school! Find articles, homework help and more in the Back to School Guide! http://special.msn.com/network/04backtoschool.armx



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to