You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by Chris <ch...@hmgcc.gsi.gov.uk> on 2007/12/04 13:49:57 UTC

Order of returned nodes

When you use an XmlObject to get an array of elements, is the array 
guaranteed to be in document order? What about the Xpath API?

e.g.
<a>
	<b id="a1"/>
	<b id="a2"/>
	<b id="a3"/>
</a>

Will aDocument.getRoot().getBArray()[0] have id=a1?

Sorry if this is documented somewhere, I tried the FAQ and the javadoc 
but couldn't see it.

Thanks
-- 
Chris
HMGCC

The information contained in this message (and any attachments) may
be confidential and is intended for the sole use of the named addressee.
Access, copying, alteration or re-use of the e-mail by anyone other
than the intended recipient is unauthorised. If you are not the intended
recipient please advise the sender immediately by returning the e-mail
and deleting it from your system.

This information may be exempt from disclosure under Freedom Of Information 
Act 2000 and may be subject to exemption under other UK information 
legislation. Refer disclosure requests to the Information Officer.


The original of this email was scanned for viruses by the Government Secure Intranet Anti-Virus service supplied by Cable&Wireless in partnership with MessageLabs. (CCTM Certificate Number 2006/04/0007.) On leaving the GSi this email was certified virus free.
Communications via the GSi may be automatically logged, monitored and/or recorded for legal purposes.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org