getting subchild of a tree through xerces

Divya Prakash Divyap at amdale.com
Tue Dec 19 09:45:34 EST 2006


Hi 

 

 

 

 I m able to parse xml file using xerces as well as JAXP but I am unable to
parse the sub- child of my tree

 

 

 

    Eg : 

 

              <mosaic>

 

                   <class name "hello">

 

                         <method name="call"  type="void" >   ...(not able
to parse this)

 

                               </method>

 

                      </class>

 

                         <class name="demo">

 

                           </class>

 

              </mosaic>

 

 

 

 

 

 But I m unable to parse the child of   class"hello"  .but I m able to parse
the .sibling of class

 

What should I do...

 

 

 

 

 

Regards 

 

Divya

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20061219/fb1c8b14/attachment.html>


More information about the Python-list mailing list