I have this xml fragment in an attribute called distr_formats and need to insert it in a specified location of an xml document (stored in another attribute):
<gmd:distributionFormat>
<gmd:MD_Format>
<gmd:name>
<gco:CharacterString>DWG</gco:CharacterString>
</gmd:name>
<gmd:version>
<gco:CharacterString>r2013</gco:CharacterString>
</gmd:version>
<gmd:fileDecompressionTechnique>
<gco:CharacterString>ZIP</gco:CharacterString>
</gmd:fileDecompressionTechnique>
</gmd:MD_Format>
</gmd:distributionFormat>
<gmd:distributionFormat>
<gmd:MD_Format>
<gmd:name>
<gco:CharacterString>SHP</gco:CharacterString>
</gmd:name>
<gmd:version>
<gco:CharacterString>-</gco:CharacterString>
</gmd:version>
<gmd:fileDecompressionTechnique>
<gco:CharacterString>ZIP</gco:CharacterString>
</gmd:fileDecompressionTechnique>
</gmd:MD_Format>
</gmd:distributionFormat>
These are the parameters in my XMLUpdater transformer:
I'm getting this error and I'm not sure what I'm doing wrong:
invalid expression: syntax error, unexpected ">"
Any idea?
Thanks!