[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] transforming from xml to JSF (java server faces)


Subject: [xsl] transforming from xml to JSF (java server faces)
From: John Burgess <john.burgess@xxxxxxxxxxxxxxxxx>
Date: Wed, 17 May 2006 17:53:57 +0100

I'm trying to transform an XML file that describes a database schema into a set of jsf files to display the data.
The problem I have is with the initial
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
tag and others like it.


I've put the lines in a CDATA section so they can exist in the stylesheet but if I set the output type to html then I get
&gt; %@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %&lt;
which is no good.


If I use output method text then subsequent <html> and all other tags are quietly omitted.

If I use output method xml then I get the same as html.

How should I deal with this?


Current Thread
Keywords