Hi to all,
I have the following XML parsed with javascript.
I added a doctype - however the #PCDATA type of element SUMMARY does not work. (fyi: it works if I remove the '&' - but that is the whole point)
What am I doing wrong?
-----
XML code:
-----

Code:
<?xml version="1.0" encoding="UTF-8"?>  
<!DOCTYPE catalog [
<!ELEMENT catalog (car)>
<!ELEMENT car (marc,model,summary)>
<!ELEMENT marc (#PCDATA)> 
<!ELEMENT model (#PCDATA)> 
<!ELEMENT summary (#PCDATA)> 
]>
      
<catalog>           
  <car>              
    <marc>Renault</marc>
	<model>Clio</model>
	 <motor>sample </motor>  
	<summary> sample </summary> 	     
  </car>          
  <car>             
    <marc>Audi</marc>             
    <model>A4</model>                
    <type>Break</type>                
    <motor>Diesel</motor>  
    <summary> this is a sample summary for no & </summary>       
</car>       
 </catalog>