Hi everyone.
I am looking for an XML writing module that will do what I need. I need to write contents of a log file daily to one log file. I tried using XML::Writer but it always appends the <?xml> declaration tag and opening and closing root tags. Is there any package that can add xml to a file everytime it is run w/o always adding the tags that I described?
Mike
EX. I desire...
EX. I keep getting...
I am looking for an XML writing module that will do what I need. I need to write contents of a log file daily to one log file. I tried using XML::Writer but it always appends the <?xml> declaration tag and opening and closing root tags. Is there any package that can add xml to a file everytime it is run w/o always adding the tags that I described?
Mike
EX. I desire...
Code:
<?xml version="1.0" encoding="UTF-8"?>
<root>
<log>
<time></time>
<date></date>
</log>
<log>
<time></time>
<date></date>
</log>
</root>
EX. I keep getting...
Code:
<?xml version="1.0" encoding="UTF-8"?>
<root>
<log>
<time></time>
<date></date>
</log>
<log>
<time></time>
<date></date>
</log>
</root>
<?xml version="1.0" encoding="UTF-8"?>
<root>
<log>
<time></time>
<date></date>
</log>
<log>
<time></time>
<date></date>
</log>
</root>