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 7034687
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T01:12:58+00:00 2026-05-28T01:12:58+00:00

i have one webservices(in PHP) i need to parse it so simply i need

  • 0

i have one webservices(in PHP) i need to parse it so simply i need tag name. so when i viewsource it in browser i got … some span tag are there and it stuch to display data so how can i avoid this?

<weeklyparties>
<details>
<details>
<status>
<weeklypartyid>13</weeklypartyid>
<weeklypartytitle>Thursdays</weeklypartytitle>
<weeklypartydesc><span style=\"font-family: Tahoma; color: #FFFFFF;\">Rare Rooftop - Chelsea</span><br></weeklypartydesc></status></details><details><status><weeklypartyid>14</weeklypartyid><weeklypartytitle>Fridays</weeklypartytitle><weeklypartydesc><span style=\"font-family: Tahoma; color: #FFFFFF;\">Bar Basque</span><br style=\"font-family: Tahoma; color: #FFFFFF;\"><span style=\"font-family: Tahoma; color: #FFFFFF;\">Forum</span><br style=\"font-family: Tahoma; color: #FFFFFF;\"><span style=\"font-family: Tahoma; color: #FFFFFF;\">Ganzevort Park</span><br style=\"font-family: Tahoma; color: #FFFFFF;\"><span style=\"font-family: Tahoma; color: #FFFFFF;\">Hudson Terrace</span><br style=\"font-family: Tahoma; color: #FFFFFF;\"><span style=\"font-family: Tahoma; color: #FFFFFF;\"></span><br></weeklypartydesc></status></details><details><status><weeklypartyid>15</weeklypartyid><weeklypartytitle>Saturdays</weeklypartytitle><weeklypartydesc><span style=\"font-family: Tahoma; color: #FFFFFF;\">Aspen Social Club</span><br style=\"font-family: Tahoma; color: #FFFFFF;\"><span style=\"font-family: Tahoma; color: #FFFFFF;\">Bar Basque</span><br style=\"font-family: Tahoma; color: #FFFFFF;\"><span style=\"font-family: Tahoma; color: #FFFFFF;\">Crimson</span><br style=\"font-family: Tahoma; color: #FFFFFF;\"><span style=\"font-family: Tahoma; color: #FFFFFF;\">Forum</span><br style=\"font-family: Tahoma; color: #FFFFFF;\"><span style=\"font-family: Tahoma; color: #FFFFFF;\">Lexicon</span><br style=\"font-family: Tahoma; color: #FFFFFF;\"><span style=\"font-family: Tahoma; color: #FFFFFF;\">
Lounge 16 (New Highbar)</span><br style=\"font-family: Tahoma; color: #FFFFFF;\"><span style=\"font-family: Tahoma; color: #FFFFFF;\">Hudson Bar</span><br style=\"font-family: Tahoma; color: #FFFFFF;\"><span style=\"font-family: Tahoma; color: #FFFFFF;\">Hudson Terrace</span><br style=\"font-family: Tahoma; color: #FFFFFF;\"><span style=\"font-family: Tahoma; color: 
  • 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-28T01:12:59+00:00Added an answer on May 28, 2026 at 1:12 am

    I asume you want to develop a Java or Android application. In this case you can use a third party library for HTML parsing,like

    • jsoup (see http://jsoup.org/)
    • HTML Parser (see http://htmlparser.sourceforge.net/)

    To find all the weeklypartydesc with jsoup, you would use the following code fragment:

    Document doc = Jsoup.connect("http://your.url/").get();
    Elements partyDesc = doc.select("weeklypartydesc");
    
    for (Element entry : partyDesc)
    {
        // all the weeklypartydesc as string
        Log.i(entry.text().toString());
    }

    This code also removes the br and span elements. You can easily find additional infos on using jsoup on StackOverflow (even in combination with Android). Do not forget to give your application the internet permission.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a few webservices (.net 2.0/ C#) used by many partners. One of
I have one field that I need to sum lets say named items However
I am looking to write some webservices. What defines one unit of service. I
I have some code I've written in PHP for consuming our simple webservice, which
I have a PHP Code, that uses a web service to query some data.
I have a PHP webservice that returns an XML output, and one of the
I have created one application in flex that is accessing the Java webservice using
All the generated webservice-stubs from our backend have an equals-method similar to this one:
I have an existing project that consumes web services. One was added as a
I have one thread that writes results into a Queue. In another thread (GUI),

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.