[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Things that make you go Hmmmm!
On 3/29/2014 10:43 AM, Abel Braaksma (Exselt) wrote:
On 29-3-2014 15:29, Michael Sokolov wrote:I don't think I understand this. Are you saying that <xsl:template match="@*|node()"> matches the empty sequence? That would be quite surprising to me. I can see that <xsl:apply-templates /> on an empty node could cause an attempt to match an empty sequence, but does that actually fire rules?On 3/29/2014 10:05 AM, Abel Braaksma (Exselt) wrote:you're welcome ;)xsl:copy-of allows deep-copying of a selected node (I would agree with Liam here, if this was named xsl:deep-copy, it would have been easier to memorize, but this name is here since XSLT 1.0, so there is little we can do about that now). A deep-copy means an immediate copy of theI take this - that this is all old and decided and not going to change now - as your most significant point (but thanks for the full explanation!) Yeah, I think that priniciple is over-stressed - as I said in an earlier post, I think judicious suprises can be an essential spur to learning, but I recognize this is a matter of taste. -Mike
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|