W3C home > Mailing lists > Public > www-forms@w3.org > May 2008

Re: Can I enforce escapeing on XML reserved chars?

From: Erik Bruchez <ebruchez@orbeon.com>
Date: Thu, 15 May 2008 10:33:10 -0700
Message-Id: <AA2332BC-9A1F-4B19-BCB4-00919C6FCDED@orbeon.com>
To: www-forms@w3.org

Adam,

Do you mean that people are editing XML documents with an editor?

For text content within elements, you could use a CDATA section to  
make their life easier. But for attributes, I don't think this is  
possible unless you have first a conversion step.

-Erik

On May 15, 2008, at 4:18 AM, Adam Flinton wrote:

>
> Dear All,
>
> We have a constraint attribute which can contain Xpath statements e.g.
>
> "count(glossaryOfTerms) < 1"
>
> & other places where people have to insert XML fragments as examples  
> of what a message etc should look like.
>
> Is there any way to enforce the above becoming :
>
> "count(glossaryOfTerms) &lt; 1"
>
>
> ?
>
>
> TIA
>
>
> Adam

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/
Received on Thursday, 15 May 2008 17:35:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:22:12 GMT