• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WOXMLDecoder Problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WOXMLDecoder Problem


  • Subject: Re: WOXMLDecoder Problem
  • From: vaibhav srivastava <email@hidden>
  • Date: Tue, 11 Jan 2011 11:03:30 -0800

HI Farrukh,

Thanks for early reply
 I have gone through this documentation already.

my XML looks like 
 <abc>
            <df>featuresDescription</df>
            <eh>
                <lang>en-us</lang>
                <value><p> Some content.</p>

<h4>Heading>

<p>Some more content.</p></value>
            </eh>
        </abc>
Now when i use WOXMLDecoder to parse it i want these html tags to be parsed as normal text  instead they are converting into one more key value pair.
like <value p="some content">

any suggestion

        


On Tue, Jan 11, 2011 at 2:31 AM, Farrukh Ijaz <email@hidden> wrote:
Hi,

Did you check in the documentation before using WOXMLDecoder?

http://www.webobjects.me/API/wo542/com/webobjects/appserver/xml/WOXMLDecoder.html

Can you share the code to properly understand the problem?

You can always get the string using valueForKey method on the dictionary.

Farrukh

On 2011-01-11, at 4:41 AM, vaibhav srivastava wrote:

> Hi All,
>
> I am facing trouble with WOXMLDecoder class while parsing it.
>
> In my xml, I have <p> abc <p> .... while debugging found  that it is converting this html tag to {p=abc}.
>
> and thus giving cast exception NSMutableDictonary cannot be converted to java.lang.String
>
>
> Any suggestions on this?
>
> Thanks for help in advance.
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: WOXMLDecoder Problem
      • From: Mike Schrag <email@hidden>
References: 
 >WOXMLDecoder Problem (From: vaibhav srivastava <email@hidden>)
 >Re: WOXMLDecoder Problem (From: Farrukh Ijaz <email@hidden>)

  • Prev by Date: Localization
  • Next by Date: WOWODC 2011: call for presenters and sponsors
  • Previous by thread: Re: WOXMLDecoder Problem
  • Next by thread: Re: WOXMLDecoder Problem
  • Index(es):
    • Date
    • Thread