470,613 Members | 2,348 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,613 developers. It's quick & easy.

XML attributes have wrong name


I have a class with a lot of 'setter' methods and a toXML() method
which creates a bunch of elements, attributes, and text nodes from those

The problem is all the attribute names get munged.

root = self.doc.createElement("Node")

turns into

<Node y="foo">

I'm using python RedHat 7.3/python 2.2.3.

--( Nate Gelbard, QA Engineer
--( Tripwire, Inc.

Jul 18 '05 #1
0 881

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

10 posts views Thread by Olivier Lefevre | last post: by
50 posts views Thread by Dan Perl | last post: by
23 posts views Thread by Frank Millman | last post: by
2 posts views Thread by james_027 | last post: by
5 posts views Thread by Nathan Harmston | last post: by
26 posts views Thread by tjhnson | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.