[4suite] [Amara] Disordered results of XSLT

Uche Ogbuji uche at ogbuji.net
Fri Dec 1 17:47:39 MST 2006


Benjamin Hawkes-Lewis wrote:
> I'm getting disordered results with Amara's xml_xslt method. Changing
> from stable to CVS didn't get rid of them. I'm using the current stable
> 4Suite if that makes any difference.
> 
> In the example below (transforming an XHTML 1.1 document to HTML 4.01
> Strict), why is Amara's application of the stylesheet putting HEAD after
> BODY? This doesn't happen with xsltproc.

xml_xslt is limited in several ways.  You found one: there is no proper
document index.  You need to use Ft.Xml.Transform if this bites you.

I do plan to eliminate this limitation in Amara 2.0 because Amara nodes
will become proper Domlette nodes, thus gaining a proper doc index.

Sorry for the confusion: I should have documented this.  Will do.


-- 
Uche Ogbuji                               Fourthought, Inc.
http://uche.ogbuji.net                    http://fourthought.com
http://copia.ogbuji.net                   http://4Suite.org
Articles: http://uche.ogbuji.net/tech/publications/


More information about the 4suite mailing list