Add conditions to already created function to check for illegal characters getting printed in XML file and replace it with legal and also create DTD file for it looking at the output i will share
$10-30 USD
Terminado
Publicado hace alrededor de 8 años
$10-30 USD
Pagado a la entrega
Hi i have a subfunction which is printing in an XML file format. But also it is printing out illegal characters for XML format. Modify the function so that it replaces those illegal characters with legal one and also create a DTD file for the given XML file looking at the output