1 2 >   Sort: Rank

What does XmlValidatingReader class do
What does XmlValidatingReader class do? XmlTextReader class does not validate the contents of an XML source against a schema. The correctness of XML documents can be measured by two things is the document well formed and is it valid. Well-formed means that the overall syntax is correct. Validation i...
2007-10-31, 7182👍, 0💬

Explain simple Walk through of XmlReader
Explain simple Walk through of XmlReader ? In this section we will do a simple walkthrough of how to use the “XmlReader” class. Sample for the same is available in both languages (C# and VB.NET) which you can find in “WindowsApplicationXMLVBNET” and “WindowsApplicationCSharp” folders. Task is to l...
2007-10-31, 7994👍, 0💬

How do we access attributes using “XmlReader”
How do we access attributes using “XmlReader”? Below snippets shows the way to access attributes. First in order to check whether there any attributes present in the current node you can use “HasAttributes” function and use the “MoveToNextAttribute” method to move forward in attribute. In case you...
2007-10-31, 7425👍, 0💬

What is XMLTextReader
What is XMLTextReader? XPOINTER is used to locate data within XML document. XPOINTER can point to a particular portion of a XML document, for instance address.xml#xpointer(/descenda nt::streetnumber[@id=9])The “XmlTextReader” class helps to provide fast access to streams of XML data in a forward-onl...
2007-10-31, 5977👍, 0💬

What is an XMLReader Class
What is an XMLReader Class? It is an abstract class available from System.XML namespace. XML reader works on a read-only stream browsing from one node to other in a forward direction. It maintains only a pointer to the current node but has no idea of the previous and the next node. You can not modif...
2007-10-31, 5477👍, 0💬

What is the concept of XPOINTER
What is the concept of XPOINTER? XPOINTER is used to locate data within XML document. XPOINTER can point to a particular portion of a XML document, for instance address.xml#xpointer(/descenda nt::streetnumber[@id=9])So the above XPOINTER points streetnumber=9 in “address.xml”.
2007-10-31, 6884👍, 0💬

Define XPATH
Define XPATH? It is an XML query language to select specific parts of an XML document. Using XPATH you can address or filter elements and text in a XML document. For instance a simple XPATH expression like “Invoice/Amount” states find “Amount” node which are children of “Invoice” node.
2007-10-31, 5791👍, 0💬

What is XSLT
What is XSLT? XSLT is a rule based language used to transform XML documents in to other file formats. XSLT are nothing but generic transformation rules which can be applied to transform XML document to HTML, CS, Rich text etc. You can see in the above figure how the XSLT processor takes the XML file...
2007-10-31, 6469👍, 0💬

What are the core functionalities in XML .NET framework
What are the core functionalities in XML .NET framework? Can you explain in detail those functionalities? The XML API for the .NET Framework comprises the following set of functionalities: XML readers With XML readers the client application get reference to instance of reader class. Reader class all...
2007-10-31, 7468👍, 0💬

What is the main difference between MSML and .NET Framework XML classes
What is the main difference between MSML and .NET Framework XML classes? MSXML supports XMLDOM and SAX parsers while .NET framework XML classes support XML DOM and XML readers and writers. MSXML supports asynchronous loading and validation while parsing. For instance you can send synchronous and asy...
2007-10-31, 5914👍, 0💬

How was XML handled during COM times
How was XML handled during COM times? During COM it was done by using MSXML 4.0. So old languages like VB6, VC++ used MSXML 4.0 which was shipped with SP1( Service Pack 1).
2007-10-31, 8460👍, 0💬

In What scenarios will you use a DOM parser and SAX parser
In What scenarios will you use a DOM parser and SAX parser? If you do not need all the data from the XML file then SAX approach is much preferred than DOM as DOM can quiet memory intensive. In short if you need large portion of the XML document its better to have DOM. With SAX parser you have to wri...
2007-10-31, 5431👍, 0💬

What is a XML parser
What are the standard ways of parsing XML document? XML parser sits in between the XML document and the application who want to use the XML document. Parser exposes set of well defined interfaces which can be used by the application for adding, modifying and deleting the XML document contents. Now w...
2007-10-31, 8258👍, 0💬

Which are the namespaces in .NET used for XML
Which are the namespaces in .NET used for XML? “System.xml.dll” is the actual physical file which has all XML implementation. Below are the commonly used namespaces: System.Xml System.Xml.Schema System.Xml.XPath System.Xml.Xsl
2007-10-31, 5042👍, 0💬

What is element and attributes in XML
What is element and attributes in XML? In the below example invoice is the element and the invnumber the attribute. <invoice invnumber=1002></invoic e>
2007-10-31, 5099👍, 0💬

What is XSL
What is XSL? XSL (the eXtensible Stylesheet Language) is used to transform XML document to some other document. So its transformation document which can convert XML to some other document. For instance you can apply XSL to XML and convert it to HTML document or probably CSV files.
2007-10-31, 5157👍, 0💬

What is CSS
What is CSS? With CSS you can format a XML document.
2007-10-31, 5069👍, 0💬

What is CDATA section in XML
What is CDATA section in XML? All data is normally parsed in XML but if you want to exclude some elements you will need to put those elements in CDATA.
2007-10-31, 5119👍, 0💬

What is a valid XML
What is a valid XML? If XML is confirming to DTD rules then it’s a valid XML.
2007-10-31, 5246👍, 0💬

What is well formed XML
What is well formed XML? If a XML document is confirming to XML rules (all tags started are closed, there is a root element etc) then it’s a well formed XML.
2007-10-31, 5344👍, 0💬

What is DTD (Document Type definition)
What is DTD (Document Type definition)? It defines how your XML should structure. For instance in the above XML we want to make it compulsory to provide “qty” and “totalcost”, also that these two elements can only contain numeric. So you can define the DTD document and use that DTD document with in...
2007-10-31, 5395👍, 0💬

Can you explain why your project needed XML
Can you explain why your project needed XML? Remember XML was meant to exchange data between two entities as you can define your user friendly tags with ease. In real world scenarios XML is meant to exchange data. For instance you have two applications who want to exchange information. But because t...
2007-10-31, 8288👍, 0💬

Is XML meant to replace HTML
Is XML meant to replace HTML? No, they both go together one is for describing data while other is for displaying data.
2007-10-31, 5268👍, 0💬

What is the difference between XML and HTML
What is the difference between XML and HTML? XML describes data while HTML describes how the data should be displayed. So HTML is about displaying information while XML is about describing information.
2007-10-31, 5063👍, 0💬

1 2 >   Sort: Rank