Sorry, completing other post.

2008/8/1, Daniel Amadei <[EMAIL PROTECTED]>:
>
> Hi All,
>
> I have a doubt regarding document order guarantees.
>
> I need to receive a list of codes which contain the order that I need to
> extract other elements from another XML. The XML received is similar to
> this:
>
> <orderedList>
>    <code>2</code>
>
       <code>3</code>
       <code>1</code>
    </orderedList>


Is there a guarantee to parse the document and keep it in the same order
using DOM, SAX or STAX?

>From what I could read in DOM Spec FAQ, DOM guarantees the document order,
but I'd like to confirm with you and, if possible, get the information for
the other parsers.

Thanks,
Daniel

Reply via email to