Differences
This shows you the differences between the selected revisions of the page.
2011-03-30 | 2011-03-30 | ||
close log path to quotes (do not know the VB.NET syntax) (martin) | guide_interpreting_xml_log#continuous (martin) | ||
Line 59: | Line 59: | ||
</code> | </code> | ||
- | Note that before you can safely start reading and parsing the XML log file using tree-based parser (such as ''[[http://msdn.microsoft.com/en-us/library/system.xml.xmldocument.aspx|XmlDocument]]'' or ''[[http://msdn.microsoft.com/en-us/library/system.xml.xpath.xpathdocument.aspx|XPathDocument]]''), you need to [[guide_dotnet#exit|wait for WinSCP to finish]]. If you need to read the log file continuously, you need to use stream-based parser (such as ''[[http://msdn.microsoft.com/en-us/library/system.xml.xmlreader.aspx|XmlReader]]''). | + | Note that before you can safely start reading and parsing the XML log file using tree-based parser (such as ''[[http://msdn.microsoft.com/en-us/library/system.xml.xmldocument.aspx|XmlDocument]]'' or ''[[http://msdn.microsoft.com/en-us/library/system.xml.xpath.xpathdocument.aspx|XPathDocument]]''), you need to [[guide_dotnet#exit|wait for WinSCP to finish]]. |
- | Following example shows how to use ''XPathDocument'': | + | If you need to read the log file continuously, you need to use stream-based parser (such as ''[[http://msdn.microsoft.com/en-us/library/system.xml.xmlreader.aspx|XmlReader]]''). See [[guide_interpreting_xml_log#continuous|example]]. |
+ | |||
+ | Following example shows how to use tree-based parsing using ''XPathDocument'': | ||
<code csharp> | <code csharp> |