|
|
|
|
|
Total Hits: 9 | Today: 0
|
Author: MicrosoftTechnologist
|
Rating:
|
|

This article demonstrate how to search the records in the xml file with the help of LINQ by using the operator. This article is the example of how to use LINQ with Xml Include the System.Xml.Linq name spce in your cs file. Then add two button control in your form. Then down load the sample which i have attached and keep the sample.xml file in c:/ drive. then paste the following code in your cs file....
|
|
|
|
Total Hits: 8 | Today: 0
|
Author: Serghei Sarafudinov
|
Rating:
|
|

With XML being widely used for defining various system configurations, there is sometimes a need to be able to define some base configuration and then override certain XML elements in separate configuration files for each specific context. The following article presents a generic design pattern for overriding XML elements, and also provides a generic XSL stylesheet based on this pattern that allows merging an overriding XML file with the corresponding base XML structure....
|
|
|
|
Total Hits: 8 | Today: 1
|
Author: daluu
|
Rating:
|
|

This article aims to present a framework for porting source code from one language or platform to another, using XML as the intermediate format in the conversion process. The concept of this article came to my mind last weekend or so while I was thinking about some programming and design related things. I don't know about you, the reader, but I have ported some amount of code from one language to another for work and personal projects. In most cases, I either ported the code due to design/usabil...
|
|
|
|
Total Hits: 8 | Today: 1
|
Author: Bassam Abdul-Baki
|
Rating:
|
|

This article shows how to save a struct into an XML file (using STL), and load it back using Microsoft's MSXML 3.0 parser. If you have Microsoft's MSXML 4.0 parser installed, modify the stdafx.h file to use MSXML4 instead of MSXML3. This code can be modified to use a class instead of a struct. To implement this code in your project, add a call to initialize OLE support by inserting a call to ::AfxOleInit in the application class' InitInstance function. In my demo, this class is called CSerialize...
|
|
|
|
Total Hits: 8 | Today: 0
|
Author: Jerry.Wang
|
Rating:
|
|

This is a wrapping class library for MSXML 3.0/4.0/5.0/6.0 consisting of easy to use classes. The classes include CXml, CXmlNode, CXmlNodes, and CXsl. Copy all the files in the /CXml/*.* directory and add them into your project. Here, I have added a namespace for the classes, you can change it as you like....
|
|
|
|
Total Hits: 12 | Today: 1
|
Author: Muhammad Adnan Amanullah
|
Rating:
|
|

Normally, when you have to do some operation at server side, say some database oriented operation like any of well known CRUD (create, retrieve, update and delete) operations. You will submit whole form/page to server and get a whole new page from server to re paint on your browser. In very few, situations that are ok but mostly its not required at all. Suppose, you have header image, left navigation bar, footer links like (contact us, about us, privacy policy…) and in middle of page some textbo...
|
|
|
|
Total Hits: 10 | Today: 0
|
Author: Nancy Michell
|
Rating:
|
|

I have the same HTML code in both a CDATA-SECTION and a regular text node. I'm using a transform to convert my XML file to an HTML document. However, no matter what I try, whenever I run the transform, the HTML code ends up with character entities rather than HTML tags, so the resulting document won't display correctly in the browser....
|
|
|
|
Total Hits: 9 | Today: 0
|
Author: Aaron Skonnard
|
Rating:
|
|

It was just about a year ago, in the September 2000 issue of MSDN® Magazine, that I wrote about what was new in MSXML 3.0, covering the numerous deltas between versions 2.0 and 3.0. This month's column picks up where that one left off by explaining the various facets of MSXML's continued evolution to version 4.0, which should be released by the time this issue hits the stands. This time around there are just as many significant improvements to discuss, if not more. So even though using XML throu...
|
|
|
|
Total Hits: 8 | Today: 0
|
Author: Scott Howlett and Jeff Dunmall
|
Rating:
|
|

The combination of XML and XSL can provide a powerful alternative to ASP development. This article presents arguments for building even small-scale Internet applications on the XML model. An example written with traditional ASP programming is compared to the same example written with XML and XSL in order to show the benefits of this approach. The example is followed by nine good reasons to make the switch. These reasons include separation of presentation and data, reusability, extensibility, div...
|
|
|
|
Total Hits: 8 | Today: 0
|
Author: Aaron Skonnard
|
Rating:
|
|

Today there are two widely accepted APIs for working with XML: the Simple API for XML (SAX) and the Document Object Model (DOM). Both APIs define a set of abstract programmatic interfaces that model the XML Information Set (Infoset). The DOM models the Infoset through a hierarchy of generic nodes that support well-defined interfaces. Due to the DOM's tree-based model, most implementations demand that the entire XML document be contained in memory while processing. SAX, on the other hand, models ...
|
|
|
|
Total Hits: 9 | Today: 0
|
Author: Nancy Michell
|
Rating:
|
|

The MSXML 4.0 SDK documents say that Msxml2.DOMDocument.4.0 is apartment threaded and Msxml2.FreeThreadedDOMDocument.4.0 is freethreaded. But after I installed the 4.0 package and examined the register, the Msxml2.DOMDocument.4.0 is also marked as "Both" threading models. Can you tell me if the documentation is wrong? Sort of. DOMDocument is not really as limited as "apartment threaded" implies. It will work without problems on any thread, as long as it is never used simultaneously on multiple t...
|
|
|
|
Total Hits: 12 | Today: 0
|
Author: Ken Spencer
|
Rating:
|
|

I recently discovered some features of ActiveX® Data Objects (ADO) 2.5 that make it easier to use XML and your data source in your Web applications. I was working on Internet and intranet apps that run on Windows® 2000, so I could take advantage of ADO 2.5 to make data manipulation easier. Let's take a look at the benefits of ADO 2.5 that I found in my research and how I dealt with some of the problems you may encounter....
|
|
|
|
|
|