On Mon, 27 Nov 2000, Jonathan Peterson wrote:
> 
> But, there must be some nice way of using XML for similar purposes. If the
> shopping basket was described in XML, then it would be easy to write a Java
> servlet that could also manipulate the same shopping basket.
> 

We are using Data::DumpXML to all the data in a Session object created in
Mason to the backend billing engine.  I will be using it to serialize
billing objects in other places in the future. It would be trivial to
create XML documents using the appropriate DTD in some ther language and
as long as you can decide on the type mappings you could qute easily parse
the dumped objects in some other language ...  This is why I decided on
Data::DumpXML as opposed to Storable for this purpose (well that and it
was easier to patch Gisle's module to overcome the security risk patch
caused by blessing untrusted data structures - see the odcs of the module
for more on that .)

/J\
-- 
Jonathan Stowe                   |   
http://www.gellyfish.com         |       I'm with Grep on this one 
http://www.tackleway.co.uk       |

Reply via email to