Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
No css in HTML
Yunmanger
Is there any simple or at least any way to export report to HTML with no CSS and JS inside?<br />
<br />
With no <br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
<style type=3D"text/css">
=09=09.style_0 { font-family: serif; font-style: normal; font-variant: norm=
al; font-weight: normal; font-size: 10pt; color: black; text-indent: 0em; l=
etter-spacing: normal; word-spacing: normal; text-transform: none; white-sp=
ace: normal; line-height: normal;}
</style>
</pre>
<br />
With no <br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
<script type=3D"text/javascript">
//<![CDATA[
function redirect(target, url){
if (target =3D=3D'_blank'){
open(url);
}
else if (target =3D=3D '_top'){
window.top.location.href=3Durl;
}
else if (target =3D=3D '_parent'){
location.href=3Durl;
}
else if (target =3D=3D '_self'){
location.href =3Durl;
}
else{
open(url);
}
}
//]]>
</script>
</pre>
<br />
And with no <br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
style=" text-align:right;"
style=" overflow:hidden;font-weight: = normal;"
</pre>
<br />
The result will be displayed in different sites, so we need clean HTML on the output.
Find more posts tagged with
Comments
johnw
I just posted a RAW DIV tag emitter just for this purpose. It puts everything out as a DIV tag, however, and the tag type is identified by the NAME property, so it will be your responsibility as a page developer to do the actual layouts with CSS.
http://www.birt-exchange.org/org/devshare/designing-birt-reports/1431-birt-raw-div-tag-emitter/
If you need, you can easily modify this plugin to output the tag types you need, or you can go back and get the source to the original HTML emitter and modify it to exclude the style properties.