[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Output of dpkg-scanpackages as XML



On Thu, Jan 06, 2005 at 12:28:47AM +0100, Sven Mueller wrote:
><CDATA>\2<\/CDATA>

<![CDATA[This is the correct syntax for CDATA
It can contain embedded & and < > characters.]]>
The only thing it can't contain is "]]>"

You didn't use an actual CDATA node you used an element named CDATA.
You can leave out the <CDATA> element.

I forgot Depends/Recommends/Suggests/Conflicts lines will contain > and 
< characters so they'd need to be CData'd or replaced with &gt; and &lt; 
as you did.

I expect you're done.



Reply to: