Xml Attributes – c++

I am doing the project xml reader in cpp and here is the start. The main project is xmlreader which will have links to the 3 different parts of the xml reader object that I have created.

The basics of xml are

<tagname attributesName="attributesValue">value</tagname>

there can be 0-n amount of attributes in the XML.

So to start with I have created a basic structure for a xmlAttribute and here it is

struct xmlAttribute {
    string _attributeName, _attributeValue;

a structure is a very basic object that has x amount of parts to it.

The next is a xml object that will have 0-x amount of xmlAttributes, there should be a link at the top right to the next xml object class.

Leave a Reply

Your email address will not be published. Required fields are marked *