Showing posts with label xml. Show all posts
Showing posts with label xml. Show all posts
Saturday, November 28, 2009
Tuesday, September 8, 2009
Wednesday, October 29, 2008
VB.NET : XML Literals and Embedded Expressions
Allowing XML literals is a nice feature in VB9.
Beth Massi wrote a nice article
http://www.code-magazine.com/article.aspx?quickid=0807061
Beth Massi wrote a nice article
http://www.code-magazine.com/article.aspx?quickid=0807061
Sunday, September 21, 2008
LINQ to XML
Simple Query Sample
Sample File
<books>
<book><title>Python</title><author>Guido</author></book>
<book><title>Haskell</title><author>Books</author></book>
</books>
Module Module1
Sub Main()
Dim doc = XDocument.Load("c:\books.xml").Elements
Dim query = From data In doc.Elements _
Where data.Element("title") = "Python"
For Each g In query
Console.WriteLine(g.Element("author").Value)
Next
Console.ReadLine()
End Sub
End Module
Sample File
<books>
<book><title>Python</title><author>Guido</author></book>
<book><title>Haskell</title><author>Books</author></book>
</books>
LINQ to XML Samples
A few samples on querying XML with LINQ
http://www.thomasclaudiushuber.com/blog/tag/linq/
http://www.thomasclaudiushuber.com/blog/tag/linq/
Saturday, September 20, 2008
Load xml document to DataSet
This article describes the process
http://www.java2s.com/Code/VB/XML/LoadxmldocumenttoDataSet.htm
http://www.java2s.com/Code/VB/XML/LoadxmldocumenttoDataSet.htm
Subscribe to:
Posts (Atom)