Hi,

I'm using pyxb and seems great, but I have a question.

I need to get some arbitrary attribute from my xml document. so, if I 
have this xml line:

...
<tag1 attribute="attribute_value" ...>tag_value</tag1>
<tag2 attribute="attribute_value" ...>tag_value</tag2>
...

I need a method for checking the tag_values against another value. Like 
this:

for tag_name in tags:
    tag_value = xml.get(tag_name)


So, as you see I can't do something like xml.tag1, becouse I don't know 
which tag do I have to check...
and will be very helpful something similar for attributes  
(tag1.get(attribute_name))

Is this possible with pyxb? Am I missing something?


Regards,
Salvatore



------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
pyxb-users mailing list
pyxb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyxb-users

Reply via email to