All right, no-one seems to have a clue. Perhaps relevant: I'm using Windows which uses [lf][cr] to mark new lines, compared to unix where simply [lf] is used. Could this be why?
Thanks for posting your solution. All to often I notice people get things to work and simply post something like "I got it, thanks". Although this is great, It really annoys me when I search this forum and can't find the answer because it wasn't added at the end of the thread.
I know I too am guilty, but I just wanted to point it out and say thanks me'
Originally posted by bcarl314 I know I too am guilty, but I just wanted to point it out and say thanks me'
No problem
Quote:
am i correct to assume that you later change all occurances of [ot] and [ct] into < and > respectively?
Yep, I was passing a string with < and > into an XSLT file, and getting well formed errors, so I swapped out < and > with [ot] and [ct], and use another str_replace later on.