[xsde-users] Feature request: "Short" closing of elements that only have attributes

Reynolds, David dpreynolds at srcinc.com
Thu Dec 4 14:08:31 EST 2014


Consider the following Cursor-On-Target snippet, as serialized by XSD/e using the built-in serializers:

  <detail>
    <sensor azimuth="35" elevation="1.4" fov="12" north="56" vfov="3"></sensor>
    <contact callsign="TangoAlpha"></contact>
  </detail>

It would be nice if the library recognized that the element consisted of only attributes and therefore could use the shorter closing sequence:
  <detail>
    <sensor azimuth="35" elevation="1.4" fov="12" north="56" vfov="3"/>
    <contact callsign="TangoAlpha"/>
  </detail>

Best regards,

Dave.


More information about the xsde-users mailing list