<<
Constructing XML Elements
>>
XSLT and JSP use XML syntax for both logic and creating XML. (Verbose, hard-to-read.)
XQuery uses functional syntax for logic, and XML syntax for element construction. (Less integrated.)
In the Lisp world, we can use S-expressions (SXML). (No dynamic validation or static typing.)
LAML maps each HTML tag to a
mirror function
with the same name.
Calling a mirror function generates a
node
object.