26.01.2019 Views

XML Simplified

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Module 7<br />

More on XSLT<br />

Concepts<br />

Knowledge Check 3<br />

1. Which of these statements about switching between styles are true and which of these are false?<br />

(A)<br />

(B)<br />

(C)<br />

(D)<br />

(E)<br />

An XSLT processor takes three things as input such as XSLT style sheet, <strong>XML</strong> document<br />

and Document Type Declaration.<br />

The XSLT engine begins by reading in the XSLT style sheet and caching it as a look-up<br />

table.<br />

For each node it processes, it will look in the table for the best matching rule to apply.<br />

Starting from the root node, the XSLT engine finds rules, executes them, and continues until<br />

there are no more nodes in its context node set to work with.<br />

XSLT can also be called as XSLT document or transformation script.<br />

2. Can you specify the correct code snippet for transforming the <strong>XML</strong> document into HTML using<br />

XSLT?<br />

(A)<br />

(B)<br />

<br />

<br />

......<br />

<br />

......<br />

<br />

<br />

<br />

<br />

......<br />

<br />

Version 1.0 © Aptech Limited<br />

<strong>XML</strong> <strong>Simplified</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!