InterviewSolution
| 1. |
Using Xslt, How Would You Extract A Specific Attribute From An Element In An Xml Document? |
|
Answer» 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. 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. |
|