How to add xml attributes to temp table fields in Progress

Discussão em 'StackOverflow' iniciado por fdantas, Junho 15, 2016.

  1. fdantas

    fdantas Administrator Moderador

    DEFINE TEMP-TABLE ttTest
    FIELD One AS CHARACTER
    FIELD Two AS CHARACTER
    FIELD Three AS CHARACTER
    .


    I want to have field 'Two' have an attribute 'name' and then a value.

    So it ends up like this...


    <ttTest>
    <One>bla</One>
    <Two name="somethingLifeChanging">blabla</Two>
    <Three>blablabla</Three>
    </ttTest>

    Any ideas how I can go about achieving this?

    Continue reading...

Compartilhe esta Página