문제

I have a PDF template that I am designing in Livecycle Designer ES2. The data binding is XML Schema. For one of the fields I need to bind the data with some formatting. For example: If my XML (based on the schema) is as follows:

<formElement xmlns:ns2="http://it.anas.pdm/anaspcm">
    <elementNode value="FCON" />
</formElement>

How can I access to the value attribute?

I tried with:

xfa.data.formElement.elementNode.getAttribute("value");

but it don't work.

Do you know help me? Thanks.

도움이 되었습니까?

해결책

normally this should work:

xfa.resolveNode("formElement.elementNode.value")
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top