Of course you realize that this can be broken by perfectly valid XML:
<?xml version="1.0"?> <doc> <!-- <?xml version="1.0"?>--> <!-- an XML comment --> <![CDATA[<?xml version="1.0"?> ]]> <!-- a CDATA section --> </doc>
I can't really see any "good" XML way to do this though. Why on Earth doesn't your customer use tar or zip or whatever instead of going a definitely non-XML (and risky) way?
In reply to Re: XML File Slicing Golf(ish)
by mirod
in thread XML File Slicing Golf(ish)
by gregor42
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |