Subject: RE: Converting a string to Uppercase or Lowercase without using translate() ?
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 27 Nov 2007 22:04:59 -0000
|
> >Maybe we should have a go at obfuscating XSLT through over
> zealous use of entities... like turning the identity template into the
&ident;
> >entity ref:
I had a bug report the other day that was full of things like
<xsl:template match="&xyz-pattern;">
<xsl:for-each select="&abc-expression;">
and when you looked at the DTD, the entities were all built up by expansion
of parameter entities N deep. I've never seen anything so hard to follow in
all my life.
Michael Kay
http://www.saxonica.com/
|