Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
Enaud
Posts: 74
Registered: ‎02-08-2013
My Device: z10
My Carrier: rogers

Re: QXmlStreamReader and '&'

I ended up doing something very similar. Instead of stuffing my xml feed into an QXmlStreamReader object I added the incoming data into a QString via append() API:

rssFeed.append(data);

 

Then I called:

rssFeed.replace(" & ", "&");

And added the new string to the xml stream:
rssXmlStream->addData(rssFeed);

 

It was fairly easy in the end.

 

Thanks for all the help!

 

Eric

Please use plain text.