Valid XHTML output using Google Mini Appliance transformation engine

February 13th, 2009

I’ve been trying to output valid XHTML code from the Google Mini Search Appliance. The XML transformation was applying xmlns attributes to various, seemingly random elements which causes the output XHTML to fail validation.

<ol xmlns=”">

As Kamiel Martinet pointed out, in any normal XSLT application you can overcome this by simply adding the xmlns to the stylesheet node.

<xsl:stylesheet xmlns:xsl=”http://www.w3.org/1999/XSL/Transform” xmlns=”http://www.w3.org/1999/xhtml”>

However, this causes the Google Mini front end transformation to fail, resulting in the transformation to fail with the following message.

Internal error processing stylesheet.

This leaves me with the choice but to render invalid XHTML from the Google Mini transformation engine. One alternative solution is to use another transformation engine, but that is not an option for this current project.
When and if I find a solution to this, I will post it here.

Comments are closed.

What's this?

You are currently reading Valid XHTML output using Google Mini Appliance transformation engine at Brainfire.

meta