[Home] [By Thread] [By Date] [Recent Entries]
On 09/05/2012 16:02, Christian Roth wrote:
Hello, Is there a technique or pattern I could employ (maybe utilizing the @as attribute somehow?) Firstly, avoid creating temporary trees where you don't need them. Whenever you find yourself using xsl:variable with content, ask yourself whether you shouldn't be using the @select attribute instead. Secondly, always use the @as attribute to declare the type of the variable you think you are creating. When you declare your types, the compiler can tell you about your mistakes. Michael Kay Saxonica
|

Cart



