Q1: | What are the two components of XSL? |
A1: | XSLT defines a language that is used to write stylesheets that will transform an XML document into a different format.
Formatting objects, or XSL-FO, specifies a device-independent grammar for defining the format of a transformed XML page. |
Q2: | What are three techniques for applying an XSLT stylesheet for a Web client? |
A2: |
|
Q3: | Which XSL element is used to insert the body of a matched XML tag into the output document expanding any nested elements? |
A3: |
<xsl:apply-templates/> |
Q4: | What do the ., .., //, and @name XPath shortcuts expand to? |
A4: | . expands to self::node()
.. expands to parent::node() // expands to descendent-or-self::node() @name expands to attribute::name |
Q5: | What are the XSL elements for inserting a comment, inserting an element, inserting an attribute, and copying elements? |
A5: |
|
18.226.34.25