This is a discussion on XML Interview Questions and Answer within the Interview Questions & Answers and Tips forums, part of the DiscussWeb IT Curriculum category; hi guys, Let us discuss interview Questions and answers for XML.... Describe the role that XSL can play when dynamically ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| hi guys, Let us discuss interview Questions and answers for XML.... Describe the role that XSL can play when dynamically generating HTML pages from a relational database. Even if candidates have never participated in a project involving this type of architecture, they should recognize it as one of the common uses of XML. Querying a database and then formatting the result set so that it can be validated as an XML document allows developers to translate the data into an HTML table using XSLT rules. Consequently, the format of the resulting HTML table can be modified without changing the database query or application code since the document rendering logic is isolated to the XSLT rules. |
|
#2
| |||
| |||
| What is XML Namespace? The XML namespaces recommendation defines a way to distinguish between duplicate element type and attribute names. Such duplication might occur, for example, in an XSLT stylesheet or in a document that contains element types and attributes from two different DTDs. An XML namespace is a collection of element type and attribute names. The namespace is identified by a unique name, which is a URI. Thus, any element type or attribute name in an XML namespace can be uniquely identified by a two-part name: the name of its XML namespace and its local name. This two-part naming system is the only thing defined by the XML namespaces recommendation. Thanks Sathian.K |
|
#3
| |||
| |||
| What is the difference between Schema and DTD? Schema might outphase DTD. XML shemas are in XML. XML Schema has a lot of built-in data types including xs:string,xs:decimal,xs:integer,xs:boolean,xs:date ,xs:time. XML schemas can be edited with Schema files, parsed with XML parser, manipulated with XML DOM, and transformed with XSLT. The building blocks of DTD include elements, attributes, entities, PCDATA, and CDATA. Thanks Sathian.K |
|
#4
| |||
| |||
| What is XML template? * A style sheets describes transformation rules * A transformation rule: a pattern + a template * Pattern: a configuration in the source tree * Template: a structure to be instantiated in the result tree * When a pattern is matched in the source tree, the corresponding pattern is generated in the result tree Thanks Sathian.K |
|
#5
| |||
| |||
| What is XSLT? A language for transforming XML documents into other XML documents. XSLT is designed for use as part of XSL, which is a stylesheet language for XML. Thanks Sathian.K |
|
#6
| |||
| |||
| Describe the role that XSL can play when dynamically generating HTML pages from a relational database. Even if candidates have never participated in a project involving this type of architecture, they should recognize it as one of the common uses of XML. Querying a database and then formatting the result set so that it can be validated as an XML document allows developers to translate the data into an HTML table using XSLT rules. Consequently, the format of the resulting HTML table can be modified without changing the database query or application code since the document rendering logic is isolated to the XSLT rules. Thanks Sathian.K |
|
#7
| |||
| |||
| What are the rules for making a tag name in XML? Rules for making a tag name are 1.It should start with a letter or underscore(_) 2.There are no reserved words , but however xml(in any case) should not be used as a tag name 3.It can include digits, hyphen,periods, ':' can be used but best avoided because it is used for the namespace. ThankQ KiruthikaSambandam |
|
#8
| |||
| |||
| When there is HTML for presentation why are you going for XML? XML and HTML were designed with different goals: XML was designed to describe data and to focus on what data is. HTML was designed to display data and to focus on how data looks. That is HTML is about displaying information, while XML is about describing information. ThankQ KiruthikaSambandam |
|
#9
| |||
| |||
| What is the use of xml.onload property? The <onload> element defines a script to be executed when the AppML application loads in a browser. Used in conjunction with the <script> form element. ThankQ KiruthikaSambandam |
|
#10
| |||
| |||
| How is comments written in an XML document? XML comments look just like HTML comments: <message to="xx@yy.com" from="me@mymail.com" subject="XML Is Really Cool"> <!-- This is a comment --> <text> Sample Example for comments.. </text> </message> ThankQ KiruthikaSambandam |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Interview questions from TOP IT Companies | venkat_charya | Interview Questions & Answers and Tips | 21 | 07-25-2009 06:39 PM |
| Asp Interview Questions | sureshbb | ASP and ASP.NET Programming | 35 | 10-29-2008 07:58 PM |
| Jsp interview Questions And Answers | leoraja8 | Java Server Pages (JSP) | 23 | 12-23-2007 08:19 PM |
| MYSQL interview questions | it.wily | Interview Questions & Answers and Tips | 1 | 09-04-2007 03:33 AM |
| Interview Questions | shiva | Interview Questions & Answers and Tips | 6 | 08-24-2007 01:28 AM |
Our Partners |