[Home] [By Thread] [By Date] [Recent Entries]

  • From: Andrew Welch <andrew.j.welch@g...>
  • To: David Carlisle <davidc@n...>
  • Date: Sun, 17 Jul 2011 22:11:36 +0100

On 17 July 2011 21:42, David Carlisle <davidc@n...> wrote:
> On 17/07/2011 20:30, Stephen D Green wrote:
>>
>> because the XML content includes data input into textbox controls, etc
>> in a webpage and we do not want to prevent users inputing '<' and '&'
>
> but surly it's fairly trivial to do a string replace on all such input
> to change < and & to &lt; and &amp; a lot simpler (and more reliable) than
> suggesting the entire xml parsing model changes.

Yep, or better still put it through an xml serialiser...



-- 
Andrew Welch
http://andrewjwelch.com


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member