libredwg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libredwg] Guru's script suite


From: R. van Twisk
Subject: Re: [libredwg] Guru's script suite
Date: Mon, 26 May 2014 16:05:57 -0500




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>

You might need to wrap your text with CDATA like so:


<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 &amp; 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]