I am facing a problem while using the Node.OuterHtml property to get the html for a specific node.
If the page i am parsing contains a node like
<asp:PlaceHolder ID="testID" runat="server" Visible='<%#((OrderItemType)Eval("OrderItemType")==OrderItemType.Product)%>'>
then the outerHtml property that i get for this node is as follows:
<asp:placeholder id="testID" runat="server" visible="<%#((OrderItemType)Eval("OrderItenType")==OrderItemType.Product)%>">
The main problem is that the attribute value of 'visible' attribute is enclosed in single quotes in the original page but when i get the
outerhtml for this node, the attributeValues are always enclosed in double quotes which results in an invalid value for the mentioned attribute.
So i need a way to find what was used in the original document for enclosing attribute values. Is this possible? Please do let me know.