Re: [xslt] Release of libxslt-1.0.5
- From: Bernhard Zwischenbrugger <bz datenkueche com>
- To: xslt gnome org
- Subject: Re: [xslt] Release of libxslt-1.0.5
- Date: Wed, 10 Oct 2001 17:31:33 +0200
Hi, thanks for 1.0.5
I did some tests with my "problematic" stylesheets.
Which result is correct? 1.0.5 or 1.0.6?
test.xslt
========
<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:libxslt="http://xmlsoft.org/XSLT/namespace">
<xsl:output method="xml" indent="yes" encoding="ISO-8859-1"/>
<xsl:variable name="one">
<xsl:copy-of select="."/>
</xsl:variable>
<xsl:template match="/">
<xsl:apply-templates select="libxslt:node-set($one)"
mode="one"/>
</xsl:template>
<xsl:template match="*" mode="one">
<xsl:copy-of select="."/>
</xsl:template>
</xsl:stylesheet>
one.xml
======
<?xml version="1.0"?>
<eins>
<content>content of one</content>
</eins>
RESULT VERSION 1.0.5
==================
# xsltproc test.xslt one.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<fake>
<eins>
<content>content of one</content>
</eins>
</fake>
RESULT VERSION 1.0.6
==================
xsl:apply-templates : can't find doc
Bernhard
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]