×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Sep 2008
    Posts
    45

    XML Element tag name

    Hi,

    I'm parsing an XML using Dom Parser. But I need to know the tagname of the root element. I've tried with the following code for root element:

    iReader = CSenXmlReader::NewL();
    iPBase = CSenDomFragment::NewL();
    iReader->SetContentHandler(*iPBase);
    iPBase->SetReader(*iReader);
    iReader->ParseL(aBuffer);

    CSenElement& root = iPBase->AsElement();
    TDesC8 rootTagName = root.LocalName();

    But I always get the character "\b". Anyone knows how to solve this mistake?

    Thanks

    Maria

  2. #2
    Super Contributor
    Join Date
    Apr 2007
    Posts
    2,708

    Re: XML Element tag name

    maybe im mistaken but this seems like C++ to me ?
    so u might have posted this on wrong forum...

  3. #3
    Registered User
    Join Date
    Sep 2008
    Posts
    45

    Re: XML Element tag name

    Sorry That's true

Similar Threads

  1. XML writing and Appending the Problem
    By talk2mishal in forum Mobile Java General
    Replies: 3
    Last Post: 2008-09-19, 19:24
  2. XML into a NFC tag
    By marosiz in forum Near Field Communication
    Replies: 0
    Last Post: 2008-07-10, 09:10
  3. xml parsing : the 2nd root tag isn't parsed
    By strike_noir in forum Symbian
    Replies: 2
    Last Post: 2008-06-10, 10:15
  4. How to get the next element for XML file?
    By neoliu1980 in forum Symbian
    Replies: 1
    Last Post: 2008-05-30, 08:59

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×