D
Deepan Perl XML Parser
Hi all,
I am having a string like below:
<responseStatus>HTTP/1.1 200 OK</responseStatus>
<cookies></cookies>
<headers>
<header name="Accept-Ranges">bytes</header>
<header name="Content-Encoding">gzip</header>
<header name="Content-Length">5375</header>
<header name="Content-Type">text/html</header>
<header name="Date">Wed, 19 Mar 2008 10:00:30 GMT</header>
<header name="ETag">"1667999478"</header>
<header name="Last-Modified">Wed, 19 Mar 2008 10:00:01 GMT</header>
<header name="Server">Cricbuzz- Blazing Fast</header>
<header name="Vary">Accept-Encoding</header>
</headers>
<content>
<contentLength>17958</contentLength>
<compression>70.069</compression>
<encodingScheme>gzip</encodingScheme>
<text><![CDATA[
<html>..<head>...</body>..<!-- The template body ends -->..</html>.
]]></text>
<mimeType>text/html</mimeType>
</content>
------------------------------------------------
I want to insert new line at the end of every end tag[ex:- </
responseStatus>].
Thanks,
Deepan
I am having a string like below:
<responseStatus>HTTP/1.1 200 OK</responseStatus>
<cookies></cookies>
<headers>
<header name="Accept-Ranges">bytes</header>
<header name="Content-Encoding">gzip</header>
<header name="Content-Length">5375</header>
<header name="Content-Type">text/html</header>
<header name="Date">Wed, 19 Mar 2008 10:00:30 GMT</header>
<header name="ETag">"1667999478"</header>
<header name="Last-Modified">Wed, 19 Mar 2008 10:00:01 GMT</header>
<header name="Server">Cricbuzz- Blazing Fast</header>
<header name="Vary">Accept-Encoding</header>
</headers>
<content>
<contentLength>17958</contentLength>
<compression>70.069</compression>
<encodingScheme>gzip</encodingScheme>
<text><![CDATA[
<html>..<head>...</body>..<!-- The template body ends -->..</html>.
]]></text>
<mimeType>text/html</mimeType>
</content>
------------------------------------------------
I want to insert new line at the end of every end tag[ex:- </
responseStatus>].
Thanks,
Deepan