|
Posted by RedGrittyBrick on March 26, 2008, 7:00 am
Please log in for more thread options
Mr_Noob wrote:
>
> I try to write a perl script that would delete all non xml complient
> lines (ie beginning with "<" and ending ">").
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
<article>
<sect1>
<title>Observations on XML structure</title>
<para>This is a valid XML document.
Most of the lines don't start with an < symbol.
Some of the lines don't end with an > symbol.
Yet it is still valid XML.</para>
</sect1>
</article>
--
RGB
|