perfectxml.com
 Basic Search  Advanced Search   
Topics Resources Free Library Software XML News About Us
home » info bank » .NET XML KB Articles » HOWTO Tue, Jan 15, 2008
.NET XML KB Articles
HOWTO

HOW TO INFO BUG PRB FIX

Page: 1  2  3  4  5  6  7  8  9  

Use Extension Objects When You Execute XSL Transformations in Visual Basic .NET Applications
KB: 321702
In-line script blocks and external code components can be used to implement custom routines that are invoked during the course of an XSL transformation (XSLT) to perform calculations and process data. Microsoft recommends that you avoid the usage of in-line script blocks, and instead use external code components to implement such custom routines when you design portable XSLT style sheets. External code components that are used by XSLT are referred to as XSLT Extension objects.

This step-by-step article describes how to set up and test sample ASP.NET applications based on a possible real world scenario to demonstrate how to use Extension objects while you execute XSLT in Microsoft .NET applications.
View this KB Article...

Pipeline XSLT Transformations in .NET Applications
KB: 320847
This article demonstrates how to pipeline XSL Transformation (XSLT) transformations in .NET applications. The term "Pipelining" in the context of XSLT transformations, is the process by which the data in a source Extensible Markup Language (XML) document is incrementally transformed by a sequence of two or more XSLT stylesheets to generate the final required output. During the process, the output that is generated by each intermediate phase in the transformation pipeline is used as the input to the following phase all the way through to the final transformation phase that generates the output that you want.

The .NET Framework classes in the System.Xml.Xsl, System.Xml.XPath, and the System.IO namespaces can be used to programmatically pipeline XSLT transformations in .NET applications. The following sections of this article provide instructions to help you implement and examine the process of pipelining XSLT transformations in an ASP.NET application. The illustrated concept can also be applied and used in other types of .NET applications that have to pipeline XSLT transformations.
View this KB Article...

Update Server Data Through a Web Service by Using ADO.NET and Visual J# .NET
KB: 320634
This step-by-step article demonstrates how to use an Web service to receive and to update data from a database by using a DataSet object. This article also demonstrates how to reference the Web service in a client application and how to display the returned DataSet in a DataGrid control so that you can update that data and send the updates back to the server. NOTE: You can only use the method in this article for single-table updates.
View this KB Article...

Update Parent-Child Data with an Identity Column from a Windows Forms Application by Using a Web Service in Visual C# .NET
KB: 320301
This step-by-step article describes how to retrieve a DataSet object from a Web service, how to send DiffGram updates to the Web service, and then how to merge the updated DiffGram back into the client DataSet.
View this KB Article...

Transform a DataSet to Spreadsheet XML for Excel by Using Visual Basic .NET and ASP .NET
KB: 319180
This step-by-step article describes how to transform a DataSet to Spreadsheet XML that can be rendered in Excel. The Excel Spreadsheet XML format supports element tags and attributes for Excel functionality such as multi-sheet workbooks, formulas, and cell formatting.
View this KB Article...

Use the XPathException Class in Visual C# .NET
KB: 318547
This step-by-step article demonstrates how to write exception handling code to trap and handle an XPathException (System.Xml.XPath.XPathException). Writing error handling code to catch an XPathException when executing the Select and Compile methods of the XPathNavigator object will help to identify exceptions caused by an invalid XPath query expression.
View this KB Article...

Specify Namespaces When You Use an XmlDocument to Execute XPath Queries in Visual C# .NET
KB: 318545
This step-by-step article demonstrates how to use the System.Xml.XmlDocument class to execute XPath queries against XML documents that define and use namespace prefixes to qualify element and attribute names.
View this KB Article...

Use the AddSort Method of the XPathExpression Object in Visual C# .NET
KB: 318542
This step-by-step article demonstrates how to use the AddSort method of the System.Xml.XPath.XPathExpression class to sort the results of an XML Path Language (XPath) query that is based on a specified element or attribute.
View this KB Article...

Validate XML Fragments Against an XML Schema in Visual C#.NET
KB: 318504
This step-by-step article describes how to use XmlValidatingReader and XMLSchemaCollection objects to validate an Extensible Markup Language (XML) fragment against an XML schema.

XmlValidatingReader implements the XmlReader class and provides support for XML data validation. The Schemas property of XmlValidatingReader connects the reader to the schema files cached in an XmlSchemaCollection. The ValidationType property of XmlValidatingReader specifies the type of validation the reader should perform. If you set the property to ValidationType.None, you create a nonvalidating reader.

You can only add XML Schema Definition Language (XSD) schemas and XML-Data Reduced (XDR) schemas to XmlSchemaCollection. Use the Add method with a namespace URI to load schemas. For XML schemas, the typical namespace URI is the targetNamespace property of the schema.
View this KB Article...

Use the System.Xml.XmlDocument Class to Execute XPath Queries in Visual C# .NET
KB: 318499
This step-by-step article describes how to execute XPath queries by using the SelectNodes and SelectSingleNode methods of the XmlDocument class.

The System.Xml.XmlDocument class implements the core XML Document Object Model (DOM) parser for the .NET Framework. You can use the SelectNodes and the SelectSingleNode methods of the System.Xml.XmlDocument class to programmatically execute XPath queries against XML data that is loaded into the DOM.
View this KB Article...

Send and Receive Binary Documents by Using an ASP.NET Web Service and Visual C# .NET
KB: 318425
This step-by-step article shows you how to build a Web service and a Web service client to send and receive binary documents by using Microsoft ASP.NET and Microsoft Visual C# .NET. You can use ASP.NET and Visual C# .NET to build a Web service that both saves binary documents to a folder on a Web server and retrieves binary documents from a folder on a Web server. You can use this service as a simple Document Management System on the Web.
View this KB Article...

Perform Output Caching with Web Services in Visual C# .NET
KB: 318299
This step-by-step article describes how to create a sample ASP.NET Web service that uses output caching. Output caching caches the output response result of a Web service based on the Duration attribute that is specified for a corresponding WebMethod.
View this KB Article...

Make a Typed DataSet Return a Default Value Instead of DBNull by Using Visual C# .NET
KB: 318048
This step-by-step article describes how to change the XML Schema file to make a typed DataSet return a default value instead of DBNULL. Visual Studio .NET may return an exception if the value of a DataRow is DBNULL, so you must handle the exception properly for values that are DBNULL. If you modify the default value for DBNULL fields, you can retrieve a value you specify other than DBNULL.
View this KB Article...

Make a Typed DataSet Return a Default Value Instead of DBNull by Using Visual Basic .NET
KB: 318039
This step-by-step article describes how to change the XML Schema file to make a typed DataSet return a default value instead of DBNULL. Visual Studio .NET may return an exception if the value of a DataRow is DBNULL, so you must handle the exception properly for values that are DBNULL. If you modify the default value for DBNULL fields, you can retrieve a value you specify other than DBNULL.
View this KB Article...

Write an XSD Schema from a Database by Using a DataSet
KB: 317940
Use this step-by-step guide to write an XSD schema from a database. This article focuses on the following two scenarios:
  • How to write an XSD schema from a DataSet object with one table where all columns are not required in the resulting XSD schema.
  • How to write an XSD schema from a DataSet object with multiple datatables where all tables are not required in the resulting XSD schema.
To create an XSD schema from a database, you can use the DataSet object in .NET Framework. The DataSet object reads and writes XML files. The DataSet object can contain heirarchical or relational data. Therefore, it can take data from a relational store and render it in a hierarchical format.
View this KB Article...


Page: 1  2  3  4  5  6  7  8  9  

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