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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T13:31:15+00:00 2026-06-06T13:31:15+00:00

I have an ugly druple-gardens RSS feed coming into flash and I’m using the

  • 0

I have an ugly druple-gardens RSS feed coming into flash and I’m using the same idea as this link. http://www.eccesignum.org/blog/accessing-views-from-flash-in-drupal-gardens to parse it into a new xml structure.

flash code:

            var str = item.description;
            var newString = str.split("&lt;").join("<").split("&gt;").join(">").split("&quot;`").join("\"").split("&nbsp;").join(" ");
            var description = new XML('<description>'+ newString + '</description>');

            trace("myXML = "+description[0]);

I’m trying to see how I can get to each element by names. Here is the first description node.
traced out description xml.

<description>
  <div class="field field-name-field-hometown field-type-text field-label-above">
    <div class="field-label">Home Town:</div>
    <div class="field-items">
      <div class="field-item even">Bemidji, Minnesota (up near where they filmed Fargo)</div>
    </div>
  </div>
  <div class="field field-name-field-school field-type-text field-label-above">
    <div class="field-label">School:</div>
    <div class="field-items">
      <div class="field-item even">UCONN Undergrad / Columbia MBA</div>
    </div>
  </div>
  <div class="field field-name-field-lives field-type-text field-label-above">
    <div class="field-label">Currently Live:</div>
    <div class="field-items">
      <div class="field-item even">Milford, CT</div>
    </div>
  </div>
  <div class="field field-name-field-relationship field-type-text field-label-above">
    <div class="field-label">relationship status:</div>
    <div class="field-items">
      <div class="field-item even">Married with two boys</div>
    </div>
  </div>
  <div class="field field-name-field-tidbit field-type-text-long field-label-above">
    <div class="field-label">tidbit:</div>
    <div class="field-items">
      <div class="field-item even">I’m an avid UCONN fan, a Green Bay Packers shareholder and I golf whenever I get the chance.</div>
    </div>
  </div>
  <div class="field field-name-field-favorite-memory field-type-text-long field-label-above">
    <div class="field-label">Favorite Memory:</div>
    <div class="field-items">
      <div class="field-item even">beating Worthington in the Ping Pong Tournament</div>
    </div>
  </div>
</description>

I have tried to get to field-label with no luck.
Example:

description.div.field-label and the value of the field items

Anyone have any idea how I can get to the elements using the names in the above xml.

  • 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-06-06T13:31:16+00:00Added an answer on June 6, 2026 at 1:31 pm

    Have you tried

    var list:XMLList =yourXML.descendents('div').(attribute('class')=='field-label');
    for each var (node:XML in list) {
       trace(node.text());
    }
    

    ?

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

Sidebar

Related Questions

I have this ugly select list with indents (-) to illustrate hierarchy. I would
I have some ugly xml(if I could change I would) coming to me that
I have this ugly XML which has alot of namespaces on it, when I
I have this ugly code: if ( v > 10 ) size = 6;
I have this ugly SELECT statement : Select 'Urbain' as Véhicule, Count( DISTINCT Plaintes.IDEvenements)
I have this gigantic ugly string: J0000000: Transaction A0001401 started on 8/22/2008 9:49:29 AM
I have an admittedly ugly query to do, to find a particular role related
I have the following array: var idParam = [1,2,3]; I want to send this
I have seen several examples using <a href=<spring:url value='/about/' /> >About </a> I try
I have an ugly data entry task that needs automation. The problem is that

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.