The next generation XML parser called VTD-XML
http://vtd-xml.sf.net
----- Original Message -----
From: "Helmut Ziegler" <[EMAIL PROTECTED]>
To: <user@xmlbeans.apache.org>
Sent: Thursday, October 12, 2006 11:02 AM
Subject: SAX, XSLT or XmlBeans
Hi,
we want to interchange data between two programs via XML and I wonder
which technology is the most suitable for it.
We have a schema for the interchange file.
The external program is written in C++. Our's is written in Java.
We store the project files of our programm by using the JavaBean XML
serialization.
Now we have to import the data of the interchange file in our program.
There are different ways to manage this and maybe someone - who did
the same in the past or has the master plan - can give me hint.
Three possibilities:
1. I use SAX, parse the XML file sequentially and build my object
structure for the project.
2. I use XSLT (e. g. with Saxon) and create a rule that transforms
the interchange file to my XML file of the project.
3. I use XMLBeans. Up to know I just used XMLBeans to read,
manipulate and write XML files. I like to work with it as it is very
convenient.
It seemed to me that XMLBeans could also be helpful for my
interchange task. XMLCursor or XQuery are the concepts which caught
my attention.
Do you think that XMLBeans can bring me advantages? And which concept
would you suggest?
Cheers,
Helmut
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]