473,396 Members | 1,894 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,396 software developers and data experts.

XML data binding - Castor-like

Hi!

I'm quite new to Python. Is there anything like Castor or JAXB available for
Python ? All I have found is generateDS.py, but it seems to be very limited
and a bit buggy - it seems to be sensitive to the order in which I declare
elements in my XML Schema file.

In my upcoming project I need a robust XML support, and I wanted to give
Python a try, unfortunately I'll probably have to switch back to Java for
this project :(

Best Regards,
P.Wegrzyn
Jul 18 '05 #1
1 2602
Przemyslaw Wegrzyn wrote:
Hi!

I'm quite new to Python. Is there anything like Castor or JAXB available for
Python ? All I have found is generateDS.py, but it seems to be very limited
and a bit buggy - it seems to be sensitive to the order in which I declare
elements in my XML Schema file.


dunno what castor is but this package provides
some link between python and a XSD schema file:

"Python XML Marshaller"
<http://home.pacbell.net/pyared/pybypy/xml/>

also, before give up, check out the other
XML<-->python bindings:

"XML Data Bindings in Python"
<http://www.xml.com/pub/a/2003/06/11/py-xml.html>

--
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
<#me> a foaf:Person ; foaf:nick "deelan" ;
foaf:weblog <http://www.deelan.com/> .
Jul 18 '05 #2

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

Similar topics

2
by: Christophe Geraud | last post by:
I got the following exception with Castor: "The prefix 'xml' is reserved (XML 1.0 Specification) and cannot be declared." I got this exception using or not a mapping file. Can anyone tell what it...
0
by: Ulf Heyder | last post by:
I use castor-0.9.5 with xerces-2.4.0 to automatically generate classes from XSDs via source generator and un-/marshall JAVA objects to/from XML files. My question is how to tell the castor...
0
by: NicK chlam via DotNetMonster.com | last post by:
this is the error i get System.Data.OleDb.OleDbException: Syntax error in INSERT INTO statement. at System.Data.Common.DbDataAdapter.Update(DataRow dataRows, DataTableMapping tableMapping) at...
0
by: Larry Serflaten | last post by:
I am not sure how many are aware of this sort of data binding, but as it is new to many (classic) VB developers I thought I would post this once just to let people know of its availablility. ...
14
by: Rolf Welskes | last post by:
Hello, I have an ObjectDataSource which has as business-object a simple array of strings. No problem. I have an own (custom) control to which I give the DataSourceId and in the custom-control...
0
by: olivier35 | last post by:
Hello, I establish a two-way data-binding between systems with a web service. I use XMLBeans and my problem is that objets classes are generated (from xsd) without taking into account the existing...
1
by: PPA | last post by:
Hi Guys I am really new to XML/XSD and Castor. Could you please help me out here? I have following XSD: -----------------------------XSD STARTS----------------------------------- <xs:schema...
2
by: John | last post by:
Hi I have a small app with bound controls that do not seem to be copying across the data entered into them to the underlying row for the update. This one really has me stump even though these...
1
by: Bruintje Beer | last post by:
Hi, Is there a C++ alternative for the Java Castor Project (Java thirdparty tool to create xml files from Java Objects and vice versa) John
1
by: chdl | last post by:
Hello there - I'm currently researching Java-to-XML binding techniques, and have come across JAXB, Castor and XMLBeans. But not having implemented any of these before, I'm little skeptical to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.