perfectxml.com
 Basic Search  Advanced Search   
Topics Resources Free Library Software XML News About Us
  home » Focus » MSXML » KB Articles Thu, Oct 11, 2007
NEWS
MSXML 4.0 SP2 now available!

 
MSXML
Basics
DOM
SAX
XPath
XSLT
Schemas
SOM
HTTP Access
.NET
Data Islands
Ask a Question
   Past Q&As
C++ Samples
DLL/Version Info
Reference Guide
Books
KB Articles
   HOW TO
   SAMPLE
   INFO
   BUG/PRB
   FIX
   Misc.
MSXML Tips
   August 2002
   September 2002
MSXML Tools

Microsoft XML Core Services

Select KB Articles Category:
Page: 1  2  3  4  
HOW TO: Integrate a SOAP Toolkit Client with an Apache SOAP 2.2 XML Web Service

This article explains how to integrate a Microsoft SOAP Toolkit client with an Apache SOAP-based Web service. To use this article, you will need an existing Web Services Description Language (WSDL) file that has been created by using the IBM Web Services Toolkit, and you must know how to read and edit WSDL files.
HOW TO: Integrate an Apache SOAP 2.2 Client with a SOAP Toolkit XML Web Service

This article describes how to write an Apache SOAP 2.2 client for a Microsoft SOAP Toolkit-based Web service.
HOW TO: Trace ServerXMLHTTP Calls Using the Winhttptracecfg Tracing Tool in XML

This step-by-step article describes how to use the Winhttptracecfg tool to configure tracing features that are built into WinHTTP 5.0. This article also provides a user interface that you can use if you want to use Winhttptracecfg from a command line prompt.
HOWTO: Enable Compression and Decompression of Data By Using XMLHTTP Code

Data that is returned to a browser can be compressed and decompressed by using XMLHTTP. HTTP compression allows Internet Information Services (IIS) to send compressed content to a client, and URLMON is responsible for the decompression on the client side.
HOWTO: Use the contains() XPath Function When You Are Programming the MSXML DOM

When you use the Microsoft XML (MSXML) Document Object Model (DOM) in code to load and parse an XML document, it is common programming practice to identify elements and/or elements with attributes whose data contains a specified string value or word. This article documents a code sample that demonstrates how you can use the contains XML Path Language (XPath) string function to implement this requirement.
HOWTO: Read and Display Binary Data in ASP Using ServerXMLHTTP

ServerXMLHTTP provides methods and properties for server-safe HTTP access between different Web servers. You can use this object to exchange binary data between these servers through Active Server Pages (ASP).




HOWTO: Send a Binary Stream by Using XMLHTTP

In some cases you may want to send a binary stream to a server. One way to do so is to use the IXMLHTTPRequest object. This article demonstrates how to retrieve an ADO recordset from a server, modify it, and send it back as a stream of binary data.
HOWTO: Send a Message from Visual Basic by Using WebDAV

This article demonstrates how to use WebDAV's PROPFIND and PUT methods to send an e-mail message from Visual Basic.
HOWTO: Determine the Version of MSXML Used by Internet Explorer

This article provides a sample well-formed XML document in Microsoft Internet Explorer and demonstrates how to use Filemon for Windows to determine the version of MSXML that Internet Explorer is using.
HOWTO: Use XML Notepad to Create an XML Document

Microsoft XML Notepad is an application that allows you to create and edit XML documents quickly and easily. With this tool, the structure of your XML data is displayed graphically in a tree structure. The interface presents two panes: one for the structure, and one for the values. You may add elements, attributes, comments, and text to the XML document by creating the tree structure in the left pane and entering values in the right pane's corresponding text boxes.
HOWTO: Capture TCP and HTTP Data Frames Using Network Monitor and MSXML HTTP code

Network Monitor is a utility that ships with Microsoft Windows 2000 Server and with Microsoft Systems Management Server. With Network Monitor, you can capture and observe network traffic patterns and problems.
HOWTO: Specify Namespace when Querying the DOM with XPath

