[XML Records] XML reading value in

Forge Component
(35)
Published on 1 Apr (3 weeks ago) by Afonso Carvalho
35 votes
Published on 1 Apr (3 weeks ago) by Afonso Carvalho

Hi there,

I am doing a HL7 FHIR proof of concept using the XML format.

I am taking https://www.hl7.org/fhir/patient-example-a.xml.html as an example.

In the way they pass the values in the XML, like:

<use value="usual"/>

the XmlToRecordList does not assign the value "usual" to my structure.

If I replace it with:

<use>usual</use>

I get the value "usual" in the structure.

From what I saw, the first way of assinging values is valid according to XML standards.

Am i doing something wrong here?

Please let me know.

Regards,

Wilko 

Hello,

Can you confirm what version of the extension you're using? This sounds very similar to this issue:

https://www.outsystems.com/forums/discussion/27622/nested-attributes-in-declaration/#Post168185