I've developed a structured application for saving my FrameMaker 8.0 documents to XML, but FrameMaker isn't closing the cross-reference elements. For example, my XRefSection cross-reference in FrameMaker is converted to <XRefSection idref = "BABFCCGB" format = "Section_English"> in the resulting XML file, which is invalid. It should be <XRefSection.../> or <XRefSection...></XRefSection> like all the other elements in the XML document.
Every other element is created as they should be with a proper closing tag. I've checked my read/write rules and they seem to be okay. I've also tried post-processing the XML with XSLT, but FrameMaker won't allow it because the XML is invalid. And, the funny thing is, I remember round-tripping with FrameMaker 7.2 and never having this problem.
Does anyone know of a work-around for this that doesn't involve editing the XML? Is there perhaps something in my application that is causing this behaviour?
Thanks in advance for your advice.
Regards,
Morgan
FM 8.0p277