adobe-indesign

InDesign CS5 Script: How can I ignore the DTD when importing XML?

佐手、 提交于 2019-11-28 12:18:51
问题 I am importing XML into InDesign, and I get this message: The external entity 'blahblah.dtd' cannot be found. Continue to import anyway? And when I then continue to import the XML, I get this error message: Javascript Error! Error Number: 103237 Error String: DOM transformation error: Invalid namespace. Engine: session File: C:\blahblah\blahblah.jsx Line: 259 Source: obj.doc.importXML(File(xmlDoc) ); ...the problem is, is that I won't have access to the DTD, and I won't need it for my

Importing XML into InDesign

人走茶凉 提交于 2019-11-28 11:01:57
I am trying to create a template for XML data using InDesign. Basic Structure is: <page> <section1> <product><title></title></product> <product><title></title></product> ... </section1> <section2> .... Each section has a variable number of products. Each template will be created with the correct number of sections (although repeating sections with child products would also work). Is this scenario supported using the Import XML functionality? Can anyone point to a tutorial showing how to set this up? I have tried some examples, but cannot get InDesign to even repeat the products after adding

Importing XML into InDesign

不羁岁月 提交于 2019-11-27 06:00:09
问题 I am trying to create a template for XML data using InDesign. Basic Structure is: <page> <section1> <product><title></title></product> <product><title></title></product> ... </section1> <section2> .... Each section has a variable number of products. Each template will be created with the correct number of sections (although repeating sections with child products would also work). Is this scenario supported using the Import XML functionality? Can anyone point to a tutorial showing how to set