xerces-j-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "McEvoy, Peter" <peter.mce...@iona.com>
Subject RE: right-sequencing child nodes
Date Thu, 07 Nov 2002 11:12:06 GMT
can I add to this question - does anyone know how to do this using DOM1/DOM2 and not the experimental
DOM3 stuff...

> -----Original Message-----
> From: Hellmann Peter (ext) [mailto:Peter.Hellmann@mch.siemens.de]
> Sent: 07 November 2002 08:20
> To: 'xerces-j-user@xml.apache.org'
> Subject: right-sequencing child nodes
> Importance: Low
> 
> 
> hi all,
> 
> please allow me one question. because no validation occurs 
> while adding
> nodes to a dom tree (no dynamic validation) i can add some 
> child nodes to my
> dom tree in the wrong sequence (DTD says <tag1> must come 
> before <tag2> but
> i can add nodes in an arbitrary order). Because when serializing, no
> validation is done, my unmarshalled output contains the tags 
> in the wrong
> sequence. now my question is if there is any function that does
> right-sequencing child nodes according to the settings in the 
> DTD prior to
> serialization?
> 
> thanx 4 any hints
> 
> kind regards
> Peter Brightman
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-j-user-help@xml.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org


Mime
View raw message