Re: Can I enforce escapeing on XML reserved chars?

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 UTC