ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Web Related  >>  XML XSLT RSS
 
 


 

 
 HTML DHTML interview questions  HTML DHTML Interview Questions
 XML XSLT RSS interview questions  XML XSLT RSS Interview Questions
 Flash Action Scripting interview questions  Flash Action Scripting Interview Questions
 SOAP interview questions  SOAP Interview Questions
 WML interview questions  WML Interview Questions
 Web Related AllOther interview questions  Web Related AllOther Interview Questions
Question
Using XSLT, how would you extract a specific attribute from
an element in an XML document?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Using XSLT, how would you extract a specific attribute from an element in an XML document?
Answer
# 1
Successful candidates should recognize this as one of the
most basic applications of XSLT. If they are not able to
construct a reply similar to the example below, they should
at least be able to identify the components necessary for
this operation: xsl:template to match the appropriate XML
element, xsl:value-of to select the attribute value, and the
optional xsl:apply-templates to continue processing the
document.

Extract Attributes from XML Data 

Example 1.

<xsl:template match="element-name">

	Attribute Value:

		<xsl:value-of select="@attribute"/>

		<xsl:apply-templates/>

</xsl:template>
 
Is This Answer Correct ?    3 Yes 0 No
Guest
 

 
 
 
Other XML XSLT RSS Interview Questions
 
  Question Asked @ Answers
 
What is DOM and SOAP? Covansys1
Give some examples of XML DTDs or schemas that you have worked with.  1
Give a few examples of types of applications that can benefit from using XML.  1
What is the Difference between XmlDocument and XmlDataDocument?  1
How do you attach an XSL to an XML in presenting output ? Satyam2
Differences Between XML and HTML  1
What is Use of Template in XSL?  2
what is DTD?  1
what does well-formed means? Astadia1
what is XML?  2
What is the difference between asp and asp.net Phoenix-Technologies2
Describe the two types of processing in xml?  2
How do you load XML document and perform validation of the document? Microsoft1
What is DOM and how does it relate to XML?  2
Difference b/w XML and HTML. Covansys3
Write code in xml which reads login and password ? Tech-Mahindra1
what is the difference between SGML/XML and c or c++ ?  1
Difference between CDATA and PCDATA in XML ? Satyam1
what is 'parser'?  1
what are the advantages of xml?  2
 
For more XML XSLT RSS Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com