4. XSLT PB138 XSLT ● messages.xml + messages.xslt = result.xml ● XSLT is composed of templates. Running the Transformation ● Try transformation from Netbeans and from Java ● HELLO WORLD Basic Transformations ● / vs /messages ● Evaluation of the algorithm ○ apply-templates will again apply the whole template file to each child ○ text() matching ● The implicit templates ○ We can override them! Implicit Templates Functional calling ● create a table "id, text" ○ sms text in red color ○ other text in blue Modes, foreach and IFs ● Write out SMS first! ● Other important concepts ● xsl:sort ● xsl:element ● xsl:call-template (with parameters) xsl:element, xsl:attribute ID1 ● Output the names in "id" elements: Filip Nguyen