(Q7) Generate an <emp> element containing an "empid" attribute and nested <name> and <job> elements. The values of the attribute and nested elements are specified by variables that are bound in other parts of the query.<emp empid = $id> <name> $n </name> , <job> $j </job> </emp> XSLT equivalent to (Q7)<emp empid="{$id}"> <name><xsl:copy-of select="$n"/></name> <job><xsl:copy-of select="$j"/></job> </emp> |
|||
|