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.

0

1 Answer 1

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...

Sign up to request clarification or add additional context in comments.

1 Comment

Actually it's an atom feed parsing.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.