May 2004 - Posts

18 May 2004
How to use XPath with XML and XSL?
Ever wondered how this can be achieved? Just imagine a scenario where you would need to pass the xpath to xslt so that you query out some specific nodes or imagine that you need to pass the sort arguments to xslt so that you can sort the contents according the user needs. For that purpose I have written... Read More...
18 May 2004
My Article Management Project on GotDotNet
I created yesterday night a new GotDotNet project. This project will be used to build a Article Management System (AMS). This is similar to a content management system. This system is based on XML and XSL. We will not use any SQL Server or any other database - only pure XML :) For that project I would... Read More...
Filed under:
17 May 2004
How to update an xml file using XmlDocument?
This code snippet shows you how to update a xml file using XmlDocument. How to update an xml file using XmlDocument? Sonu [The xml how to archieve contains 9 how to's.] Read More...
17 May 2004
How to Bind Nested XML to a Repeater Control with Container.DataItem?
My article about binding nested xml elements with Container.DataItem has been published on CodeGuru . From the article: "The container.DataItem is an easy-to-use method to bind XML to a control. You can use a repeater, list control, or any other control to bind the XML. If you have have worked with XML... Read More...
16 May 2004
How to create a new xml file with XmlDocument?
This code will create new xml file from scratch. The file does not exist now and will be created with the help of the class XmlDocument . How to create a new xml file with XmlDocument? Sonu Read More...
16 May 2004
How to create the xml declaration tag using XmlDeclaration?
Whenever you create a xml file you will need to include the xml declaration according to W3C. This code snippet shows you how to achieve this. How to create the xml declaration tag using XmlDeclaration? Sonu Read More...
16 May 2004
How to Auto-Increment an Unique ID in XML Part III
After reading a bit about the XmlReader class, I recognized that it is much faster then other classes. This class provides you a fast non-cached stream access to the input. Furthermore you can read files that are larger than 2GB. The XmlTextReader and XmlValidatingReader do not provide this, there are... Read More...
16 May 2004
XML how to's !
In the last time I have shown many small "how to's" about XML in my blog. Don't worry this will not stop. Instead I have created a new article section called " XML How To's . This section will include small snippets of xml code which I write and think will be useful for you. Each time I write a new ... Read More...
14 May 2004
How to Auto-Increment an Unique ID in XML Part II
After the great suggestions which I received in How to Auto-Increment an Unique ID in XML , I re-designed the code according to the suggestions. The current code will now also work with ID's that are not sequential and it will find the highest ID. If you are going to work with the code and xml, then... Read More...
14 May 2004
How to Auto-Increment an Unique ID in XML
In some cases you will need to create unique ID's for each node in your xml file. For example just think of something like an employee xml file. Let say your xml file looks like this (In the xml example, I assume that there will be always a person id.). <?xml version="1.0" encoding="ISO-8859-1"?>... Read More...
More Posts « Previous page - Next page »