I'm using x:transfrom as follows:

<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/c.tld" prefix="c" %>
<%@ taglib uri="/WEB-INF/x.tld" prefix="x" %>

<c:import url="/pages/index.jsp" var="xml"/>
<c:import url="/styles/xsl-xhtml.jsp" var="xslt"/>
<x:transform source="$xml" xslt="$xslt"/>

In my $xslt page, I am using the <xsl:output> method.

-----Original Message-----
From: Shawn Bayern [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 17, 2002 9:31 AM
To: Tag Libraries Users List
Subject: Re: x:transform is producing HTML that is not as I specified in
my XSL document


Hi Matt,

I'm not sure which library you're referring to here; this looks not like
JSTL (x:transform) but the XSL library (xsl:output).

Shawn

On Thu, 17 Jan 2002, Matt Raible wrote:

> In my XSL document, I have
>
> <xsl:output method="html" indent="yes"
>               doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
>               doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>
>
> which produces:
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> - when this should be
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
>
> notice the lower case "html" at the beginning.  Also, the transformation
> seems to lose the /> I have on my form elements - so my XML document is
well
> formed, but the resulting HTML is not well formed.
>
> Is this a bug?  If so, I'll enter it in bugzilla.
>
> Matt
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to