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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T00:45:24+00:00 2026-06-01T00:45:24+00:00

I have a source schema in which the address may be given either as

  • 0

I have a source schema in which the address may be given either as multiple “AddressLine” elements or as multiple “Street” elements, or a combination. My destination schema simply has multiple “Street” elements. I’m having trouble mapping this with functoids (it’s no problem with custom XSLT but I’d rather use the graphical method for this map). I’ve tried mapping both source elements to a looping functoid and then out of this into the destination element but this just produces XSLT that loops through the source “AddressLine” and “Street” elements but doesn’t write anything to the destination!

I’ve pasted the relevant sections of the source and destination schemas below:

Source

<xsd:complexType name="Address">
    <xsd:sequence>
        <xsd:element name="AddressLine" type="xsd:string" minOccurs="0" maxOccurs="unbounded">
            <xsd:annotation>
                <xsd:documentation>Free format address lines may be used instead of (or in addition to) specific Street etc elements.</xsd:documentation>
            </xsd:annotation>
        </xsd:element>
        <xsd:element name="Street" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
        <xsd:element name="City" type="xsd:string" minOccurs="0"/>
        <xsd:element name="State" type="xsd:string" minOccurs="0">
            <xsd:annotation>
                <xsd:documentation>State/County/Province</xsd:documentation>
            </xsd:annotation>
        </xsd:element>
        <xsd:element name="PostCode" type="xsd:string" minOccurs="0">
            <xsd:annotation>
                <xsd:documentation>Post/ZIP code</xsd:documentation>
            </xsd:annotation>
        </xsd:element>
        <xsd:element name="Country" minOccurs="0">
            <xsd:complexType>
                <xsd:simpleContent>
                    <xsd:extension base="xsd:string">
                        <xsd:attribute name="Code" type="xsd:string" use="optional"/>
                        <xsd:attribute name="Codelist" type="xsd:string" use="optional"/>
                    </xsd:extension>
                </xsd:simpleContent>
            </xsd:complexType>
        </xsd:element>
    </xsd:sequence>
</xsd:complexType>

Destination

<xs:element name="Address" minOccurs="0">
                            <xs:complexType>
                                <xs:sequence>
                                    <xs:element name="Street" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
                                    <xs:element name="City" type="xs:string" minOccurs="0"/>
                                    <xs:element name="State" type="xs:string" minOccurs="0">
                                        <xs:annotation>
                                            <xs:documentation>State/County/Province</xs:documentation>
                                        </xs:annotation>
                                    </xs:element>
                                    <xs:element name="PostCode" type="xs:string" minOccurs="0">
                                        <xs:annotation>
                                            <xs:documentation>Post/ZIP code</xs:documentation>
                                        </xs:annotation>
                                    </xs:element>
                                    <xs:element name="Country" minOccurs="0">
                                        <xs:complexType>
                                            <xs:simpleContent>
                                                <xs:extension base="xs:string">
                                                    <xs:attribute name="Code" type="xs:string"/>
                                                </xs:extension>
                                            </xs:simpleContent>
                                        </xs:complexType>
                                    </xs:element>
                                </xs:sequence>
                            </xs:complexType>
                        </xs:element>
  • 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-01T00:45:26+00:00Added an answer on June 1, 2026 at 12:45 am

    Your links to the looping functoid define the looping structure only. To get the actual data after you define the loop structure, you have to connect the source and destination nodes.

    For your example, drop a looping functoid on the design surface. Connect AddressLine and Street from the source to the looping functoid. Then connect the looping functoid to street in the destination. Now, connect both AddressLine and Street in the source directly to Street in the destination.

    Hopefully that makes sense.

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

Sidebar

Related Questions

I have source XMLfiles that come in with multiple root elements and there is
I have a source of python program which doesn't have any documentation or comments.
I have a sample Solr schema as follows isPublic = boolean source = facebook|
First a little introduction. We have an SQL Server Express 2008 database, which schema
I have an element in the source schema of a map that contains a
I have a fairly simply schema. Essentially, Run <--> Data (where a Run holds
I have source in a bunch of subdirectories like: src/widgets/apple.cpp src/widgets/knob.cpp src/tests/blend.cpp src/ui/flash.cpp In
I have an executable that defaults to 32-bit. It doesn't have source code and
Have a source xml document that uses namespace containing prefixes and a default namespace.
I have a source base that, depending on defined flags at build time, creates

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.