简体   繁体   English

Excel XML导出失败

[英]Excel XML Export Failing

I am new to XML. 我是XML的新手。 I am trying to generate xml data from from and excel file to import into an Adobe Indesign workflow. 我正在尝试从excel文件和excel文件生成xml数据,以导入到Adobe Indesign工作流程中。 I have done several simple exports without any trouble but now that I am doing it on a larger scale I'am running into problems. 我已经完成了几次简单的导出,没有任何麻烦,但是现在我正在大规模进行操作,因此遇到了问题。 When I verify map for export its says "A mapped element's relationship with other elements cannot be preserved." 当我验证要导出的地图时,它说“无法保留已映射元素与其他元素的关系”。 Here is a link to the xml and spreadsheet involved. 这是所涉及的xml和电子表格的链接。 Yes I have read Microsoft's documentation on import and export of xml. 是的,我已经阅读了有关xml导入和导出的Microsoft文档。 I have seen where it lists possible reasons for this error but it mostly goes over my head. 我已经看到了列出该错误的可能原因的地方,但是大部分都困扰着我。 Here is a link to the files involved. 这是有关文件的链接。

https://drive.google.com/folderview?id=0B5cm4cpfH2d1UTZ6NzQwSXFwc0U&usp=sharing https://drive.google.com/folderview?id=0B5cm4cpfH2d1UTZ6NzQwSXFwc0U&usp=sharing

我不知道您的项目,但您不能考虑使用Datamerge和选项卡式文本导出格式吗?

I figured it out. 我想到了。 Somehow the content I was wanting to export were in two separate tables. 我想导出的内容以某种方式位于两个单独的表中。 So I copied the content and and pasted it as values into a new sheet. 因此,我复制了内容并将其作为值粘贴到新表中。 That fixed the problem. 这解决了问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM