Posted by Php Developer on 01/08/08 17:28
I am trying to write "http://www.youtube.com/v/8mVuBC7hQnU&rel=1"
in an XML file as
$nlink->appendChild($this->createElement('URI','http://www.youtube.com/
v/8mVuBC7hQnU&rel=1'));
It gives me error as DOMDocument::createElement()
[function.DOMDocument-createElement]: unterminated entity reference
rel=1
My question is How can I write ampersand(&) symbol in XML file ??
I also tried as $nlink->appendChild($this->createElement('URI','abc
& xyz'));
But It didnt solve my problem.
Navigation:
[Reply to this message]
|