How to force errors on a <xsl:param> without “select” attribute?
问题 If I use <xsl:param> without specifying a value, the transformer assumes that the value is an empty string. In other words, if I forgot to specify a value (e.g. <xsl:param name="N"/> ), the compiler doesn't signal an error. This may cause my program to fail silently, which is a bad thing. How can I specify that my <xsl:param> must have an explicit value ? For example, this code should give me an error because there is no explicit value specified: <?xml version="1.0" encoding="UTF-8"?> <xsl