[Home] [By Thread] [By Date] [Recent Entries]

  • From: petera <peter.anderson@e...>
  • To: xml-dev@l...
  • Date: Thu, 7 Sep 2006 01:28:55 -0700 (PDT)



Thanks to all who replied to my e-mail.

The approach I have decided upon is to try two implementations:

1. XSLT

2. StAX

XSLT is really the simplest but my bosses might not like the memory
requirements so StAX would a good alternative

The URL provided by Brennan is excellent on StAX:
http://java.sun.com/webservices/docs/1.6/tutorial/doc/SJSXP2.html 

Peter


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#a6186397
Sent from the Xml.org Dev forum at Nabble.com.



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


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member