Hello,
I have the following problem:
I used to "encode" my email address within links, in order to avoid (most) email spiders. So I had a link like this:
<a
href="
This would work like a regular mailto link in any browser, but wouldn't be visible to spiders if they don't have a function to decode it.
The problem is if I use this in an XSL stylesheet, it gets converted to my email address:
<a href="
Now I tried this in the XSL stylesheet:
<a><xsl:attribute
name="href"><![CDATA[
But that resulted in
<a
href="
--which does not work in a browser as a link.
Can anyone please point me to the right direction?
Thanks,
DrTebi
P.S.: I am using PHP5 for XML/XSL transformations, which is based on libxml2
I have the following problem:
I used to "encode" my email address within links, in order to avoid (most) email spiders. So I had a link like this:
<a
href="
This would work like a regular mailto link in any browser, but wouldn't be visible to spiders if they don't have a function to decode it.
The problem is if I use this in an XSL stylesheet, it gets converted to my email address:
<a href="
Now I tried this in the XSL stylesheet:
<a><xsl:attribute
name="href"><![CDATA[
But that resulted in
<a
href="
--which does not work in a browser as a link.
Can anyone please point me to the right direction?
Thanks,
DrTebi
P.S.: I am using PHP5 for XML/XSL transformations, which is based on libxml2