With the Microsoft XML Parser (MSXML) 3.0 release, XPath provides a convenient way to query XML documents and return a node or a node set. When you use XPath query with the selectSingleNode and selectNodes methods of the IXMLDOMNode object, you must use qualified names.




HOWTO: Submit Form Data by Using XMLHTTP or ServerXMLHTTP Object

In some cases, you may want to send data to a port or server so that you can use the Form collection on the Request object in the page or listening application. To do this, you need to add headers to notify the receiver that the body contains data that can be accessed from the Form collection.
HOWTO: Use XPath Queries in MSXML DOM selectNodes Method

XML Path Language (XPath) queries can be used to query the XML documents with DOM methods such as selectNodes or selectSingleNode. The default query that is used is XSLPattern for backward compatibility. To use XPath, change the SelectionLanguage internal property of DOMDocument to XPath. XPath adds lot of functionality; for example, it allows you to use functions such as string-length and sum.
HOWTO: Merge Data in Two XML Documents by Programming the Document Object Model (DOM)

This article documents a Visual Basic code sample that demonstrates how to program the MSXML Document Object Model (DOM) to merge the data that is contained in two identical XML documents.
HOWTO: Use an XML DataSource with the Office XP Chart Component

This article illustrates how you can bind the Office XP Chart component to an ActiveX Data Objects (ADO) recordset that is persisted in Extensible Markup Language (XML).
HOWTO: Use a VB ActiveX Component For Word Automation From Internet Explorer

This article demonstrates how you can use an ActiveX component for client-side Automation of Word from a Web page that is rendered in Internet Explorer. There are several benefits to using an ActiveX component from a Web page instead of script that is embedded in the Web page itself:
If you already have Visual Basic code that automates Microsoft Word, you can reuse your code in the browser by converting your Visual Basic project to either an ActiveX EXE or an ActiveX DLL.
Word is not marked safe for scripting. Depending on security settings in Internet Explorer, Word Automation code in script may not run or the user may be prompted with a security warning. Assuming that your ActiveX component meets certain guidelines, it may be marked safe for scripting to avoid these security issues.
Visual Basic has several features that you cannot use with script in a Web page. For example, one feature that is available to Visual Basic but not to Web page script is the ability to call the Windows application programming interface (API).
A common developer scenario is to present users with a Web page interface for creating a Word document by using data from some external source or logic. Although you can use server-side Word Automation to generate the document and stream it back to the client, there are many drawbacks to using a server-side approach that involves Word Automation. The primary drawback is scalability; Word is a very resource-intensive Automation server and is not recommended for document generation on the Web server.
By using an ActiveX component to perform the document generation at the client, you can move the resource-intensive Word Automation away from the Web server. This is the solution that is presented by the sample ActiveX component that is discussed in this article. Although the sample is specific to Word Automation, the same principles may be applied for automating other Microsoft Office applications, such as Microsoft Excel.
HOWTO: Retrieve XML Data Asynchronously with ondataavailable Event

When you handle asynchronous data, it is useful to start processing in parallel with the download as soon as data becomes available. The ondataavailable event fires each time a new chunk of data arrives, so that you can do the transfer immediately. However, the onreadystate event fires when the document load is complete. In order to get the last chunk of data, you must process it when the readyState property equals 4 in the onreadystate event handler.




HOWTO: Automate Word to Perform a Client-Side Mail Merge Using XML from SQL Server

This article demonstrates how to automate Microsoft Word 2000 from client-side script to perform a mail merge for labels. Word 2000 does not have a direct method for using XML data as the data source for a mail merge. The sample illustrates Active Server Pages (ASP) code that streams an XML recordset from a Web server to a client. Client-side script converts this XML data to a delimited text file that is local to the client and then automates Word to perform a mail merge using the local text file as the mail merge data source.
ACC2002: How to Bind a Data Access Page to XML

This article shows you how to bind a data access page to XML to create a read-only view of the page.
Page: 1  2  3  4  


  Contact Us | E-mail Us | Site Guide | About PerfectXML | Advertise ©2004 perfectxml.com. All rights reserved. | Privacy