User bio
404 bio not found
Member since Apr 4

Hi Eduard I have a doubt on creating a XML message to send it through the HTTP . can you help me on this how to create a XML document .. I have tried with the below program but it showing the error <Method does not exist>
and am using Intersystem IRIS 2022.1.1 

set writer = ##class(%XML.Writer).%New()
set root = writer.StartDocument()
set person = root.Node("person")
person.Attribute("id") = "123"
person.Element("name").Characters("John Doe")
set xml = writer.EndDocument()
write xml

Can you help me on this issue

Sridhar has no followers yet.
Global Masters badges:
Sridhar has no Global Masters badges yet.