xhtmlrenderer

jopen 13年前
     <div id="p_fullcontent" class="detail">     <p>解析HTML与XML,并应用CSS样式,然后输出成图片,PDF(通过iText)等格式。</p>     <p>功能特性:</p>     <ul>      <li>100% Java XML+CSS layout engine with native PDF, Swing, image rendering. </li>      <li>Strong support for the CSS 2.1 specification including extensions to better support paged media. </li>      <li>Good performance. </li>      <li>Support for XHTML including forms. </li>      <li>Arbitrary elements may be replaced with custom content. </li>      <li>Limited support for dynamic effects (for example, the :hover pseudo-class and links) </li>      <li>Some support for PDF specific features (for example, bookmarks and internal links). More coming soon.Limitations: </li>      <li>Resource loading is single threaded and occurs inline with layout. </li>      <li>Support for XHTML is weaker than XML+CSS (for example, not all XHTML presentational attributes are supported nor are X/HTML features like the <tt><object></tt> element). </li>      <li>No support for legacy HTML (although there are several open source Java HTML cleaners of varying quality available). </li>      <li>No support for incremental layout (applies to screen media only).<br /> </li>     </ul>     <p><strong>项目主页:</strong><a href="http://www.open-open.com/lib/view/home/1324432252749" target="_blank">http://www.open-open.com/lib/view/home/1324432252749</a></p>    </div>