473,243 Members | 1,617 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,243 software developers and data experts.

Recommendation please: forming an XML toolkit

I'm asking help on this topic of building a tools foundation for future
XML projects because of the sheer volume of possibilities I will not
have the time to check/try/test in detail.

This question is a bit like the ones pertaining to 'Which web framework
to use?', there is a lot of good stuff out there, and often it boils
down to personnal preference, mind-fitting interface and such BUT... to
make it more precise I will give more context on the future projects
involved...

I've done some homework trying out a few packages based on published
tutorial: Boddie's Python and XML: An Introduction (for minidom),
Lundh's elementTree examples, I read a bit about Amara, pyXML, others.
I've read a bit on ease-of-use, benchmarks, pythonesque versus
job-protection perspectives,
I've even tried building my own xml2PythonObjects2xml tools
Finally, I've read-up a few threads pertaining to the question 'which
XML packages to use' !

Some considerations I have using XML :
1- representing inter-connected academic articles in text-based files
whitout a sopecific BD package
2- being 'easily' able to modify the structure of these documents as
search tools evolve
3- searching through these articles often, and with evolving
algortihmic complexity (from word base search to RDF-type meta data, to
OWL-type semantic information, etc)
4- In a context where I'm (in a practical form) evangelizing the use of
Python as a great tool from going from 'this could be a new approach'
to 'this piece of code realizes that approach'
(managers need to be confident that they could choose to make this set
of articles evolve using other languages (other developpers not caring
for Python for example, but Java instead) and the infobase would be
directly accessible and algorithms understandable from a 'popular'
xml-manipulation point-of-view (Using DOM, I guess a regular DOM-SAX
Java developper would understand Python code, but would they if the
code relied heavily on elementTree (for example)
5- relying as less as possible on complex third-party libs (to use A,
first get B from elsewhere, which itself requires C from still another
place...) I DON'T mind the simple package (PIL comes to mind here)
6- VERY IMPORTANT CONSIDERATION - That I can keep my focus on
developing algorithms, MINIMIZING XML clutter I don't want to become a
XML guru - I like the simple principle of XML as a tree of tagged
elements that have attributes and text data...

Thanks for any and all who read this, and those who have experience
ressembling what I'm about to embark on for your help !

Jean-Marc

Nov 10 '05 #1
3 1042
*SNIP Long list of possible criteria for chooseing an XML library*

Even with all your personal considerations, there is no one "correct"
answer for you. I can think of four or five packages that would meet
all your criteria.

You said something quite apt:

"This question is a bit like the ones pertaining to 'Which web
framework
to use?', there is a lot of good stuff out there, and often it boils
down to personnal preference, mind-fitting interface and such..."

I use this comparison myself. People are used to the incredible
diversity of Web application needs, but for some reason their
imagination tends to flag a bit when it comes to acknowledging the
similar diversity of XML processing needs. It's a big domain, and you
won't find a universal, one-size-fits-all solution. That's why I
surprise people by saying I don't have a problem with the fact that
Python bundles at least 4 XML processing libraries, and that there are
at least 30 viable third-party options.

Anyway you go on to say:

"BUT... to make it more precise I will give more context on the future
projects involved... "

I appreciate your effort, but I don't think you succeeded. With
respect to Web frameworks, It's easy to some up with a list of even 20
criteria for Python Web frameworks and still wind up with 4-5 fitting
options. Same thing for XML processing.

You seem to have done a bit of homework with the packages. I'm sure
you have initial impressions based on that. If you have specific
outstanding questions, do ask. If not, I would just take a chance on
whatever your present leaning may be.
--
Uche Ogbuji Fourthought, Inc.
http://uche.ogbuji.net http://fourthought.com
http://copia.ogbuji.net http://4Suite.org
Articles: http://uche.ogbuji.net/tech/publications/

Nov 11 '05 #2
I guess you're right... I think its just cold feet from the possibility
of getting involved and discovering specific gotchas later.

What I'm hearing you tell me is *go and play it*.
Thanks for replying...

Nov 12 '05 #3
jm*********@gmail.com wrote:
I guess you're right... I think its just cold feet from the possibility
of getting involved and discovering specific gotchas later.

What I'm hearing you tell me is *go and play it*.


uche posted an interesting taxonomy here:

http://article.gmane.org/gmane.comp.python.xml/3605

once you decide what kind of XML processing you're doing, you can
usually find one or two best-of-breed toolkits within each category.

</F>

Nov 22 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Martin Bless | last post by:
The good news: Along with Python-2.4 comes really good news to Windows users. Yes, you now CAN build extension modules yourself using the SAME C++ compiler and linker Python is built with...
4
by: C. Smith | last post by:
I am technical advisor for a new group of middle-aged people that want to create a web site for historical information about our local area. They want to scan in a lot of old photos, include...
36
by: Peter Brause | last post by:
Hello, my stylesheet shows different colors for visited, active and hovered links. It works fine in IE 6, but in Opera 7 the color for the active link (red background) is never shown. How to...
0
by: Chive Software | last post by:
Chive Software are pleased to announce a new version of its Apoc PDF Toolkit, part a of its Apoc suite of products. Apoc PDF Toolkit is a high quality software component that developers can add...
8
by: G Patel | last post by:
I wrote the following program to remove C89 type comments from stdin and send it to stdout (as per exercise in K&R2) and it works but I was hoping more experienced programmer would critique the...
10
by: miffy900 | last post by:
Will there be a Visual C++ Toolkit 2005? I really appreciated that there was the Visual C++ 2003 Optimising Compiler distributed for free in the 2003 Toolkit. Will Microsoft continue with this...
1
by: David Van D | last post by:
Hi there, A few weeks until I begin my journey towards a degree in Computer Science at Canterbury University in New Zealand, Anyway the course tutors are going to be teaching us JAVA wth bluej...
22
by: rasiel | last post by:
I'm hoping someone can help me out. I'm a researcher in need of developing an automated database and would like to see if someone here is willing to consider putting together for me a simple...
10
by: sfmcfar | last post by:
Hi, Can someone recommend an Javascript toolkit that provides both AJAX- like requests and effects, and that supports IE 5.5+, Firefox 1.5+, and Netscape 7+? I know that NS7 may not be as...
5
by: simon | last post by:
hello, I have a server set up on my local (home) network and can not get an ajax application to run on the box. it works fine on our developement server and also works fine locally. I...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.