Re: [PHP] URL restriction on XML file

2005-03-30 Thread Roger Thomas
Hi Marek, Thank you for the solution. -- Roger Quoting Marek Kilimajer <[EMAIL PROTECTED]>: > That's because the character data is split on the borders of the > entities, so for > > http://feeds.example.com/?rid=318045f7e13e0b66&cat=48cba686fe041718&f=1 > > characterData() will be called 5 ti

Re: [PHP] URL restriction on XML file

2005-03-30 Thread Marek Kilimajer
That's because the character data is split on the borders of the entities, so for http://feeds.example.com/?rid=318045f7e13e0b66&cat=48cba686fe041718&f=1 characterData() will be called 5 times: http://feeds.example.com/?rid=318045f7e13e0b66 & cat=48cba686fe041718 & f=1 Solution is inlined below R

[PHP] URL restriction on XML file

2005-03-29 Thread Roger Thomas
I have a short script to parse my XML file. The parsing produces no error and all output looks good EXCEPT url-links were truncated IF it contain the '&' characters. My XML file looks like this: --- start of XML --- Test News .Net - Newspapers on the Net Small News Network.com http://www.exam