[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] Error and Fatal Error
- From: David Carlisle <davidc@nag.co.uk>
- To: stephengreenubl@gmail.com
- Date: Sun, 17 Jul 2011 22:26:27 +0100
On 17/07/2011 22:13, Stephen D Green wrote:
> I don't buy that. And not so easy to replace '<' with
> '<' in just the element content and not the tags.
> ----
I thought you indicated that you were taking strings from user supplied
form data and adding it to xml, in which case you need to escape the xml
syntax characters before you add it to the xml so there is no element
content and no tags to worry about. You don't want to add it then try to
parse to find element content afterwards as if adding the content has
made the xml non well formed you've already lost.
David
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]