Composit elements in XML document

Login to reply to this topic.
Thu, 2007-10-25 12:49
Joined: 2004-07-12
Forum posts: 123

Hi,

I was fedling around with the XML example in http://wiki.forum.nokia.com/index.php/How_to_parse_XML_file_using_CParser_class

I it is working fine with the sample XML document like the following:

<note>
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
</note>

BUT, when i add some composit element like the following to the above XML the parser does not parse it:

...
<map class="grid" property="aligned" id="123" />
...

The parser reads the "map" and straight away triggers OnEndElement() without reading the other sub-elements (class, property and id) in the map element.
HOW CAN I ACHIEVE THIS?

thanks
Abolfoooud


Thu, 2007-10-25 13:03
Joined: 2004-07-12
Forum posts: 123
Re: Composit elements in XML document

Hi,

I amanged to sort this out. Here is the solution
http://discussion.forum.nokia.com/forum/showthread.php?p=355570#post355570

AF

  • Login to reply to this topic.