Find jobs | Jobseekers
Employer login
About us Sitemap of www.CareerRide.com Sitemap FAQ related with www.CareerRide.com FAQ Click here to Contact us Contact
       
Submit Resume Free ! | Access Resume Free !
Home Career Services Resume Services Interview questions Articles Books

XML document

<<Previous  Next>>

List the rules to be followed by an XML document.

Answer
Following rules need to be followed by an XML document:

They must have a root tag, the document should be well formed : the tags should be properly closed, since XML is case sensitive, one should take care that the documents are written with proper care and the attribute values should be inside “”

Explain about XML Canonicalization.

Answer
Canonicalization refers to finding the simplified form of an XML document.

XML files may not contain the same sequence of characters (bytes or octets) even if they are logically equivalent. This is where we need to canonicalize them and check their canonical forms.

Steps to canonicalize an XML document

  • Encoding schemes should represent characters by octets.XML documents should be encoded in UTF-8 encoding.
  • The canonical form needs all line breaks to be #xA.
  • All attributes need to be normalized in canonical form. 
<<Previous  Next>>



More XML Links

Define DTD (Document Type definition).

Answer - XML DTD is a rule book that an XML document follows. Once DTD is ready, you can create number of XML documents following the same rules..............

What is a CDATA section in XML?

Answer - The term CDATA is used when you dont want some text data to be parsed by the XML parser. ..............

What is XSL?

Answer - XSL is a language for expressing style sheets. An XSL style sheet is a file that describes the way to display an XML document...............

 
Today's Hot Jobs
C++  SQL Server
.NET  Java  Oracle
Finance  Marketing
Seekers  Employers
Copyright © 2008 CareerRide.com. All rights reserved.