How to stop <mytag></mytag> being transformed to <mytag/>
Posted: Tue Mar 17, 2009 6:08 pm
I need to preserve empty tag pairs from my source XML document as pairs when running a transform on it to generate a modified XML file and not convert them to the single tag form. (I know it shouldn't matter, but the consuming application insists on the full pair.)
Ticking "Preserve text as is" and/or "Expand empty element" does not stop Saxon "tidying up" my XML..
Anyone know how to make this work? Thanks
Ticking "Preserve text as is" and/or "Expand empty element" does not stop Saxon "tidying up" my XML..
Anyone know how to make this work? Thanks