Re: [PHP] XML. Prevent < from turning into <

2009-09-09 Thread Ralph Deffke
give it a try with PDATA instead of CDATA and see what happns "Ashley Sheridan" wrote in message news:1252512252.2961.40.ca...@localhost... > On Wed, 2009-09-09 at 16:51 +0100, Matthew Croud wrote: > > On 9 Sep 2009, at 16:37, Ashley Sheridan wrote: > > > > > On Wed, 2009-09-09 at 15:14 +0100, M

Re: [PHP] XML. Prevent < from turning into <

2009-09-09 Thread Tony Marston
You need to look at "disable_output_escaping" at http://www.w3.org/TR/xslt#disable-output-escaping -- Tony Marston http://www.tonymarston.net http://www.radicore.org "Matthew Croud" wrote in message news:2c4840c2-45db-4d6c-b5fa-2cb15b171...@obviousdigital.com... > > On 9 Sep 2009, at 14:26, B

Re: [PHP] XML. Prevent < from turning into <

2009-09-09 Thread Ashley Sheridan
On Wed, 2009-09-09 at 16:51 +0100, Matthew Croud wrote: > On 9 Sep 2009, at 16:37, Ashley Sheridan wrote: > > > On Wed, 2009-09-09 at 15:14 +0100, Matthew Croud wrote: > >> On 9 Sep 2009, at 15:09, Ashley Sheridan wrote: > >> > >>> On Wed, 2009-09-09 at 14:46 +0100, Matthew Croud wrote: > On

Re: [PHP] XML. Prevent < from turning into <

2009-09-09 Thread Matthew Croud
On 9 Sep 2009, at 16:37, Ashley Sheridan wrote: On Wed, 2009-09-09 at 15:14 +0100, Matthew Croud wrote: On 9 Sep 2009, at 15:09, Ashley Sheridan wrote: On Wed, 2009-09-09 at 14:46 +0100, Matthew Croud wrote: On 9 Sep 2009, at 14:36, Bob McConnell wrote: From: Bastien Koert On Wed, Sep 9,

Re: [PHP] XML. Prevent < from turning into <

2009-09-09 Thread Ashley Sheridan
On Wed, 2009-09-09 at 14:46 +0100, Matthew Croud wrote: > On 9 Sep 2009, at 14:36, Bob McConnell wrote: > > > From: Bastien Koert > >> On Wed, Sep 9, 2009 at 5:27 AM, Matthew > >> Croud wrote: > >>> > >>> Hiya, > >>> I'm writing an app that let's my client upload images, the image > >>> html c

Re: [PHP] XML. Prevent < from turning into <

2009-09-09 Thread Matthew Croud
On 9 Sep 2009, at 14:36, Bob McConnell wrote: From: Bastien Koert On Wed, Sep 9, 2009 at 5:27 AM, Matthew Croud wrote: Hiya, I'm writing an app that let's my client upload images, the image html code is added to an XML file. Take a look at the element below: e1022 Blue Ski T

Re: [PHP] XML. Prevent < from turning into <

2009-09-09 Thread Eddie Drapkin
On Wed, Sep 9, 2009 at 9:33 AM, Matthew Croud wrote: > > On 9 Sep 2009, at 14:26, Bastien Koert wrote: > >> On Wed, Sep 9, 2009 at 5:27 AM, Matthew Croud >> wrote: >>> >>> Hiya, >>> I'm writing an app that let's my client upload images, the image html >>> code >>> is added to an XML file. >>> Take

Re: [PHP] XML. Prevent < from turning into <

2009-09-09 Thread Matthew Croud
On 9 Sep 2009, at 14:26, Bastien Koert wrote: On Wed, Sep 9, 2009 at 5:27 AM, Matthew Croud wrote: Hiya, I'm writing an app that let's my client upload images, the image html code is added to an XML file. Take a look at the element below: e1022 Blue Ski Trousers 8.99 No

RE: [PHP] XML. Prevent < from turning into <

2009-09-09 Thread Bob McConnell
From: Bastien Koert > On Wed, Sep 9, 2009 at 5:27 AM, Matthew Croud wrote: >> >> Hiya, >> I'm writing an app that let's my client upload images, the image html code >> is added to an XML file. >> Take a look at the element below: >> >> >>    e1022 >>     >>    Blue Ski Trousers >>    8.99 >>   >>

Re: [PHP] XML. Prevent < from turning into <

2009-09-09 Thread Bastien Koert
On Wed, Sep 9, 2009 at 5:27 AM, Matthew Croud wrote: > > Hiya, > I'm writing an app that let's my client upload images, the image html code > is added to an XML file. > Take a look at the element below: > > >    e1022 >     >    Blue Ski Trousers >    8.99 >   > > Now, whenever PHP writes this to

[PHP] XML. Prevent < from turning into <

2009-09-09 Thread Matthew Croud
Hiya, I'm writing an app that let's my client upload images, the image html code is added to an XML file. Take a look at the element below: e1022 Blue Ski Trousers 8.99 Now, whenever PHP writes this to the XML files, it turns the < and > into < and > . which means it