2
 <content type="xhtml">

        <apxh:div>
            <apxh:p>xyz</apxh:p>
            <apxh:p>xyz</apxh:p>
            <apxh:p>xyz</apxh:p>
            <apxh:p>xyz</apxh:p>
            <apxh:p>xyz</apxh:p>

        </apxh:div>
    </content>

I am able to get the "xhtml" present in type by,

       item.getChild(url,CONTENT).setStartElementListener(new StartElementListener() {

        @Override
        public void start(Attributes attributes) {
        str=attributes.getValue("type");


        }
    });
    item.getChild(url,CONTENT).setEndElementListener(new EndElementListener() {

        @Override
        public void end() {
            currentMessage.setType(str);

        }
    });

Now how can i get the "apxh:div" as it is separated by ":"?

Thank you.

zaiff
  • 999
  • 2
  • 13
  • 29

1 Answers1

1

I think you need to parse it for SOAP parsing. The tag patterns of ur Xml shows that, try out using Soap parsing surely help you...

Richa
  • 3,165
  • 1
  • 22
  • 26