RE: [Zope] parsing dynamic XML
25 Sep
2002
25 Sep
'02
5:26 p.m.
[ Sushil Bhattarai]HI
Is there a way to parse a dynamic XML document in Zope. I'm calling a web service from zope. This web service returns XML. I want to parse this XML and put certain values in session. How can I parse XML I'm getting without physically saving it in Zope. By the way, can I dynamically save this XML in zope. I have XMLDocument and ParsedXML product but can't figure out a way to use these to solve my problem
Sounds like you have an URL returning XML. Parse with KebasData (doesn't care if XML contains illegal characters or is poorly formed). To save in Zope just iterate over the add method of a your favorite product using 'match' values for the needed properties. Ken
8594
Age (days ago)
8594
Last active (days ago)
0 comments
1 participants
participants (1)
-
Ken