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

HTTP Access
Data Islands
Ask a Question
   Past Q&As
C++ Samples
DLL/Version Info
Reference Guide
KB Articles
   August 2002
   September 2002

Microsoft XML Core Services

Select KB Articles Category:
Page: 1  2  3  4  
HOWTO: Move Data from an XML Document into a FoxPro Table

This is a simple example of how the Microsoft XML parser (MSXML) object can be used to move XML data from an XML document into a Microsoft FoxPro table. A FoxPro table similar in structure to the Orders table is created and the data in the XML document is moved to the table.;EN-US;q253713

HOWTO: Get XML Representation Of an ADO Recordset in Visual Basic

When you want an XML representation of a recordset you can use the new ADODB.Stream object to retrieve a string with the XML. In ADO 2.5 it is not necessary to save on a disk using the save method to retrieve the XML string generated by the recordset.;EN-US;q252767

HOWTO: Select a Single Node in an XML Document from a TreeView in Visual Basic

One of the methods added to the IDOMNode object in the IXMLDOMNode interface in Microsoft Internet Explorer 5 (IE5) is the SelectSingleNode method. This method applies a specified pattern-matching operation to a node's context and returns the first matching node. This behavior is similar to the SelectNode method, which returns a list of matching nodes.;EN-US;q252514

HOWTO: Acquire Descriptive Information on an XML Error in Visual Basic

The XML Object Model provides several ways to handle errors when they occur as a result of the XML document. One of these is the document object's ParseError property, which provides information about problems that may occur in an XML document. This information enables you to handle possible errors and shield users from them. The code sample provided in this article demonstrates the use of some of these properties. Unicode data is stored as 2 bytes per character, allowing for proper parsing of international language characters and symbols. However, when you save data of this type in ASCII format, errors occur when you try to open and parse the file.;EN-US;q252339

HOWTO: Locate and Replace Special Characters in an XML Document with Visual Basic

XML predefines five entity references for special characters that would otherwise be interpreted as part of markup language. These five are listed here: & < > "e; ' When creating an XML Document, it is necessary to input these special characters appropriately to insure proper parsing, interpretation, and, subsequently, data display. When creating an XML Document from Visual Basic, one search for these special characters and replace them with the proper Entity Reference is by utilizing the Replace Function. NOTE: Microsoft Visual Basic 6.0 and later products, and Microsoft Office 98 and later products come with a Replace function built-in.;EN-US;q251354

HOWTO: Use XML Data with the Chart Component

This article illustrates how you can use the Microsoft Office Chart Component to plot data from an XML data stream. The Chart used in this sample is bound to a RecordsetDef in a Data Source Component. The RecordsetDef itself is created from Active Server Pages (ASP) script that uses the XML Rowset definition to return an XML data stream.;EN-US;q249805

HOWTO: Populate a Treeview Control with an XML File

This article illustrates how to populate a Treeview control from an XML file in Visual Basic.;EN-US;q244954

HOWTO: Implement Dependencies When Building Distribution Units Manually

This article explains how to use the tools in the Software Development Kit for Java to build Distribution Units (DU) that have dependencies. This article assumes some knowledge of DUs, the software distribution tools found in the SDK and the Open Software Description specification, otherwise known as OSD.;EN-US;q242970

HOWTO: Convert FoxPro Cursor into XML Data Format

This article describes how to create an Extensible Markup Language (XML) data file from a cursor in Visual FoxPro 6.0.;EN-US;q191758

HOWTO: Creating Personalized Channels using ASP

Internet Explorer 4.0 introduces the concept of Active Channels as a means to deliver personalized and up-to-date information to subscribed users, through the use of Channel Definition Format (CDF) files. Using Active Server Pages (ASP) with Microsoft Internet Information Server (IIS), a content provider on the Internet can dynamically generate a custom CDF file to deliver personalized information to users, based on user preferences. This article discusses a sample scenario where a personalized channel could be used using ASP, including the details of implementation;EN-US;q174687

FP98: How to Create a Channel Definition File

This article describes how to create a Channel Definition Format (CDF) file and some of the tags used in the CDF file.;EN-US;q174055

HOWTO: Use the starts-with() XPath Function

It is a common programming requirement when you load and parse an XML document using the Microsoft XML (MSXML) Document Object Model (DOM) to identify elements and/or elements with attributes whose values begin with a specific character or sequence of characters. This article includes a code sample that demonstrates how you can use the starts-with XML Path Language (XPath) string function to implement this requirement.;EN-US;q303516

HOWTO: Install Client Certificate on IIS Server for ServerXMLHTTP Request Object

Starting with the Microsoft XML Parser version 3.0 Service Pack 1 release (Msxml3.dll, file version 8.10.8308), ServerXMLHTTP supports Secure Sockets Layer (SSL) with client certificates. This article explains how to install a client certificate on Micrososft Internet Information Server (IIS), which is required to make HTTPS requests to Web servers that require client digital certificates.;EN-US;q301429

HOWTO: Create an Generic ASP Page to Test XSL Transformations

When you develop XML-based, server-side Active Server Pages (ASP) applications, it is a common programming requirement to load Extensible Markup Language (XML) and Extensible Stylesheet Language Transformation (XSLT) documents into instances of the Microsoft XML (MSXML) DOMDocument object and use an XSLT style sheet to programmatically transform the XML.
This article demonstrates how to create a generic ASP page that allows you to evaluate the outcome of using different XSLT documents to transform an XML document without adding or modifying an processing instruction in the XML document.;EN-US;q301394

HOWTO: Get and Set a Property on a Public Folder Item Using WebDAV

In Exchange 2000 you can get and set properties by using Web Distributed Authoring and Versioning (WebDAV). This article provides a Visual Basic example of how to use the WebDAV PROPFIND and PROPPATCH commands to get and set a property on a public folder item.;EN-US;q300185

HOWTO: Identify HTTP Errors When You Use the ServerXMLHTTP Object

When you use the Microsoft XML (MSXML) ServerXMLHTTP object to run an HTTP operation (such as POST, GET, and PUT) that is unsuccessful, a trappable run-time error is not raised. Instead, if a problem is encountered while trying to run an HTTP operation, Microsoft Internet Information Server (IIS) returns a response code and description that indicates an error.
To access the response code and description that IIS returns, examine the Status and StatusText properties of the ServerXMLHTTP object. In application code that uses the MSXML ServerXMLHTTP object to run HTTP operations, you must examine the value of its Status and StatusText properties to determine whether the operation was successful.;EN-US;q299566

HOWTO: Persist Server-Side XML in a Client-Side, Hidden HTML Element

To persist server-side XML in client-side, hidden HTML elements and access it in client-side script, you can use a combination of server-side Active Server Pages (ASP) and client-side scripts. This article includes a code sample that demonstrates how to implement this process.;EN-US;q299388

Page: 1  2  3  4  

  Contact Us |  | Site Guide | About PerfectXML | Advertise ©2004 All rights reserved. | Privacy