Werner,

> How does your mapping look like ?

Sorry, I thought I had included that in my post, but I had some email
client problems last night.  My mapping looks like this:

    ...
    <field name="currentString" type="string" node="attribute">
        <bind-xml name="type"   location="candidate/address"/>
    </field>
    <field name="instanceCtreet" type="string" node="text">
        <bind-xml name="street" location="candidate/address"/>
    </field>
    <field name="instanceCity" type="string" node="text">
        <bind-xml name="city"   location="candidate/address"/>
    </field>
    <field name="instanceState" type="string" node="text">
        <bind-xml name="city"   location="candidate/address"/>
    </field>

    <field name="previousString" type="string" node="attribute">
        <bind-xml name="type"   location="candidate/address"/>
    </field>
    <field name="instanceCtreet" type="string" node="text">
        <bind-xml name="street" location="candidate/address"/>
    </field>
    <field name="instanceCity" type="string" node="text">
        <bind-xml name="city"   location="candidate/address"/>
    </field>
    <field name="instanceState" type="string" node="text">
        <bind-xml name="city"   location="candidate/address"/>
    </field>
    ...

     Unfortunately, the attribute seems to be ignored and it runs the two
tag sets together inside a single <address> tag set, so the output it
produces looks like this:

    <address>
        <street>foo</street>
        <city>bar</city>
        <state>baz</state>
        <street>bat</street>
        <city>xyzzy</city>
        <state>elbereth</state>
    </address>


Steven J. Owens
[EMAIL PROTECTED]



-------------------------------------------------
If you wish to unsubscribe from this list, please 
send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------

Reply via email to