Jump to content
Sebastian is correct about / matching the root of the document. XPath is based on UNIX path semantics so it should be pretty obvious.
Personally, I donâ€™t like splitting up my code into so many templates. Itâ€™s old school xslt imho and makes the markup difficult to follow. Use xsl:for-each instead. Calling templates by name and using paramâ€™s is incredibly useful for creating xsltâ€™s equivalent of functions. You could, for example, create a css constant processor for Rachelâ€™s article this way although itâ€™d probably have to be done server side.
Hmmm. Worth looking intoâ€¦