FrameMaker > XML
Hi,
I am exporting fm document to xml using following code
IntT index;
F_PropValsT params, *returnParamsp = NULL;
F_ObjHandleT activeDocId = F_ApiGetId(0, FV_SessionId, FP_ActiveDoc);
params = F_ApiGetSaveDefaultParams();
index = F_ApiGetPropIndex(¶ms, FS_FileType);
params.val[index].propVal.u.ival = FV_SaveFmtXml;
StringT fmFilePath = "C:\\store\\newFM.xml"
F_ApiSave(activeDocId, fmFilePath, ¶ms, &returnParamsp);
F_ApiDeallocatePropVals(¶ms);
F_ApiDeallocatePropVals(returnParamsp);
Able to get xml file successfully but it ignores text frame and convert anchor frame to an image.
Is there any ways to get these too as part of xml text?
Thanks in advance.
Best Regards,
Paresh
