Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6133723
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T17:15:53+00:00 2026-05-23T17:15:53+00:00

in my app I am facing following two problems I am trying to show

  • 0

in my app I am facing following two problems

  1. I am trying to show some text from strings.xml file stored in res/values folder. The problem is whenever I enter the & it shows an error as follows:

    Multiple annotations found at this line:
    – The entity name must immediately follow the ‘&’ in the entity
    reference.
    – error: Error parsing XML: not well-formed (invalid token)

When I remove it the error gets cleared. how to use such special characters in my app

  1. When I click a button in my app it hits an url and in return I am getting an return data as follows

    <img src="http://xxxxxxxxxxxxxxxxxxx/test.php%3Fcode_hash%3Da8c159f35af&amp;guid=ON"/>
    

I want to get this url removing the img src="

I tried using the replacewith(“”,””);

But here I am unable to give the " within the double quotes.

How to solve the above issues?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T17:15:54+00:00Added an answer on May 23, 2026 at 5:15 pm

    In XML strings for & (ampersand) you need to use &amp; and quotes (single or double) need to be escaped,

    <string name="with_amp">I, Me &amp; Myself</string>
    <string name="with_quotes>Single quote \' and Double quotes \"</string>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently facing the following issue: My app dynamically creates images (320 x 480
We're creating a new consumer/public-facing ASP.Net web app. There are two concerns: --Use cookie
I'm working on an iPhone app and facing some troubles with my shared singleton
I'm facing problem when migrate my web app project from development server to live
I've created an OSX app using Jar Bundler from Xcode following this howto: http://www.centerkey.com/mac/java/
I am create my first iphone app however facing lots of problems now.. I
I have an app which was facing recurring server errors when on M/S datastore
I am facing a problem on developing my web app, here is the description:
I am facing this problem upon pushing my app to Heroku: 500 internal server
We have been facing Out of Memory errors in our App server for sometime.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.