Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

How to handle xml Attributes?

$
0
0

Hallo,

I am new at Livecycle and I have some trouble to figure out how to read/bind XML attributes in LiveCycle Designer.

If I drag & drop elements (#data from Data View) they appear without problems. But if I drag&drop an attribute (@attributename) they always show up empty at the PDF.

For example I have a XML File that Looks like that:

<product>

....

         <price>

            <oldprice visible="true">

                <priceA visible="false">1.350,00</priceA>

                <priceB visible="true">1.350,00</priceB>

                <priceC visible="true">20,00</priceC>

                <priceD visible="false">0,00</priceD>

            </oldprice>

            <newprice visible="true">

                <priceA visible="false">1.350,00</priceA>

                <priceB visible="true">1.350,00</priceB>

                <priceC visible="true">20,00</priceC>

                <priceD visible="false">0,00</priceD>

            </sonderpreise>

          </price>

...

</product>

I tried to bind it like that: price.oldprice.(visible.value=="true").priceA but it does not work.

I can´t really find some good informations about handling XML Attribute in LiveCycle. Can someone please help me or tell me where to find more Information about that subject.

Thank you!!!

Regards Kat


Viewing all articles
Browse latest Browse all 5571

Trending Articles