[Laszlo-dev] nav.lzx quoting question

Donald Anderson dda at ddanderson.com
Sat Jul 5 18:04:38 PDT 2008


Yes,
         <item title="&amp;lt;canvas&amp;gt;" href="LzCanvas.html" />
appears as '<canvas>', and no lzx changes required.
Thanks!


On Jul 5, 2008, at 7:24 PM, Henry Minsky wrote:

> Sadly, this sounds like a job for double escaping
>
> &amp;amp;
>
> Once for the source code, and once for the HTML text field contents in
> the text view.
>
>
>
>
> On Sat, Jul 5, 2008 at 3:41 PM, Donald Anderson <dda at ddanderson.com>  
> wrote:
>> Now that the text of toc.xml contains '<', like "<view>", I get a  
>> message:
>>  nav.lzx:7.42: The value of the attribute "title" associated
>>  with an element type "item" must not contain the '<' character
>>
>> I've tried some simple things - replacing </> globally in toc.xml  
>> with
>> &lt;/&gt;
>> doesn't give me the error, but the lines shown are blank.  I've made
>> some attempts at writing a quoting function within class linktree  
>> within
>> nav.lzx,
>> but I'm not doing very well.
>> Maybe one of you lzx gurus could help me out?
>> Thanks,
>> - Don
>> --
>> Don Anderson
>> Java/C/C++, Berkeley DB, systems consultant
>>
>> voice: 617-547-7881
>> email: dda at ddanderson.com
>> www: http://www.ddanderson.com
>>
>>
>>
>>
>
>
>
> -- 
> Henry Minsky
> Software Architect
> hminsky at laszlosystems.com


--

Don Anderson
Java/C/C++, Berkeley DB, systems consultant

voice: 617-547-7881
email: dda at ddanderson.com
www: http://www.ddanderson.com



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20080705/77c25aee/attachment-0001.html


More information about the Laszlo-dev mailing list