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, 8383👍, 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, 8167👍, 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, 8049👍, 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, 8003👍, 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, 7890👍, 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, 7337👍, 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, 7335👍, 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, 7127👍, 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, 6820👍, 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, 6383👍, 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, 5905👍, 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, 5840👍, 0💬
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, 5728👍, 0💬
Is XML case sensitive
Is XML case sensitive? Yes, they are case sensitive. 2007-10-31, 5450👍, 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, 5416👍, 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, 5373👍, 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, 5342👍, 0💬
What does an XML document actually look like
What does an XML document actually look like? The basic structure of XML is similar to other applications of SGML, including HTML. The basic components can be seen in the following examples. An XML document starts with a Prolog of the required the XML declaration <?xml version="1.0" encoding=... 2007-04-11, 5292👍, 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, 5277👍, 0💬
How does one suppress or customize error messages in Forms?
How does one suppress or customize error messages in Forms? One can either set the message level using the system variable SYSTEM.MESSAGE_LEVEL or trap errors using the ON-ERROR or ON-MESSAGE triggers. MESSAGE_LEVEL: Set to 0, 5, 10, 15, 20, 25 to suppress all messages with severity below this level... 2011-04-05, 5208👍, 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, 5107👍, 0💬
Where Do You Download JUnit? Where do I download JUnit? I don't think anyone will ask this question ...
How To Divide Query Output into Groups? - MySQL FAQs - SQL SELECT Query Statements with GROUP BY You...
Can a variable be both const and volatile? Yes. The const modifier means that this code cannot chang...
Can include files be nested? The answer is yes. Include files can be nested any number of times. As ...
How To Use an Array as a Queue? - PHP Script Tips - PHP Built-in Functions for Arrays A queue is a s...