From: Colin P. A. <co...@co...> - 2007-11-19 05:31:29
|
>>>>> "Eric" == Eric Bezault <er...@go...> writes: Eric> Bru...@ao... wrote: >> Eric: >> >> I am looking to read and XML file with Eiffel and it seems that >> your Gobo classes can do this. I looked at the examples for >> Gobo and I don't see any example that actually read AND USE an >> XML file. >> >> Can you point me to any example that show how to use Gobo to >> read the attributes of an XML file? Ideally, it would include >> the input XML file as well. Hello Bruce, Some of the examples in the $GOBO/example/xml tree do actually read the attributes of an XML file. What they don't do is to specifically process the attributes within the example class itself - this is done in the tree building class XM_CALLBACKS_TO_TREE_FILTER. The general approach to processing attributes is as Neal has described. If you want a more detailed answer, I would suggest describing your scenario in more detail. -- Colin Adams Preston Lancashire |