1 2 >   Sort: Date

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, 8591👍, 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, 8476👍, 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, 8456👍, 0💬

If XML does not have closing tag will it work
If XML does not have closing tag will it work? No, every tag in XML which is opened should have a closing tag. For instance in the top if I remove </discount> tag that XML will not be understood by lot of application.
2007-10-31, 8196👍, 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, 8174👍, 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, 7618👍, 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, 7600👍, 0💬

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, 7290👍, 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, 6989👍, 0💬

What is the version information in XML
What is the version information in XML? “version” tag shows which version of XML is used.
2007-10-31, 6727👍, 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, 6602👍, 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, 6069👍, 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, 6009👍, 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, 5869👍, 0💬

Is XML case sensitive
Is XML case sensitive? Yes, they are case sensitive.
2007-10-31, 5584👍, 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, 5560👍, 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, 5547👍, 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, 5506👍, 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, 5421👍, 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, 5395👍, 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, 5333👍, 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, 5231👍, 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, 5212👍, 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, 5191👍, 0💬

1 2 >   Sort: Date