-
1. Re: XML import error
Manish-SharmaJul 28, 2013 10:21 PM (in response to kanaga kumar)
Hello kanaga kumar,
Here is the fixed code:-
<?xml version="1.0" encoding="UTF-8"?>
<Root xmlns:aid="http://ns.adobe.com/AdobeInDesign/4.0/"
xmlns:aid5="http://ns.adobe.com/AdobeInDesign/5.0/">
<title aid:pstyle="head_large">van vogh art</title>
<intro>vincent willem<dob aid:cstyle="smallcaps">was a dutch...</dob></intro>
</Root>
Couple of flaws:-
1) namespace declaration
2) Didn't closed the "dob" tag
3) There is no attribute as "style" , it has to be pstyle(paragraph style) or cstyle (character style)
Hope this helps.
Thanks,
Manish Sharma
-
2. Re: XML import error
kanaga kumar Jul 29, 2013 6:53 PM (in response to Manish-Sharma)Hi Manish,
Thanks for your reply, i have import the xml file as you suggested coding but other error showing in import the xml file,
<?xml version="1.0" encoding="UTF-8"?>
<Root xmlns:aid="http://ns.adobe.com/AdobeInDesign/4.0/"
xmlns:aid5="http://ns.adobe.com/AdobeInDesign/5.0/">
<Root xmlns:aid="http://ns.adobe.com/adobeInDesign/5.0/">
<title aid:style="head_large">van vogh art</title>
<intro>vincent willem<dob aid:cstyle="smallcaps">was a dutch </dob></intro>
</Root>
How to solve this error.
Thanks
kanaga kumar. k
-
3. Re: XML import error
[Jongware] Jul 30, 2013 1:34 AM (in response to kanaga kumar)Your XML is not well-formed. Using well-formed XML is not just a good idea, it is crucial. You really need to check your input before complaining "it does not work". There are various free tools to check your XML for correctness.
M-S's example is well-formed and so it does not throw this error.