Link to home
Start Free TrialLog in
Avatar of richardhaeger
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="SEARCH_RESULT" msdata:UseCurrentLocale="true">
....
</xs:element>
</xs:schema>
<diffgr:diffgram>
<DocumentElement>
...
</DocumentElement>
<diffgr:before>
...
</diffgr:before>
</diffgr:diffgram>
</DataTable>

Any help?

Regards
ASKER CERTIFIED SOLUTION
Avatar of abel
abel
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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