HTML Block Samples

Back

Back - to Cocoon Samples main page
Back - to Cocoon Blocks Samples main page

HTMLGenerator

Cocoon News Website - Shows how to get remote resource and convert it to valid XHTML using HTMLGenerator. Tidy produces content in the XHTML namespace.

NekoHTMLGenerator

Cocoon News Website - Shows how to get remote resource and convert it to valid XML using NekoHTMLGenerator. Neko produces content without namespace.

HTMLTransformer

XML input - XML document containing escaped HTML, blocks of HTML code written as strings inside elements (as often found in RSS feeds)
Parsed output - HTMLTransformer applied to input.xml: escaped HTML markup is converted to XHTML

NekoHTMLTransformer

XML input - XML document containing escaped HTML, blocks of HTML code written as strings inside elements (as often found in RSS feeds)
Parsed output - HTMLTransformer applied to input.xml: escaped HTML markup is converted to XHTML