richardhaeger
asked on
How to avoid getting the "diffgr:before" when reading xml in asp classic
Hello,
I have a web method that returns a Datatable.
The asp classic read it using MSXML2.DOMDocument, but the xml is retrieved using DiffGrams format (the original and current version)
Is it possible to indicate that I only want the current version?
This is part of the xml the asp receives:
<DataTable>
<xs:schema id="NewDataSet">
<xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:MainDataTable="SEAR CH_RESULT" msdata:UseCurrentLocale="t rue">
....
</xs:element>
</xs:schema>
<diffgr:diffgram>
<DocumentElement>
...
</DocumentElement>
<diffgr:before>
...
</diffgr:before>
</diffgr:diffgram>
</DataTable>
Any help?
Regards
I have a web method that returns a Datatable.
The asp classic read it using MSXML2.DOMDocument, but the xml is retrieved using DiffGrams format (the original and current version)
Is it possible to indicate that I only want the current version?
This is part of the xml the asp receives:
<DataTable>
<xs:schema id="NewDataSet">
<xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:MainDataTable="SEAR
....
</xs:element>
</xs:schema>
<diffgr:diffgram>
<DocumentElement>
...
</DocumentElement>
<diffgr:before>
...
</diffgr:before>
</diffgr:diffgram>
</DataTable>
Any help?
Regards
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
btw, here's a simple example of how you can setup your ASP to run the XSLT. It's quite straightforward, really: http://www.inov8design.com.au/articles/xml_xslt_asp.asp