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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T09:08:17+00:00 2026-05-13T09:08:17+00:00

<EFM> <projects> <project name=EFM Columbus Supply Chain Project> <characteristics> <characteristic name=Types of Data> <textDescription></textDescription>

  • 0
<EFM>
    <projects>
        <project name="EFM Columbus Supply Chain Project">
            <characteristics>
                <characteristic name="Types of Data">
                    <textDescription></textDescription>
                    <options>
                        <option name="Commodity Flow" value="True"/>
                        <option name="Industry Assets" value="False"/>
                        <option name="Trade Data" value="True"/>
                        <option name="Infrastructure" value="False"/>
                        <option name="Economic Data" value="False"/>
                        <option name="Benefits Information" value="True"/>
                        <option name="Supply Chain Event Data" value="False"/>
                        <option name="Physical Movement Data" value="False"/>
                        <option name="Other" value="True"/>
                    </options>
                </characteristic>
            </characteristics>
    </project>
   </projects>
</EFM>

I want to select a XMLList of nodes by this criteria

<Projects>.<project>.@name = x    &&  <Projects>.<project>.<characteristics>.<characteristic>.<options>.<option>.(@name == y && @value == z)

Essentially query by both attributes [name and value] for a given project name

  • 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-13T09:08:18+00:00Added an answer on May 13, 2026 at 9:08 am
    trace(xml.projects.project.(@name == "EFM Columbus Supply Chain Project").characteristics.characteristic.options.option.(@name == "Other" && @value == "True").toXMLString());
    
    //traces <option name="Other" value="True"/>
    
    //broken down to fit in the screen:
    trace(
      xml.projects.project.(
        @name == "EFM Columbus Supply Chain Project"
      ).characteristics.characteristic.options.option.(
          @name == "Other" && @value == "True"
      ).toXMLString()
    );
    

    UPDATE: Just in case you want to get the project tag instead of the option tag:

    var xml:XML = 
    <EFM>
      <projects>
        <project name="EFM 1" id="wrong">
          <characteristics>
            <characteristic name="Types of Data">
              <options>
                <option name="Benefits Information" value="True"/>
                <option name="Supply Chain Event Data" value="False"/>
                <option name="Physical Movement Data" value="False"/>
                <option name="Other" value="True"/>
              </options>
            </characteristic>
          </characteristics>
        </project>
        <project name="EFM 1" id="right">
          <characteristics>
            <characteristic name="Types of Data">
              <options>
                <option name="Benefits Information" value="True"/>
                <option name="Supply Chain Event Data" value="False"/>
                <option name="Physical Movement Data" value="False"/>
                <option name="Other" value="False"/>
              </options>
            </characteristic>
          </characteristics>
        </project>
        <project name="EFM 2" id="wrong">
          <characteristics>
            <characteristic name="Types of Data">
              <options>
                <option name="Benefits Information" value="True"/>
                <option name="Supply Chain Event Data" value="False"/>
                <option name="Physical Movement Data" value="False"/>
                <option name="Other" value="False"/>
              </options>
            </characteristic>
          </characteristics>
        </project>
      </projects>
    </EFM>;
    

    The E4X:

    trace(xml.projects.project.(@name == "EFM 1" && characteristics.characteristic.options.option.(@name == "Other").@value == "False").toXMLString());
    
    //broken down to fit in the screen
    trace(
      xml.projects.project.(
        @name == "EFM 1" && characteristics.characteristic.options.option.(
          @name == "Other"
        ).@value == "False"
      ).toXMLString()
    );
    

    The output:

    <project name="EFM 1" id="right">
      <characteristics>
        <characteristic name="Types of Data">
          <options>
            <option name="Benefits Information" value="True"/>
            <option name="Supply Chain Event Data" value="False"/>
            <option name="Physical Movement Data" value="False"/>
            <option name="Other" value="False"/>
          </options>
        </characteristic>
      </characteristics>
    </project>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a EFM which is mapped with a POCO Entity, and m using
Currently the efm i used on mac is set efm=%A\ %#[javac]\ %f:%l:\ %m,%A\ %#[aapt]\
A long question, please bear with me. We are using Spring+JPA for a web
I want to redirect output from cscope to Vim quickfix window. The glue part
I need somehow pass double fromH, double toH, UIElement control to the AnimateH method
I read the docs, but got even more confused. I have the following error
I wanted to create a link on my page where I simply wanna open
I have a series of strings in the following format: String a = Agregator

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.