I am having trouble having Google Adsense code stored in XSL converted
properly into HTML. The <> unfortunately become < and > and then
no longer work.
XSL code is:
<script type="text/javascript">
<![CDATA[
<!--
google_ad_client = "pub-5065036055322567";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_channel ="";
google_page_url = document.location;
google_color_border = "0000FF";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "0000FF";
google_color_text = "000000";
//-->
]]>
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
Resulting HTML code is:
<script type="text/javascript">
<!--
google_ad_client = "pub-5065036055322567";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_channel ="";
google_page_url = document.location;
google_color_border = "0000FF";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "0000FF";
google_color_text = "000000";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
How do I fix this?
I get a similar problem when I try to have an XML description containing
html tags properly included into the meta description:
XML:
<meta name="description">
<xsl:attribute name="content">
<xsl:value-of select="definition"/>
</xsl:attribute>
</meta>
</meta>
XSL:
<meta name="description">
<xsl:attribute name="content">
<xsl:value-of select="definition"/>
</xsl:attribute>
</meta>
Results in HTML:
<meta name="description" content="
 the <a
href="../Activities.html">activity</a> consisting of
the cohesive collection of all
 <a
href="../../Tasks/Tasks.html">tasks</a> that are
primarily performed to produce the
 <a
href="../../../WorkProducts/RequirementsSet/Requirements/Requirements.html">requirements</a>
and other
 <a
href="../../../WorkProducts/RequirementsSet/RequirementsSet.html">requirements
work products</a> for an
 <a
href="../../../Endeavors/Endeavors.html">endeavor

</a>"/>
How do I fix this so that it is properly included?