I don't think we expose any API for setting a text field to be plain text. Maybe we should ?
On Mon, Jul 7, 2008 at 10:40 AM, P T Withington <[EMAIL PROTECTED]> wrote: > Is this a restriction of XML that you can't use <> in a value? > > Would it help to set the html attribute of the text field to false, so you > don't have to double-quote? > > On 2008-07-05, at 19:24 EDT, Henry Minsky wrote: > >> Sadly, this sounds like a job for double escaping >> >> &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 <[EMAIL PROTECTED]> >> 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 >>> </> >>> 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: [EMAIL PROTECTED] >>> www: http://www.ddanderson.com >>> >>> >>> >>> >> >> >> >> -- >> Henry Minsky >> Software Architect >> [EMAIL PROTECTED] > > -- Henry Minsky Software Architect [EMAIL PROTECTED]
