Skip to main content

Guys, I need some help with my XML. In some parts of my document, characters like "&gt" and "&lt" appear. Specifically inside the <data_dictionary></data_dictionary> tag, where I perform an update using the xmlUpdater transformer. What could be causing this?

Hi ​@francisco_1988 ,

If you intend to replace the contents of the target element with XML contents stored in a feature attribute, you will have to set "XML/XQuery" to the Value Type column and use the "fme:get-xml-attribute" function in the Value column to get the attribute value in order to treat it as an XML fragment, not a string value. See the XMLUpdater Help to learn more.


Olá@francisco_1988 ,

Se você pretende substituir o conteúdo do elemento de destino por conteúdo XML armazenado em um atributo de recurso, será necessário definir "XML/XQuery" na coluna Tipo de Valor e usar a função "fme:get-xml-attribute" na coluna Valor para obter o valor do atributo e tratá-lo como um fragmento XML, não como um valor de string. Consulte a Ajuda do XMLUpdater para saber mais.

Thank you sr. Takashi!