Duplicate xml header

tracy

New Member
I have a fragment of xml as below:\[code\]<?xml version="1.0" encoding="utf-8"?><!-- _lcid="1033" _version="14.0.4731" _dal="1" --><!-- _LocalBinding --><?xml version="1.0" encoding="utf-8"?><Templates xmlns:ows="Microsoft SharePoint"> <Template Name="PowerPointBroadcast" ID="3001"> <Configuration ID="0" Title="PowerPoint Broadcast Site" /> </Template></Templates>\[/code\]As you can see there are two headers \[code\]<?xml version="1.0" encoding="utf-8"?>\[/code\] which caused XmlDocument.Load faulted.Could anybody tell how to handle such situation?thanks
 
Back
Top