|
From: | Neil Simmonds |
Subject: | Re: [libredwg] Guru's script suite |
Date: | Mon, 26 May 2014 23:01:27 +0100 |
You might need to wrap your text with CDATA like so:On May 26, 2014, at 3:54 PM, Piyush Parkash <address@hidden> wrote:On Sat, May 24, 2014 at 1:41 AM, Neil Simmonds <address@hidden> wrote:
<snip>1) I have to move the first line date comment after the ?xml version
Yes the date causes problem. I will probably remove it from the xml file.
2) I'm getting an error with MTEXT object that has an '&' in it....
<snip><DwgEntity type="IAcadMText"><![CDATA[{\\This is fine & without the ampersand}]]></DwgEntity>This assuming you are not using a XML generator. If you cannot use CDATA then use & instead of CDATA.This is also true for some of the reserved character’s in XML.If it’s human written, I would suggest to use CDATA.
Any ideas ?
Right Now, None. I am still working on it. I will look into it and
inform you. :)
--
Piyush Parkash
piyushparkash.wordpress.com
[Prev in Thread] | Current Thread | [Next in Thread] |