<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1037244412990877714</id><updated>2011-11-27T17:10:30.511-08:00</updated><category term='xml'/><category term='.net'/><category term='xsl'/><category term='css'/><category term='serialize'/><category term='w3c'/><category term='xml. visual basic'/><category term='html'/><category term='style'/><title type='text'>How To XML</title><subtitle type='html'>How to XML, xsl, data, files, programming.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://howtoxml.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1037244412990877714/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://howtoxml.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Administrador</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>9</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1037244412990877714.post-6416188587980453501</id><published>2007-07-23T09:10:00.001-07:00</published><updated>2007-07-23T09:10:40.017-07:00</updated><title type='text'>XML Basics - An Introduction to XML</title><content type='html'>&lt;DIV&gt;&lt;FONT face=Tahoma size=2&gt;Introduction to XML by Jan Egil Refsnes&lt;BR&gt;What is  XML, and how does it differ from HTML. &lt;/FONT&gt;&lt;/DIV&gt; &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt; &lt;DIV&gt;&lt;FONT face=Tahoma size=2&gt;How XML can be used by Jan Egil Refsnes&lt;BR&gt;Some of  the different ways XML can be used. &lt;/FONT&gt;&lt;/DIV&gt; &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt; &lt;DIV&gt;&lt;FONT face=Tahoma size=2&gt;XML Syntax by Jan Egil Refsnes&lt;BR&gt;The syntax rules  of XML. How to write well formed XML documents. &lt;/FONT&gt;&lt;/DIV&gt; &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt; &lt;DIV&gt;&lt;FONT face=Tahoma size=2&gt;XML Attributes by Jan Egil Refsnes&lt;BR&gt;How to use  attributes to provide additional information about elements. &lt;/FONT&gt;&lt;/DIV&gt; &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt; &lt;DIV&gt;&lt;FONT face=Tahoma size=2&gt;XML Validation - Document Type Definition by Jan  Egil Refsnes&lt;BR&gt;Using a DTD is the formal way to describe a valid XML document.  &lt;/FONT&gt;&lt;/DIV&gt; &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt; &lt;DIV&gt;&lt;FONT face=Tahoma size=2&gt;XML support in Internet Explorer and Netscape  Navigator by Jan Egil Refsnes&lt;BR&gt;About the support for XML in the two most  famous browsers. &lt;/FONT&gt;&lt;/DIV&gt; &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt; &lt;DIV&gt;&lt;FONT face=Tahoma size=2&gt;Viewing XML by Jan Egil Refsnes&lt;BR&gt;How to view XML  files in your browser. &lt;/FONT&gt;&lt;/DIV&gt; &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt; &lt;DIV&gt;&lt;FONT face=Tahoma size=2&gt;Displaying XML by Jan Egil Refsnes&lt;BR&gt;How to  display XML content using JavaScript, CSS or XSL &lt;/FONT&gt;&lt;/DIV&gt; &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt; &lt;DIV&gt;&lt;FONT face=Tahoma size=2&gt;XML Examples by Jan Egil Refsnes&lt;BR&gt;A collection  of examples from all the chapters of this Web. &lt;/FONT&gt;&lt;/DIV&gt; &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt; &lt;DIV&gt;&lt;FONT face=Tahoma size=2&gt;XML Links by Jan Egil Refsnes&lt;BR&gt;A collection of  useful XML links. &lt;BR&gt;&lt;/FONT&gt;&lt;/DIV&gt; &lt;DIV&gt;&lt;FONT face=Tahoma size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;div class="blogger-post-footer"&gt;How to XML, xsl, data, files, programming&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1037244412990877714-6416188587980453501?l=howtoxml.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://howtoxml.blogspot.com/feeds/6416188587980453501/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1037244412990877714&amp;postID=6416188587980453501' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1037244412990877714/posts/default/6416188587980453501'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1037244412990877714/posts/default/6416188587980453501'/><link rel='alternate' type='text/html' href='http://howtoxml.blogspot.com/2007/07/xml-basics-introduction-to-xml.html' title='XML Basics - An Introduction to XML'/><author><name>Administrador</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1037244412990877714.post-4310618729889220680</id><published>2007-07-12T06:16:00.001-07:00</published><updated>2007-07-12T06:16:07.688-07:00</updated><title type='text'>How to add style to XML</title><content type='html'>&lt;DIV&gt;&lt;FONT face=Verdana size=2&gt;The CSS2 Recommendation contains a brief tutorial  on using CSS with XML (see § 2.2). At the time CSS2 was written the official  specification for style in XML wasn't ready. Here is what that tutorial should  have contained. Note that the examples use CSS, but in most cases the style  rules can also be written in XSL.&lt;/FONT&gt;&lt;/DIV&gt; &lt;DIV&gt;&lt;FONT face=Verdana size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt; &lt;DIV&gt;&lt;FONT face=Verdana size=2&gt;&lt;STRONG&gt;External style  sheets&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/DIV&gt; &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt; &lt;DIV&gt;&lt;FONT face=Verdana size=2&gt;HTML has a link element to link to external style  sheets, but not every XML-based format will have such an element. If there is no  suitable element, you can still attach external style sheets by means of the  xml-stylesheet processing instruction like this:&lt;/FONT&gt;&lt;/DIV&gt; &lt;DIV&gt;&lt;FONT face=Verdana size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt; &lt;DIV&gt;&lt;FONT face=Verdana size=2&gt;&amp;lt;?xml-stylesheet href="my-style.css"  type="text/css"?&amp;gt;&lt;BR&gt;... rest of document here...&lt;/FONT&gt;&lt;/DIV&gt; &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt; &lt;DIV&gt;&lt;FONT face=Verdana size=2&gt;This processing instruction (PI) must come before  the first tag of the document. The type="text/css" is not required, but it helps  the browser: if it doesn't support CSS, it knows it won't have to download this  file.&lt;/FONT&gt;&lt;/DIV&gt; &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt; &lt;DIV&gt;&lt;FONT face=Verdana size=2&gt;Just as with the link element of HTML, there can  be multiple xml-stylesheet PIs and they can have attributes to set the type,  medium and title.&lt;/FONT&gt;&lt;/DIV&gt; &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt; &lt;DIV&gt;&lt;FONT face=Verdana size=2&gt;Here is a larger example. Let's assume we have  three style sheets, one that sets the basic display type of each element  (inline, block, list-item, etc.) and two different ones that each set colors and  margins. The two last ones are each other's alternative, and the reader of the  document may choose which one to use. Except when the document is printed, in  which case we only want to use the last style. Here is the common style  sheet:&lt;/FONT&gt;&lt;/DIV&gt; &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt; &lt;DIV&gt;&lt;FONT face=Verdana size=2&gt;/* common.css */&lt;BR&gt;INSTRUMENT { display: inline  }&lt;BR&gt;ARTICLE, HEADLINE, AUTHOR, PARA { display: block }&lt;/FONT&gt;&lt;/DIV&gt; &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt; &lt;DIV&gt;&lt;FONT face=Verdana size=2&gt;This is one of the alternative styles, in a file  called "modern.css":&lt;/FONT&gt;&lt;/DIV&gt; &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt; &lt;DIV&gt;&lt;FONT face=Verdana size=2&gt;/* modern.css */&lt;BR&gt;ARTICLE { font-family:  sans-serif; background: white; color: black }&lt;BR&gt;AUTHOR { margin: 1em; color:  red }&lt;BR&gt;HEADLINE { text-align: right; margin-bottom: 2em }&lt;BR&gt;PARA {  line-height: 1.5; margin-left: 15% }&lt;BR&gt;INSTRUMENT { color: blue }&lt;/FONT&gt;&lt;/DIV&gt; &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt; &lt;DIV&gt;&lt;FONT face=Verdana size=2&gt;And here is the other one, called  "classic.css":&lt;/FONT&gt;&lt;/DIV&gt; &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt; &lt;DIV&gt;&lt;FONT face=Verdana size=2&gt;/* classic.css */&lt;BR&gt;ARTICLE { font-family:  serif; background: white; color: #003 }&lt;BR&gt;AUTHOR { font-size: large; margin:  1em 0 }&lt;BR&gt;HEADLINE { font-size: x-large; margin-bottom: 1em }&lt;BR&gt;PARA {  text-indent: 1em; text-align: justify }&lt;BR&gt;INSTRUMENT { font-style: italic  }&lt;/FONT&gt;&lt;/DIV&gt; &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt; &lt;DIV&gt;&lt;FONT face=Verdana size=2&gt;The XML document with these three style sheets  linked to it looks like this:&lt;/FONT&gt;&lt;/DIV&gt; &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt; &lt;DIV&gt;&lt;FONT face=Verdana size=2&gt;&amp;lt;?xml-stylesheet href="common.css"  type="text/css"?&amp;gt;&lt;BR&gt;&amp;lt;?xml-stylesheet href="modern.css" title="Modern"  media="screen"&lt;BR&gt;&amp;nbsp; type="text/css"?&amp;gt;&lt;BR&gt;&amp;lt;?xml-stylesheet  href="classic.css" alternate="yes"&lt;BR&gt;&amp;nbsp; title="Classic" media="screen,  print" type="text/css"?&amp;gt;&lt;BR&gt;&amp;lt;ARTICLE&amp;gt;&lt;BR&gt;&amp;nbsp;  &amp;lt;HEADLINE&amp;gt;Fredrick the Great meets Bach&amp;lt;/HEADLINE&amp;gt;&lt;BR&gt;&amp;nbsp;  &amp;lt;AUTHOR&amp;gt;Johann Nikolaus Forkel&amp;lt;/AUTHOR&amp;gt;&lt;BR&gt;&amp;nbsp;  &amp;lt;PARA&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; One evening, just as he was getting his  &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;INSTRUMENT&amp;gt;flute&amp;lt;/INSTRUMENT&amp;gt; ready and  his&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; musicians were assembled, an officer brought him a  list of&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; the strangers who had arrived.&lt;BR&gt;&amp;nbsp;  &amp;lt;/PARA&amp;gt;&lt;BR&gt;&amp;lt;/ARTICLE&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt; &lt;DIV&gt;&lt;FONT face=Verdana size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt; &lt;DIV&gt;&lt;FONT face=Verdana size=2&gt;For more details, see the W3C Recommendation  "Associating Style Sheets with XML documents"&lt;/FONT&gt;&lt;/DIV&gt; &lt;DIV&gt;&lt;FONT face=Verdana size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;div class="blogger-post-footer"&gt;How to XML, xsl, data, files, programming&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1037244412990877714-4310618729889220680?l=howtoxml.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://howtoxml.blogspot.com/feeds/4310618729889220680/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1037244412990877714&amp;postID=4310618729889220680' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1037244412990877714/posts/default/4310618729889220680'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1037244412990877714/posts/default/4310618729889220680'/><link rel='alternate' type='text/html' href='http://howtoxml.blogspot.com/2007/07/how-to-add-style-to-xml.html' title='How to add style to XML'/><author><name>Administrador</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1037244412990877714.post-2720451478492144989</id><published>2007-07-03T11:43:00.001-07:00</published><updated>2007-07-03T11:43:22.546-07:00</updated><title type='text'>Building Accessible Web Sites with XHTML and CSS Problem Design Solution</title><content type='html'>&lt;DIV&gt; &lt;LI&gt;Shows Web developers how to make the transition from HTML to XHTML, an  XML-based reformulation of HTML that offers greater design flexibility&lt;BR&gt; &lt;LI&gt;Demonstrates how to work with CSS (Cascading Style Sheets)now supported by  ninety percent of browsers and integral to new site-building tools from  Macromedia and othersand implement a consistent style throughout and entire  site&lt;BR&gt; &lt;LI&gt;Explains how to make a site accessible to people with impaired vision,  limited hand use, dyslexia, and other issuesnow a legal requirement for many  sites in the U.S. and the U.K.&lt;/LI&gt;&lt;/DIV&gt;&lt;div class="blogger-post-footer"&gt;How to XML, xsl, data, files, programming&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1037244412990877714-2720451478492144989?l=howtoxml.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://howtoxml.blogspot.com/feeds/2720451478492144989/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1037244412990877714&amp;postID=2720451478492144989' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1037244412990877714/posts/default/2720451478492144989'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1037244412990877714/posts/default/2720451478492144989'/><link rel='alternate' type='text/html' href='http://howtoxml.blogspot.com/2007/07/building-accessible-web-sites-with.html' title='Building Accessible Web Sites with XHTML and CSS Problem Design Solution'/><author><name>Administrador</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1037244412990877714.post-1088566129219127937</id><published>2007-06-26T06:35:00.001-07:00</published><updated>2007-06-26T06:35:17.441-07:00</updated><title type='text'>How to install Microsoft XML Parser and Microsoft XML Core Services (MSXML)</title><content type='html'>&lt;DIV&gt; &lt;H2 class=subTitle id=tocHeadRef&gt;&lt;FONT face=Verdana  size=2&gt;Introduction&lt;/FONT&gt;&lt;/H2&gt; &lt;SCRIPT type=text/javascript&gt;loadTOCNode(1, 'summary');&lt;/SCRIPT&gt;  &lt;DIV class=sbody&gt;&lt;FONT face=Verdana size=2&gt;With Microsoft XML Core Services  (MSXML), formerly known as the Microsoft XML Parser, customers can build  XML-based applications that follow the World Wide Web Consortium (W3C) XML  standards. MSXML is a Component Object Model (COM) implementation of the W3C DOM  model.&lt;/FONT&gt;&lt;/DIV&gt; &lt;DIV class=sbody&gt;&lt;FONT face=Verdana size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt; &lt;DIV class=sbody&gt; &lt;H3 id=tocHeadRef&gt;&lt;FONT face=Verdana size=2&gt;How to install Microsoft XML Parser  3.0&lt;/FONT&gt;&lt;/H3&gt; &lt;SCRIPT type=text/javascript&gt;loadTOCNode(2, 'moreinformation');&lt;/SCRIPT&gt; &lt;FONT face=Verdana size=2&gt;To install Microsoft XML Parser 3.0, follow these  steps: &lt;/FONT&gt; &lt;TABLE class="list ol"&gt;   &lt;TBODY&gt;   &lt;TR&gt;     &lt;TD class=number&gt;&lt;FONT face=Verdana size=2&gt;1.&lt;/FONT&gt;&lt;/TD&gt;     &lt;TD class=text&gt;&lt;FONT face=Verdana size=2&gt;Check if the operating system        meets the requirement to install Microsoft XML Parser 3.0.&lt;BR&gt;&lt;BR&gt;The        following operating systems are support by Microsoft XML Parser 3.0:        &lt;/FONT&gt;       &lt;TABLE class="list ul"&gt;         &lt;TBODY&gt;         &lt;TR&gt;           &lt;TD class=bullet&gt;&lt;FONT face=Verdana size=2&gt;&lt;/FONT&gt;&lt;/TD&gt;           &lt;TD class=text&gt;&lt;FONT face=Verdana size=2&gt;Windows 2000&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;         &lt;TR&gt;           &lt;TD class=bullet&gt;&lt;FONT face=Verdana size=2&gt;&lt;/FONT&gt;&lt;/TD&gt;           &lt;TD class=text&gt;&lt;FONT face=Verdana size=2&gt;Windows Server            2003&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;         &lt;TR&gt;           &lt;TD class=bullet&gt;&lt;FONT face=Verdana size=2&gt;&lt;/FONT&gt;&lt;/TD&gt;           &lt;TD class=text&gt;&lt;FONT face=Verdana size=2&gt;Windows          XP&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;/TR&gt;   &lt;TR&gt;     &lt;TD class=number&gt;&lt;FONT face=Verdana size=2&gt;2.&lt;/FONT&gt;&lt;/TD&gt;     &lt;TD class=text&gt;&lt;FONT face=Verdana size=2&gt;Download Microsoft XML Parser        3.0.&lt;BR&gt;&lt;BR&gt;For more information about how to download Microsoft XML        Parser 3.0, click the following article number to view the article in the        Microsoft Knowledge Base: &lt;/FONT&gt;       &lt;DIV class=indent&gt;&lt;FONT face=Verdana size=2&gt;How to obtain the latest        Microsoft XML 3.0 service pack &lt;/FONT&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;   &lt;TR&gt;     &lt;TD class=number&gt;&lt;FONT face=Verdana size=2&gt;3.&lt;/FONT&gt;&lt;/TD&gt;     &lt;TD class=text&gt;&lt;FONT face=Verdana size=2&gt;Install Microsoft XML Parser        3.0.&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt; &lt;DIV&gt;&lt;FONT face=Verdana size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt; &lt;DIV&gt; &lt;H3 id=tocHeadRef&gt;&lt;FONT face=Verdana size=2&gt;How to install Microsoft XML Core  Services 4.0&lt;/FONT&gt;&lt;/H3&gt; &lt;SCRIPT type=text/javascript&gt;loadTOCNode(2, 'moreinformation');&lt;/SCRIPT&gt; &lt;FONT face=Verdana size=2&gt;To install Microsoft XML Core Services 4.0, follow  these steps: &lt;/FONT&gt; &lt;TABLE class="list ol"&gt;   &lt;TBODY&gt;   &lt;TR&gt;     &lt;TD class=number&gt;&lt;FONT face=Verdana size=2&gt;1.&lt;/FONT&gt;&lt;/TD&gt;     &lt;TD class=text&gt;&lt;FONT face=Verdana size=2&gt;Check if the operating system        meets the requirement to install Microsoft XML Core Services        4.0.&lt;BR&gt;&lt;BR&gt;The following operating systems are support by Microsoft XML        Core Services 4.0: &lt;/FONT&gt;       &lt;TABLE class="list ul"&gt;         &lt;TBODY&gt;         &lt;TR&gt;           &lt;TD class=bullet&gt;&lt;FONT face=Verdana size=2&gt;&lt;/FONT&gt;&lt;/TD&gt;           &lt;TD class=text&gt;&lt;FONT face=Verdana size=2&gt;Windows 2000&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;         &lt;TR&gt;           &lt;TD class=bullet&gt;&lt;FONT face=Verdana size=2&gt;&lt;/FONT&gt;&lt;/TD&gt;           &lt;TD class=text&gt;&lt;FONT face=Verdana size=2&gt;Windows Server            2003&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;         &lt;TR&gt;           &lt;TD class=bullet&gt;&lt;FONT face=Verdana size=2&gt;&lt;/FONT&gt;&lt;/TD&gt;           &lt;TD class=text&gt;&lt;FONT face=Verdana size=2&gt;Windows          XP&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;/TR&gt;   &lt;TR&gt;     &lt;TD class=number&gt;&lt;FONT face=Verdana size=2&gt;2.&lt;/FONT&gt;&lt;/TD&gt;     &lt;TD class=text&gt;&lt;FONT face=Verdana size=2&gt;Download Microsoft XML Core        Services 4.0.&lt;BR&gt;&lt;BR&gt;For more information about how to download Microsoft        XML Core Services 4.0, click the following article number to view the        article in the Microsoft Knowledge Base: &lt;/FONT&gt;       &lt;DIV class=indent&gt;&lt;FONT face=Verdana size=2&gt;How to obtain the latest        Microsoft XML 4.0 service pack &lt;/FONT&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;   &lt;TR&gt;     &lt;TD class=number&gt;&lt;FONT face=Verdana size=2&gt;3.&lt;/FONT&gt;&lt;/TD&gt;     &lt;TD class=text&gt;&lt;FONT face=Verdana size=2&gt;Install Microsoft XML Core        Services 4.0.&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt; &lt;DIV&gt;&lt;FONT face=Verdana size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt; &lt;DIV&gt; &lt;H3 id=tocHeadRef&gt;&lt;FONT face=Verdana size=2&gt;How to install Microsoft XML Core  Services 5.0&lt;/FONT&gt;&lt;/H3&gt; &lt;SCRIPT type=text/javascript&gt;loadTOCNode(2, 'moreinformation');&lt;/SCRIPT&gt; &lt;FONT face=Verdana size=2&gt;The exact description for MSXML 5.0 is &lt;B&gt;MSXML 5.0  for Microsoft Office Applications&lt;/B&gt;. MSXML 5.0 for Microsoft Office  Applications is included in Microsoft Office 2003. To install MSXML 5.0 for  Microsoft Office Applications, you have to install Office 2003. &lt;/FONT&gt; &lt;H3 id=tocHeadRef&gt;&amp;nbsp;&lt;/H3&gt; &lt;H3&gt;&lt;FONT face=Verdana size=2&gt;How to install Microsoft XML Core Services  6.0&lt;/FONT&gt;&lt;/H3&gt; &lt;SCRIPT type=text/javascript&gt;loadTOCNode(2, 'moreinformation');&lt;/SCRIPT&gt; &lt;FONT face=Verdana size=2&gt;To install Microsoft XML Core Services 6.0, follow  these steps: &lt;/FONT&gt; &lt;TABLE class="list ol"&gt;   &lt;TBODY&gt;   &lt;TR&gt;     &lt;TD class=number&gt;&lt;FONT face=Verdana size=2&gt;1.&lt;/FONT&gt;&lt;/TD&gt;     &lt;TD class=text&gt;&lt;FONT face=Verdana size=2&gt;Check if the operating system        meets the requirement to install Microsoft XML Core Services        6.0.&lt;BR&gt;&lt;BR&gt;The following operating systems are support by Microsoft XML        Core Services 4.0: &lt;/FONT&gt;       &lt;TABLE class="list ul"&gt;         &lt;TBODY&gt;         &lt;TR&gt;           &lt;TD class=bullet&gt;&lt;FONT face=Verdana size=2&gt;&lt;/FONT&gt;&lt;/TD&gt;           &lt;TD class=text&gt;&lt;FONT face=Verdana size=2&gt;Windows 2000 Service Pack              4&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;         &lt;TR&gt;           &lt;TD class=bullet&gt;&lt;FONT face=Verdana size=2&gt;&lt;/FONT&gt;&lt;/TD&gt;           &lt;TD class=text&gt;&lt;FONT face=Verdana size=2&gt;Windows Server            2003&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;         &lt;TR&gt;           &lt;TD class=bullet&gt;&lt;FONT face=Verdana size=2&gt;&lt;/FONT&gt;&lt;/TD&gt;           &lt;TD class=text&gt;&lt;FONT face=Verdana size=2&gt;Windows XP Service Pack 1              and later versions of Windows XP&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;/TR&gt;   &lt;TR&gt;     &lt;TD class=number&gt;&lt;FONT face=Verdana size=2&gt;2.&lt;/FONT&gt;&lt;/TD&gt;     &lt;TD class=text&gt;       &lt;DIV&gt;&lt;FONT face=Verdana size=2&gt;Download Microsoft XML Core Services        6.0.&lt;/FONT&gt;&lt;/DIV&gt;       &lt;DIV&gt;&lt;FONT face=Verdana size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;       &lt;DIV&gt;&lt;BR&gt;&lt;FONT face=Verdana size=2&gt;To download Microsoft XML Core Services        6.0, visit the following Microsoft Web site&lt;BR&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;   &lt;TR&gt;     &lt;TD class=number&gt;&lt;FONT face=Verdana size=2&gt;3.&lt;/FONT&gt;&lt;/TD&gt;     &lt;TD class=text&gt;&lt;FONT face=Verdana size=2&gt;Install Microsoft XML Core        Services 6.0.&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;div class="blogger-post-footer"&gt;How to XML, xsl, data, files, programming&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1037244412990877714-1088566129219127937?l=howtoxml.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://howtoxml.blogspot.com/feeds/1088566129219127937/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1037244412990877714&amp;postID=1088566129219127937' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1037244412990877714/posts/default/1088566129219127937'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1037244412990877714/posts/default/1088566129219127937'/><link rel='alternate' type='text/html' href='http://howtoxml.blogspot.com/2007/06/how-to-install-microsoft-xml-parser-and.html' title='How to install Microsoft XML Parser and Microsoft XML Core Services (MSXML)'/><author><name>Administrador</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1037244412990877714.post-203245960067894360</id><published>2007-06-19T11:00:00.001-07:00</published><updated>2007-06-19T11:00:59.214-07:00</updated><title type='text'>Programming Microsoft® .NET XML Web Services</title><content type='html'>&lt;DIV&gt;&lt;STRONG&gt;&lt;FONT face=Verdana size=2&gt;The professional developer's guide to  building state-of-the-art XML Web Services with Microsoft  .NET&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/DIV&gt; &lt;DIV&gt;&lt;STRONG&gt;&lt;FONT face=Verdana size=2&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&amp;nbsp;&lt;/DIV&gt; &lt;DIV&gt;&lt;FONT face=Verdana size=2&gt;Get the in-depth reference and guidance you need  to create and consume high-performance, cross-platform Web solutions in the  Microsoft .NET environment. This exhaustive resource cuts to the heart of  developing XML Web Services and their clientsoffering expert insights on the  relevant standards, .NET classes, and key design and development techniques.  You'll learn to exploit core technologies such as XML, UDDI, and SOAP, as well  as emerging specifications and tools, so that you can create effective and  efficient Web Services. You also get complete code in C# for all the book's  examples on the Web, ready to adapt to your own applications. &lt;BR&gt;&lt;BR&gt;Discover  how to:&lt;BR&gt;&lt;SPAN class=739515617-19062007&gt;- &lt;/SPAN&gt;Use SOAP to communicate with  Web Services and WSDL to define them&lt;BR&gt;&lt;SPAN class=739515617-19062007&gt;-  &lt;/SPAN&gt;Know when to use DISCO and UDDI for Web services discovery&lt;BR&gt;&lt;SPAN  class=739515617-19062007&gt;- &lt;/SPAN&gt;Write XML schemas to specify the content and  context of messages sent to and from clients &lt;BR&gt;&lt;SPAN  class=739515617-19062007&gt;- &lt;/SPAN&gt;Create Web methods to manage application  state, asynchronous calls, and file versioning &lt;BR&gt;&lt;SPAN  class=739515617-19062007&gt;- &lt;/SPAN&gt;Build custom clients for Web Service  consumption &lt;BR&gt;&lt;SPAN class=739515617-19062007&gt;- &lt;/SPAN&gt;Use Microsoft ADO.NET to  expose data from databases, XML files, and servers&amp;nbsp;&lt;BR&gt;&lt;SPAN  class=739515617-19062007&gt;- &lt;/SPAN&gt;Extend the Web Services framework with HTTP  modules and SOAP extensions&amp;nbsp;&lt;BR&gt;&lt;SPAN class=739515617-19062007&gt;- &lt;/SPAN&gt;Use  authentication, authorization, SSL connections, cryptography, WS-Security, and  other security techniques&amp;nbsp;&lt;BR&gt;&lt;SPAN class=739515617-19062007&gt;-  &lt;/SPAN&gt;Employ Web Service Enhancements (WSE) for attachments, routing, referral,  and other advanced functions&amp;nbsp;&lt;BR&gt;&lt;SPAN class=739515617-19062007&gt;-  &lt;/SPAN&gt;Explore Global XML Web Services Architecture (GXA) and other emerging  standards&lt;/FONT&gt;&lt;/DIV&gt;&lt;div class="blogger-post-footer"&gt;How to XML, xsl, data, files, programming&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1037244412990877714-203245960067894360?l=howtoxml.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://howtoxml.blogspot.com/feeds/203245960067894360/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1037244412990877714&amp;postID=203245960067894360' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1037244412990877714/posts/default/203245960067894360'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1037244412990877714/posts/default/203245960067894360'/><link rel='alternate' type='text/html' href='http://howtoxml.blogspot.com/2007/06/programming-microsoft-net-xml-web.html' title='Programming Microsoft® .NET XML Web Services'/><author><name>Administrador</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1037244412990877714.post-5191022407434700437</id><published>2007-06-13T05:42:00.001-07:00</published><updated>2007-06-13T05:42:18.940-07:00</updated><title type='text'>HOW TO: Validate XML Fragments Against an XML Schema in Visual Basic .NET</title><content type='html'>&lt;DIV&gt; &lt;H2 class=subTitle id=tocHeadRef&gt;&lt;FONT size=2&gt;SUMMARY&lt;/FONT&gt;&lt;/H2&gt; &lt;SCRIPT type=text/javascript&gt;loadTOCNode(1, 'summary');&lt;/SCRIPT&gt;  &lt;DIV class=sbody&gt;&lt;FONT size=2&gt;This step-by-step article describes how to use  &lt;B&gt;XmlValidatingReader&lt;/B&gt; and &lt;B&gt;XMLSchemaCollection&lt;/B&gt; objects to validate an  Extensible Markup Language (XML) fragment against an XML schema.  &lt;BR&gt;&lt;BR&gt;&lt;B&gt;XmlValidatingReader&lt;/B&gt; implements the &lt;B&gt;XmlReader&lt;/B&gt; class and  provides support for XML data validation. The &lt;B&gt;Schemas&lt;/B&gt; property of  &lt;B&gt;XmlValidatingReader&lt;/B&gt; connects the reader to the schema files cached in an  &lt;B&gt;XmlSchemaCollection&lt;/B&gt;. The &lt;B&gt;ValidationType&lt;/B&gt; property of  &lt;B&gt;XmlValidatingReader&lt;/B&gt; specifies the type of validation the reader should  perform. If you set the property to &lt;B&gt;ValidationType.None&lt;/B&gt;, you create a  nonvalidating reader. &lt;BR&gt;&lt;BR&gt;You can only add XML Schema Definition Language  (XSD) schemas and XML-Data Reduced (XDR) schemas to &lt;B&gt;XmlSchemaCollection&lt;/B&gt;.  Use the &lt;B&gt;Add&lt;/B&gt; method with a namespace URI to load schemas. For XML schemas,  the typical namespace URI is the &lt;B&gt;targetNamespace&lt;/B&gt; property of the  schema.&lt;/FONT&gt;&lt;/DIV&gt; &lt;DIV class=sbody&gt;&lt;FONT size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt; &lt;H2 class=sbody id=tocHeadRef&gt;&lt;SPAN&gt;&lt;A id=2&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;FONT  size=2&gt;Requirements&lt;/FONT&gt;&lt;/H2&gt; &lt;DIV class=sbody&gt; &lt;SCRIPT type=text/javascript&gt;loadTOCNode(2, 'summary');&lt;/SCRIPT&gt; &lt;FONT size=2&gt;The following list outlines the recommended hardware, software,  network infrastructure, and service packs that you will need: &lt;/FONT&gt;&lt;/DIV&gt; &lt;DIV class=sbody&gt; &lt;TABLE class="list ul"&gt;   &lt;TBODY&gt;   &lt;TR&gt;     &lt;TD class=bullet&gt;&lt;FONT size=2&gt;&lt;/FONT&gt;&lt;/TD&gt;     &lt;TD class=text&gt;&lt;FONT size=2&gt;Microsoft Visual Studio .NET installed on a        compatible Microsoft Windows operating  system&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt; &lt;DIV class=sbody&gt;&lt;FONT size=2&gt;This article assumes that you are familiar with  the following topics: &lt;/FONT&gt;&lt;/DIV&gt; &lt;DIV class=sbody&gt; &lt;TABLE class="list ul"&gt;   &lt;TBODY&gt;   &lt;TR&gt;     &lt;TD class=bullet&gt;&lt;FONT size=2&gt;&lt;/FONT&gt;&lt;/TD&gt;     &lt;TD class=text&gt;&lt;FONT size=2&gt;Visual Basic .NET&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;   &lt;TR&gt;     &lt;TD class=bullet&gt;&lt;FONT size=2&gt;&lt;/FONT&gt;&lt;/TD&gt;     &lt;TD class=text&gt;&lt;FONT size=2&gt;Basic XML standards&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;   &lt;TR&gt;     &lt;TD class=bullet&gt;&lt;FONT size=2&gt;&lt;/FONT&gt;&lt;/TD&gt;     &lt;TD class=text&gt;&lt;FONT size=2&gt;XSD schemas&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt; &lt;DIV class=sbody&gt;&lt;FONT size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt; &lt;DIV class=sbody&gt; &lt;H3 id=tocHeadRef&gt;&lt;SPAN&gt;&lt;A id=3&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;FONT size=2&gt;Create an XSD  Schema&lt;/FONT&gt;&lt;/H3&gt; &lt;SCRIPT type=text/javascript&gt;loadTOCNode(2, 'summary');&lt;/SCRIPT&gt; &lt;FONT size=2&gt;Paste the following code in a new text file named  C:\Books.xsd:&lt;/FONT&gt;&lt;/DIV&gt; &lt;DIV class=sbody&gt;&lt;FONT size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt; &lt;DIV class=sbody&gt;&lt;FONT size=2&gt;&amp;lt;xsd:schema  xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:bookstore-schema"  elementFormDefault="qualified"  targetNamespace="urn:bookstore-schema"&amp;gt;&lt;BR&gt;	&amp;lt;xsd:element name="bookstore"  type="bookstoreType" /&amp;gt;&lt;BR&gt;	&amp;lt;xsd:element name="comment" type="xsd:string"  /&amp;gt;&lt;BR&gt;	&amp;lt;xsd:element name="author"  type="authorName"/&amp;gt;&lt;BR&gt;	&amp;lt;xsd:complexType  name="authorName"&amp;gt;&lt;BR&gt;		&amp;lt;xsd:sequence&amp;gt;&lt;BR&gt;			&amp;lt;xsd:element  name="first-name" type="xsd:string" /&amp;gt;&lt;BR&gt;			&amp;lt;xsd:element name="last-name"  type="xsd:string"  /&amp;gt;&lt;BR&gt;		&amp;lt;/xsd:sequence&amp;gt;&lt;BR&gt;	&amp;lt;/xsd:complexType&amp;gt;&lt;BR&gt;	&amp;lt;xsd:complexType  name="bookstoreType"&amp;gt;&lt;BR&gt;		&amp;lt;xsd:sequence  maxOccurs="unbounded"&amp;gt;&lt;BR&gt;			&amp;lt;xsd:element name="book" type="bookType"  /&amp;gt;&lt;BR&gt;			&amp;lt;xsd:element ref="comment" minOccurs="0"  /&amp;gt;&lt;BR&gt;		&amp;lt;/xsd:sequence&amp;gt;&lt;BR&gt;	&amp;lt;/xsd:complexType&amp;gt;&lt;BR&gt;	&amp;lt;xsd:complexType  name="bookType"&amp;gt;&lt;BR&gt;		&amp;lt;xsd:sequence&amp;gt;&lt;BR&gt;			&amp;lt;xsd:element name="title"  type="xsd:string" /&amp;gt;&lt;BR&gt;			&amp;lt;xsd:element ref="author"  /&amp;gt;&lt;BR&gt;			&amp;lt;xsd:element name="price" type="xsd:decimal"  /&amp;gt;&lt;BR&gt;		&amp;lt;/xsd:sequence&amp;gt;&lt;BR&gt;		&amp;lt;xsd:attribute name="genre"  type="xsd:string"  /&amp;gt;&lt;BR&gt;	&amp;lt;/xsd:complexType&amp;gt;&lt;BR&gt;	&lt;BR&gt;&amp;lt;/xsd:schema&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt; &lt;DIV class=sbody&gt;&lt;FONT face=Verdana size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt; &lt;DIV class=sbody&gt; &lt;H3 id=tocHeadRef&gt;&lt;SPAN&gt;&lt;A id=4&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;FONT size=2&gt;Create a Visual Basic  .NET Application&lt;/FONT&gt;&lt;/H3&gt;&lt;/DIV&gt; &lt;DIV class=sbody&gt;&lt;STRONG&gt;&lt;FONT size=2&gt;&lt;SPAN class=683243112-13062007&gt;1.  &lt;/SPAN&gt;Create a new Visual Basic .NET Windows application&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/DIV&gt; &lt;DIV class=sbody&gt;&lt;FONT face=Verdana size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt; &lt;DIV class=sbody&gt;&lt;STRONG&gt;&lt;FONT size=2&gt;&lt;SPAN class=683243112-13062007&gt;2.  &lt;/SPAN&gt;Drag Button1 to Form1. Paste the following code to add a private member  variable to Class Form1&lt;SPAN  class=683243112-13062007&gt;:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/DIV&gt; &lt;DIV class=sbody&gt;&lt;FONT face=Verdana size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt; &lt;DIV class=sbody&gt;&lt;FONT size=2&gt;Dim m_success As Boolean&lt;BR&gt;&lt;/FONT&gt;&lt;/DIV&gt; &lt;DIV class=sbody&gt;&lt;STRONG&gt;&lt;FONT size=2&gt;&lt;SPAN class=683243112-13062007&gt;3.  &lt;/SPAN&gt;Paste the following sub procedure to create a ValidationEventHandler that  raises validation errors in the XMLValidatingReader  object:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;	&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/DIV&gt; &lt;DIV class=sbody&gt;&lt;FONT face=Verdana size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt; &lt;DIV class=sbody&gt;&lt;FONT size=2&gt;Public Sub ValidationEventHandle(ByVal sender As  Object, ByVal args As  ValidationEventArgs)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; m_success =  False&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  Console.WriteLine((ControlChars.CrLf &amp;amp; ControlChars.Tab &amp;amp; "Validation  error: " &amp;amp; args.Message))&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Sub  'ValidationEventHandle&lt;/FONT&gt;&lt;/DIV&gt; &lt;DIV class=sbody&gt;&lt;FONT face=Verdana size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt; &lt;DIV class=sbody&gt;&lt;FONT size=2&gt;&lt;STRONG&gt;NOTE&lt;/STRONG&gt;: You must include an event  handler to receive information about validation errors in the Data Type  Definition (DTD), the XML-Data Reduced (XDR) schema, and the XML schema  definition language (XSD) schema. The event handler receives an argument of type  &lt;B&gt;ValidationEventArgs&lt;/B&gt; that contains data related to this event. &lt;BR&gt;&lt;BR&gt;The  callback handler can use the &lt;B&gt;ValidationEventArgs.Severity&lt;/B&gt; property to  guarantee that an XML instance document is validated against a schema. The  &lt;B&gt;Severity&lt;/B&gt; property enables you to distinguish between a validation error  (&lt;B&gt;Severity&lt;/B&gt; is equal to &lt;B&gt;XmlSeverityType.Error&lt;/B&gt;) which indicates a  fatal error, and a validation warning (&lt;B&gt;Severity&lt;/B&gt; is equal to  &lt;B&gt;XmlSeverityType.Warning&lt;/B&gt;) which indicates that no schema information is  available.&lt;/FONT&gt;&lt;/DIV&gt; &lt;DIV class=sbody&gt;&lt;FONT face=Verdana size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt; &lt;DIV class=sbody&gt;&lt;STRONG&gt;&lt;FONT size=2&gt;&lt;SPAN class=683243112-13062007&gt;4.  &lt;/SPAN&gt;Paste the following code in the Button1_Click event  procedure:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/DIV&gt; &lt;DIV class=sbody&gt;&lt;FONT face=Verdana size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt; &lt;DIV class=sbody&gt;&lt;FONT size=2&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim  reader As XmlValidatingReader =  Nothing&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim myschema As New  XmlSchemaCollection()&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  Try&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  'Create the XML fragment to be  parsed.&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  Dim xmlFrag As String = "&amp;lt;author&amp;nbsp; xmlns='urn:bookstore-schema'  xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'&amp;gt;" &amp;amp;  _&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  "&amp;lt;first-name&amp;gt;Herman&amp;lt;/first-name&amp;gt;" &amp;amp;  _&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  "&amp;lt;last-name&amp;gt;Melville&amp;lt;/last-name&amp;gt;" &amp;amp;  _&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  "&amp;lt;/author&amp;gt;"&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  'Create the  XmlParserContext.&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  Dim context As New XmlParserContext(Nothing, Nothing, "",  XmlSpace.None)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  'Implement the reader.  &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; reader =  New XmlValidatingReader(xmlFrag, XmlNodeType.Element,  context)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  'Add the  schema.&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  myschema.Add("urn:bookstore-schema",  "Books.xsd")&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  'Set the schema type and add the schema to the  reader.&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  reader.ValidationType =  ValidationType.Schema&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  reader.Schemas.Add(myschema)&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  'Add the handler to raise the validation  event.&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  AddHandler reader.ValidationEventHandler, AddressOf  Me.ValidationEventHandle&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  While  reader.Read&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  End While&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  Console.WriteLine("Completed validating  xmlfragment")&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Catch XmlExp As  XmlException&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  Console.WriteLine(XmlExp.Message)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  Catch XmlSchExp As  XmlSchemaException&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  Console.WriteLine(XmlSchExp.Message)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  Catch GenExp As  Exception&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  Console.WriteLine(GenExp.Message)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  End Try&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Sub&lt;BR&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/DIV&gt; &lt;DIV class=sbody&gt;&lt;STRONG&gt;&lt;FONT size=2&gt;&lt;SPAN  class=683243112-13062007&gt;5.&lt;/SPAN&gt;When the following message is displayed in the  output window, the XML fragment is a valid element:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/DIV&gt; &lt;DIV class=sbody&gt;&lt;FONT face=Verdana size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt; &lt;DIV class=sbody&gt;&lt;FONT size=2&gt;Completed validating xmlfragment&lt;/FONT&gt;&lt;/DIV&gt; &lt;DIV class=sbody&gt;&lt;FONT face=Verdana size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt; &lt;DIV class=sbody&gt;&lt;FONT size=2&gt;&lt;STRONG&gt;NOTE&lt;/STRONG&gt;: The  &lt;B&gt;XMLValidatingReader&lt;/B&gt; object validates only the type declarations and the  top level elements in the XML Schema. XML fragments, such as sub elements, are  considered to be local. You cannot pass XML fragments to  &lt;B&gt;XmlValidatingReader&lt;/B&gt; for direct validation unless you declare the XML  fragments as top-level elements and set the reference at the required level.  &lt;/FONT&gt;&lt;/DIV&gt; &lt;DIV class=sbody&gt;&lt;FONT size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt; &lt;DIV class=sbody&gt; &lt;H5&gt;APPLIES TO&lt;/H5&gt; &lt;TABLE class=list&gt;   &lt;TBODY&gt;   &lt;TR&gt;     &lt;TD class=bullet&gt;&lt;SPAN class=683243112-13062007&gt;&lt;FONT face=Verdana        size=2&gt;-&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/TD&gt;     &lt;TD class=text&gt;&lt;FONT size=2&gt;Microsoft Visual Basic .NET 2003 Standard        Edition&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;   &lt;TR&gt;     &lt;TD class=bullet&gt;&lt;SPAN class=683243112-13062007&gt;&lt;FONT        size=2&gt;-&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/TD&gt;     &lt;TD class=text&gt;&lt;FONT size=2&gt;Microsoft Visual Basic .NET 2002 Standard        Edition&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;   &lt;TR&gt;     &lt;TD class=bullet&gt;&lt;SPAN class=683243112-13062007&gt;&lt;FONT        size=2&gt;-&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/TD&gt;     &lt;TD class=text&gt;&lt;FONT size=2&gt;Microsoft .NET Framework 1.1&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;   &lt;TR&gt;     &lt;TD class=bullet&gt;&lt;SPAN class=683243112-13062007&gt;&lt;FONT        size=2&gt;-&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/TD&gt;     &lt;TD class=text&gt;&lt;FONT size=2&gt;Microsoft .NET Framework    1.0&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;div class="blogger-post-footer"&gt;How to XML, xsl, data, files, programming&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1037244412990877714-5191022407434700437?l=howtoxml.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://howtoxml.blogspot.com/feeds/5191022407434700437/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1037244412990877714&amp;postID=5191022407434700437' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1037244412990877714/posts/default/5191022407434700437'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1037244412990877714/posts/default/5191022407434700437'/><link rel='alternate' type='text/html' href='http://howtoxml.blogspot.com/2007/06/how-to-validate-xml-fragments-against.html' title='HOW TO: Validate XML Fragments Against an XML Schema in Visual Basic .NET'/><author><name>Administrador</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1037244412990877714.post-7112974377314919502</id><published>2007-05-07T19:44:00.000-07:00</published><updated>2007-05-07T19:45:46.519-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xml'/><category scheme='http://www.blogger.com/atom/ns#' term='html'/><title type='text'>How to use XML</title><content type='html'>- XML can keep data separated from your HTML &lt;br /&gt;&lt;br /&gt;- XML can be used to store data inside HTML documents &lt;br /&gt;&lt;br /&gt;- XML can be used as a format to exchange information &lt;br /&gt;&lt;br /&gt;- XML can be used to store data in files or in databases &lt;br /&gt;&lt;br /&gt;Source: &lt;a href="http://www.xmlfiles.com/xml/xml_usedfor.asp" target="_new"&gt;XMLFiles&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;How to XML, xsl, data, files, programming&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1037244412990877714-7112974377314919502?l=howtoxml.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://howtoxml.blogspot.com/feeds/7112974377314919502/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1037244412990877714&amp;postID=7112974377314919502' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1037244412990877714/posts/default/7112974377314919502'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1037244412990877714/posts/default/7112974377314919502'/><link rel='alternate' type='text/html' href='http://howtoxml.blogspot.com/2007/05/how-to-use-xml.html' title='How to use XML'/><author><name>Administrador</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1037244412990877714.post-3838169812975780388</id><published>2007-05-07T18:29:00.000-07:00</published><updated>2007-05-07T18:31:47.466-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='serialize'/><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='xml. visual basic'/><title type='text'>How to serialize an object to XML by using Visual Basic .NET or Visual Basic 2005</title><content type='html'>This step-by-step article describes how to serialize an object to XML by using Visual Basic .NET or Visual Basic 2005. &lt;br /&gt;&lt;br /&gt;This method is useful for persisting an object's state. This method is also useful for cloning an object by de-serializing the XML back to a new object.&lt;br /&gt;&lt;br /&gt;Source: &lt;a href="http://support.microsoft.com/kb/315703/en-usL" target="_new"&gt;Microsoft&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;How to XML, xsl, data, files, programming&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1037244412990877714-3838169812975780388?l=howtoxml.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://howtoxml.blogspot.com/feeds/3838169812975780388/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1037244412990877714&amp;postID=3838169812975780388' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1037244412990877714/posts/default/3838169812975780388'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1037244412990877714/posts/default/3838169812975780388'/><link rel='alternate' type='text/html' href='http://howtoxml.blogspot.com/2007/05/how-to-serialize-object-to-xml-by-using.html' title='How to serialize an object to XML by using Visual Basic .NET or Visual Basic 2005'/><author><name>Administrador</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1037244412990877714.post-4175219986564668407</id><published>2007-05-07T18:24:00.000-07:00</published><updated>2007-05-07T18:28:04.338-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='w3c'/><category scheme='http://www.blogger.com/atom/ns#' term='xml'/><category scheme='http://www.blogger.com/atom/ns#' term='xsl'/><category scheme='http://www.blogger.com/atom/ns#' term='style'/><category scheme='http://www.blogger.com/atom/ns#' term='css'/><title type='text'>How to add style to XML</title><content type='html'>The CSS2 Recommendation contains a brief tutorial on using CSS with XML. &lt;br /&gt;&lt;br /&gt;At the time CSS2 was written the official specification for style in XML wasn't ready. Here is what that tutorial should have contained. Note that the examples use CSS, but in most cases the style rules can also be written in XSL.&lt;br /&gt;&lt;br /&gt;Soure: &lt;a href="http://www.w3.org/Style/styling-XML" target="_new"&gt;Wc3&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;How to XML, xsl, data, files, programming&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1037244412990877714-4175219986564668407?l=howtoxml.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://howtoxml.blogspot.com/feeds/4175219986564668407/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1037244412990877714&amp;postID=4175219986564668407' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1037244412990877714/posts/default/4175219986564668407'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1037244412990877714/posts/default/4175219986564668407'/><link rel='alternate' type='text/html' href='http://howtoxml.blogspot.com/2007/05/how-to-add-style-to-xml.html' title='How to add style to XML'/><author><name>Administrador</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
