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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T03:29:55+00:00 2026-05-20T03:29:55+00:00

I am trying to get the data from input xml message using functoids. But

  • 0

I am trying to get the data from input xml message using functoids. But this doesn’t seem to work. Below is my XML snippet

<?xml version="1.0" ?>
<ROOT>
    <COMPANIES>
        <COMPANY>
            <NAME>FOO CORP</name>
        </COMPANY>
        <COMPANY>
            <NAME>ACME CORP</name>
        </COMPANY>
    </COMPANIES>
    <INFORMATIONS>
        <INFORMATION>
            <TESTING>
                <TESTS>
                    <NAME>1221</NAME>
                    <TEST>
                        <TEXT>I AM SAM</TEXT>
                    </TEST>
                </TESTS>
                <TESTS>
                    <NAME>21</NAME>
                    <TEST>
                        <TEXT>FADFDF</TEXT>
                    </TEST>
                </TESTS>
                <TESTS>
                    <NAME>3001</NAME>
                    <TEST>
                        <TEXT>SGFGSDFG</TEXT>
                    </TEST>
                </TESTS>
                <TESTS>
                    <NAME>4569</NAME>
                    <TEST>
                        <TEXT>12312</TEXT>
                    </TEST>
                </TESTS>
            </TESTING>
        <INFORMATION>
    </INFORMATIONS>
</ROOT>
  1. First I am trying to loop through COMPANY and get the NAME “ACME CORP”. but which ever functoid i use (scripting, string extract etc) I always get the FOO CORP. I even tried inline XSLT but that also doesn’t seem to work. Any idea how to get the 2nd COMPANY name?

  2. Secondly, I have mapped <TEXT> directly to <node> in my destination schema. What i get is only 2 values from <TEXT>. Not all the <TEXT> are mapped to my <node>. Output i am getting is
    I don’t get is

    I AM SAM
    FADFDF

I don’t get

<node>SGFGSDFG</node>
<node>12312</node>

Any one knows how i could get the values?

Thanks in advance

cheers,

Karthik

  • 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-20T03:29:55+00:00Added an answer on May 20, 2026 at 3:29 am

    Q1: How to get the NAME of the second COMPANY?

    1) Add Iteration functoid (Advanced Functoids) and connect to COMPANY node in your source schema

    2) Add Equal functiod (Logical Functoids) and connect to Iteration functoid

    3) Configure Equal functoid; add constant value 2

    4) Add Value Mapping (Flattening) functoid (Advanced Functoids)

    5) Connect output of Equal to input of Value Mapping

    6) Connect NAME emlement of source schema to input of Value Mapping

    7) Connect output of Value Mapping to destination schema element


    Q2: Not all source TEXT elements are transformed to destination node

    This seems to be a side effect of your mapping concering Q1 and I cannot reproduce your error.

    Check minOccurs and maxOccurs of your source and destination schema for the elements/nodes in question.

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

Sidebar

Related Questions

I am trying to get some XML data with LINQ, but running into a
I'm trying to call the SQL statement below but get the following error: System.Data.SqlClient.SqlException:
What is the best way of handling trying to get data from a DataReader
I'm trying to use jQuery to get data from an ASP.NET web service (SharePoint
Im trying to get a completly data copy from a gridview, itryed clone(), tryed
I am trying to get the DB2 data provider from a 32-bit .Net application
I'm trying to get ReportViewer to display data from a BindingSource (VB.Net Winforms). I
I'm trying get values from a GridView using the following code: foreach (GridViewRow row
am trying to fetch some data from a form, but i cant for some
I'm trying to use rusage statistics in my program to get data similar to

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.