Re: [xslt] libxslt bug?



On 18/07/2008, Martin (gzlist) <gzlist googlemail com> wrote:
>  Third, you need to make sure you're not using the c14n functions to
>  save an result documents.

*any

>  I've attached a working replacement for your example.xsl - notice the
>  other additions to the output.

Or, I thought I had, ah well, free webmail, get what you pay for.
Inline instead:

----
<xsl:stylesheet version="1.0"
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
	xmlns="http://www.w3.org/1999/xhtml";>

	<xsl:output omit-xml-declaration="yes" indent="yes"
		doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
		doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>

	<xsl:template match="/example">
		<html xml:lang="en">
			<head>
				<title>Example</title>
			</head>
			<body>
				<h1>Example</h1>
				<p>Text<br/>break</p>
			</body>
		</html>
	</xsl:template>

</xsl:stylesheet>
----

Martin


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]