Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2300

Re: PI 7.3 not reading value inside Parent node that has child nodes

$
0
0

Hello Surajkumar,

 

In ESR, elements in data type definition can either have data type assigned to them, or sub-elements, but not both at the same time. In the given example, an element 'Comments' already has sub-element ('Attachment'), thus it cannot be assigned a data type and cannot be assigned a text value. In order to resolve this issue, you shall review data type definition and:

  • Introduce additional element as a sub-element of 'Comments' - for example, 'Comment', that will not have any subsequent child elements and will be assigned the required text value, or
  • Bring the element 'Attachment' one level up so that it becomes sibling element for 'Comments' - when done so, the element 'Comments' will not have any sub-elements and can be assigned data type and corresponding required value.

 

Regards,

Vadim


Viewing all articles
Browse latest Browse all 2300

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>