[JDEV] Element.h Usage

dsmith at ai.uwf.edu dsmith at ai.uwf.edu
Sun May 2 01:04:30 CDT 1999


Hey...

Okay, here's a brief rundown of the elements.h operations and data
type...

The base type <element> represents an atomic chunk of a XML document.
It can be one of three types:
1.) Attribute
2.) Tag
3.) CDATA

Each <element> has contains a series of pointers internally that
represent the location of the element in the hierarchy of the XML
document. Let's parse out a couple of samples and see what we wind up
with in terms of elements...

To begin, something simple:

XML packet: 
<login>
	<user>dave</user>
	<pass>dude</pass>
</login>




More information about the JDev mailing list