tag:help-archives.hannonhill.com,2010-02-09:/discussions/general/21868-xmlns-namespace-for-outlookCascade CMS: Discussion 2015-06-30T16:06:19Ztag:help-archives.hannonhill.com,2010-02-09:Comment/372489832015-06-29T18:24:48Z2015-06-29T18:24:48Zxmlns namespace for outlook<div><p>Hi Han,</p>
<p>It looks like there is perhaps one of the routines during page
rendering is stripping out the additional namespaces, since they
appear to be left alone when adding them to the Template.</p>
<p>When you have a moment, I believe I was able to get things to
work using the following:</p>
<pre>
<code><!--#cascade-skip--><html xmlns="http://www.w3.org/1999/xhtml"><!--#cascade-skip-->
<![CDATA[#protect-top
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
#protect-top]]></code>
</pre>
<p>To summarize, the first <code><html></code> tag will be
removed on render due to the <code>#cascade-skip</code> tags and
the contents of the <code>#protect-top</code> code section will be
promoted to the top of the rendered source.</p>
<p>Please let me know if you have any questions.</p>
<p>Thanks!</p></div>Ryan Griffithtag:help-archives.hannonhill.com,2010-02-09:Comment/372489832015-06-29T18:55:28Z2015-06-29T19:06:52Zxmlns namespace for outlook<div><p>Hi Ryan,</p>
<p>I tried your code, but it still gives me the same stripped out
code</p></div>hohantag:help-archives.hannonhill.com,2010-02-09:Comment/372489832015-06-30T14:02:23Z2015-06-30T14:02:23Zxmlns namespace for outlook<div><p>Hi Han,</p>
<p>Definitely interesting, I was able to get it this to work in my
local 7.12.5 instance. I am attaching the contents of my Template
so you can see the snippet I provided in action.</p>
<p>Also, are you using a page, config set or template level XSLT
Format?</p>
<p>Please let me know if you have any questions.</p>
<p>Thanks!</p></div>Ryan Griffithtag:help-archives.hannonhill.com,2010-02-09:Comment/372489832015-06-30T15:31:48Z2015-06-30T15:31:48Zxmlns namespace for outlook<div><p>Hi Ryan,</p>
<p>It magically works.<br>
Thanks,<br>
Han</p></div>hohantag:help-archives.hannonhill.com,2010-02-09:Comment/372489832015-06-30T16:06:10Z2015-06-30T16:06:10Zxmlns namespace for outlook<div><p>Thank you for following up, Han, I am glad to hear the proposed
tweak to your Template did the trick.</p>
<p>I'm going to go ahead and close this discussion, please feel
free to comment or reply to re-open if you have any additional
questions.</p>
<p>Have a great day!</p></div>Ryan Griffith