Reputation: 1 Apprentice
- New Members
- Active Posts:
- 10 (0.01 per day)
- 28-April 10
- Profile Views:
- Last Active:
- Nov 06 2012 12:25 PM
- Dream Kudos:
Posts I've Made
Posted 1 Apr 2012Have you looked at python's SAX API?
Check out the xml.sax.ContentHandler class, which provides (among other things) the startElement method. This method is called when the parser encounters -- you guessed it -- a start tag. The name of the tag is provided in the 'name' parameter. Here is the method signature.
The following is quoted straight from the documentation...
"The name parameter contains the raw XML 1.0 name of the element type as a string and the attrs parameter holds an object of the Attributes interface..."
Take a look and let us know if you have any specific questions.
Posted 27 Jul 2011Thank you for your clear,concise, and knowledgeable explanation. You've inspired me to continue on to section 1.2!
- Member Title:
- New D.I.C Head
- Age Unknown
- Birthday Unknown
DXDenton hasn't added any friends yet.