Search   Articles   Dev Forums   Personalize   Favorites   Member Login   ASP.Net Hosting
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Sunday, November 23, 2008

Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 
FREE 12 month online training for ASP.NET & MS Expression Studio and a Free copy of MS Expression Web with Windows Server Purchase

Home > Search > Articles & Samples > XML And .NET
Search:
What's New - What's Hot
Listings for Data Binding Data Binding (16)
Listings for Migration to .NET Migration to .NET (29)
Listings for Serialization Serialization (46)
Listings for SOAP SOAP (28)
Listings for Template Template (55)
Listings for Transform Data Transform Data (34)
Listings for Visual C# .NET Visual C# .NET (6)
Listings for XML XML (314)
Listings for XML/XSL XML/XSL (40)
Listings for XSL XSL (14)
Listings for XSLT XSLT (69)
 


Search XML records with Operators using LINQ        
Total Hits: 9  |  Today: 0 Author: MicrosoftTechnologist       Rating:  
Read Reviews | Write Review |   Your 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....

Design Pattern for Overriding XML        
Total Hits: 8  |  Today: 0 Author: Serghei Sarafudinov       Rating:  
Read Reviews | Write Review |   Your 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....

Porting Code Through XML        
Total Hits: 8  |  Today: 1 Author: daluu       Rating:  
Read Reviews | Write Review |   Your 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...

Serializing Your Structs Using XML        
Total Hits: 8  |  Today: 1 Author: Bassam Abdul-Baki       Rating:  
Read Reviews | Write Review |   Your 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...

CXml - A Wrapping Class for MSXML 3.0/4.0/5.0/6.0        
Total Hits: 8  |  Today: 0 Author: Jerry.Wang       Rating:  
Read Reviews | Write Review |   Your 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....

XMLHTTPRequest        
Total Hits: 12  |  Today: 1 Author: Muhammad Adnan Amanullah       Rating:  
Read Reviews | Write Review |   Your 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...

XML to HTML, Editable Dropdown List, Sending Large XML Files to SQL, Streaming Media, and More        
Total Hits: 10  |  Today: 0 Author: Nancy Michell       Rating:  
Read Reviews | Write Review |   Your 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....

What's New in MSXML 4.0        
Total Hits: 9  |  Today: 0 Author: Aaron Skonnard       Rating:  
Read Reviews | Write Review |   Your 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...

Beyond ASP: XML and XSL-based Solutions Simplify Your Data Presentation Layer        
Total Hits: 8  |  Today: 0 Author: Scott Howlett and Jeff Dunmall       Rating:  
Read Reviews | Write Review |   Your 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...

SAX, the Simple API for XML        
Total Hits: 8  |  Today: 0 Author: Aaron Skonnard       Rating:  
Read Reviews | Write Review |   Your 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 ...

Threading in MSXML, Sorting XML, Order-by, Changing Mouse Pointer, and More        
Total Hits: 9  |  Today: 0 Author: Nancy Michell       Rating:  
Read Reviews | Write Review |   Your 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...

XML Data Manipulation with ADO 2.5        
Total Hits: 12  |  Today: 0 Author: Ken Spencer       Rating:  
Read Reviews | Write Review |   Your 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....



DevASP.Net - Disclaimer - Privacy
Copyright © 2008 DevASP.net