Recently, I have started to have to read a lot of XSL and XSLT at my job. Some of it makes sense and some of it really doesn't.
Here's an exmaple of what does not make sense to me
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" encoding="UTF-8" />
<xsl:param name="message"/>
<xsl:template match="/">
<html><body> header
<xsl:value-of select="//message"/>
footer
</body></html>
</xsl:template>
</xsl:stylesheet>
If I have an XML file that looks like
<message><message_text>hello, world!</message_text></message>
It appears to result in
<html><body>header
<message><message_text>hello, world!</message_text></message>
footer
</body></html>
My questions are like: what does template match="/" do? What does the param name="message"/> do?
Are there any good resources available that contain a quick overview and maybe some examples?