removing a tag from xml generated by nspropertyllist seralization
<p>i have a dictionary called root dictionary and using the propertylist seralization i just converted it into xml format</p>

<pre><code> id plist = [NSPropertyListSerialization dataFromPropertyList:(id)rootObj
                                                          format:NSPropertyListXMLFormat_v1_0 errorDescription:nil];

NSString *plistString = [[NSString alloc] initWithData:plist encoding:NSUTF8StringEncoding];
NSLog(@"the plist is: %@", plistString);
</code></pre>

<p>and the out put is as follows</p>

<pre><code>2011-08-21 23:32:49.324 so7143762iPhone[5474:207] the plist is: &lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt;
&lt;plist version="1.0"&gt;
&lt;dict&gt;
    &lt;key&gt;Lincoln&lt;/key&gt;
    &lt;dict&gt;
        &lt;key&gt;DOB&lt;/key&gt;
        &lt;date&gt;1809-02-12T09:18:00Z&lt;/date&gt;
        &lt;key&gt;Name&lt;/key&gt;
        &lt;string&gt;Abraham Lincoln&lt;/string&gt;
        &lt;key&gt;Scores&lt;/key&gt;
        &lt;array&gt;
            &lt;integer&gt;8&lt;/integer&gt;
            &lt;real&gt;4.9000000953674316&lt;/real&gt;
            &lt;integer&gt;9&lt;/integer&gt;
        &lt;/array&gt;
    &lt;/dict&gt;
    &lt;key&gt;Washington&lt;/key&gt;
    &lt;dict&gt;
        &lt;key&gt;DOB&lt;/key&gt;
        &lt;date&gt;1732-02-17T01:32:00Z&lt;/date&gt;
        &lt;key&gt;Name&lt;/key&gt;
        &lt;string&gt;George Washington&lt;/string&gt;
        &lt;key&gt;Scores&lt;/key&gt;
        &lt;array&gt;
            &lt;integer&gt;6&lt;/integer&gt;
            &lt;real&gt;4.5999999046325684&lt;/real&gt;
            &lt;integer&gt;6&lt;/integer&gt;
        &lt;/array&gt;
    &lt;/dict&gt;
&lt;/dict&gt;
&lt;/plist&gt;
</code></pre>

<p>but i dont want to display the</p>

<pre><code>&lt;!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt;
</code></pre>

<p>can any one please tell me is it possible or not if it is possible please tell me how to do that ....</p>

<p>thanks in advance ......</p>
