XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] best xml parser to use

I don't know much about StAX, but if you'll be processing the data
linearly (i.e. with no need to rearrange it as part of your processing)
SAX should be fine and quick.

Bob

On Wed, September 6, 2006 9:09 am, petera wrote:
>
> Hi
>
> I have a particular problem to solve:
>
> I have an xml batch file that contains individual xml invoices. I need to
> extract these xml invoices one at a time and
> place them on a message queue i.e. I just need to get all the data between
> the invoice start and end tags put it
> in a string and place it on a message queue (validation occurs on the
> invoice itself on the receiver side).
>
> What is likely to be my best approach, DOM (unlikely I guess), SAX, StAX
> or
> simply writing a java program using indexOf, in terms of performance ?
>
>
> TIA Peter
>
> --
> View this message in context:
> http://www.nabble.com/best-xml-parser-to-use-tf2226882.html#a6171113
> Sent from the Xml.org Dev forum at Nabble.com.
>
>



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS