Skip to main content
Tweeted twitter.com/StackGIS/status/801388104603070465
deleted 7 characters in body
Source Link
Robert Buckley
  • 10.3k
  • 14
  • 80
  • 160

​I am converting excel to xml using FME 2016 and the XML Templater.

When a field is empty, my xml is invalid because my schema requires

<TAGNAME xsi:nil="true" /> 

but instead gets

<BR_VERFUELLUNG<TAGNAME />

which doesn't validate against empty values. Does anyone know how FME can resolve this?

​I am converting excel to xml using FME 2016 and the XML Templater.

When a field is empty, my xml is invalid because my schema requires

<TAGNAME xsi:nil="true" /> 

but instead gets

<BR_VERFUELLUNG />

which doesn't validate against empty values. Does anyone know how FME can resolve this?

​I am converting excel to xml using FME 2016 and the XML Templater.

When a field is empty, my xml is invalid because my schema requires

<TAGNAME xsi:nil="true" /> 

but instead gets

<TAGNAME />

which doesn't validate against empty values. Does anyone know how FME can resolve this?

edited title; edited tags
Link
PolyGeo
  • 65.4k
  • 29
  • 114
  • 345

how to deal Dealing with empty values in xml using FME XML Templater?

Source Link
Robert Buckley
  • 10.3k
  • 14
  • 80
  • 160

how to deal with empty values in xml using FME XML Templater?

​I am converting excel to xml using FME 2016 and the XML Templater.

When a field is empty, my xml is invalid because my schema requires

<TAGNAME xsi:nil="true" /> 

but instead gets

<BR_VERFUELLUNG />

which doesn't validate against empty values. Does anyone know how FME can resolve this?