开发者

Eclipse BIRT - XHTML output

Is there a way to set BIRT to output a report as XHTML (1.0 Transitional would be fine) instead of HTML?

I did a few tests and there are some elements that are not valid:head does not include a title, html must have a namespace (xm开发者_JAVA技巧lns) attribute

Is this functionality supported at all by BIRT?

----- EDIT -----

Here are the current changes I need to make on the current HTML output produced by BIRT:

  • Change the doctype to xhtml transitional
  • Add the xmlns attribute to the html tag
  • Add the title element in the <head>
  • Set the missing end tag to the meta tag(s): </meta>

If the functionality is not supported by BIRT, how can I extend the current HTML emitter to transform the current HTML output to valid XHTML?


This is not one of the standard output formats. You should be able to extend the HTML emitter with little effort to do this yourself.

Here are some resources to get started extending BIRT:

  • Writing a BIRT Extension Tutorial

  • Writing a custom emitter (XML in this case)

Good Luck!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