Attach Value to Table Element Tag in XMLPort

ArmondsArmonds Member Posts: 66
Is it possible to add Value to Table Element Tag in XMLPort Export?

XML file output must be:
<Line>1
<Customer>First</Customer>
</Line>
<Line>2
<Customer>Second</Customer>
</Line>

Where XMLPort is:
TagName TagType SourceType DataSource
Line Element Table Customer(Customer)
Customer Element Field Customer::No.

Comments

  • IsakssonMiIsakssonMi Member Posts: 77
    This is not valid, you can't have both a value and an element inside an element. You say that your output file must be non-valid XML?
    You don't have an unique root element as well.

    Try to use attributes instead:
    <Lines>
    <Line no="1" customer="First" />
    <Line no="2" customer="Second" />
    </Lines>
  • ArmondsArmonds Member Posts: 66
    Thanks for replay. That was specification from Client.

    Non valid XML is a good argument. :)
Sign In or Register to comment.