Re: Validating DOM

2003-03-25 Thread Gareth Reakes
Hey Kiran, If you are just interested in validating simple types then this is possible. Form the schema grammar you can do something like: DatatypeValidatorFactory *dtvf = _schemaGrammar->getDatatypeRegistry(); then you can look DatatypeValidators up by: DatatypeValidator *dtv

RE: Validating DOM

2003-03-25 Thread Erik Rydgren
PROTECTED] Sent: den 25 mars 2003 00:34 To: '[EMAIL PROTECTED]' Subject: Validating DOM Is there a way for me to validate the DOM content while building. Essentially I am interested in element and attribute content only. Does the value for the elements adhere to the schema. Things like defa

Validating DOM

2003-03-24 Thread Bagepalli, Kiran
Is there a way for me to validate the DOM content while building. Essentially I am interested in element and attribute content only. Does the value for the elements adhere to the schema. Things like default values/restrictive datatypes etc. Is there anyway I could get to a XMLElementDecl and call a

Validating DOM Tree

2002-05-23 Thread Montanaro Mauro
Hi all,   I must build a DOM Tree in  memory and at the end of construction I need to validate it. There are any way to do this?   Thank you in advance. Mauro Montanaro Softeco Sismat SpA Via De Marini 1 16149 Genova - ITALY Tel. +39.010.6026.1