[xslt] xsltproc bug or feature?
- From: "Christian Bucher" <christian bucher qsc de>
- To: xslt gnome org
- Subject: [xslt] xsltproc bug or feature?
- Date: Wed, 17 Oct 2001 18:55:24 +0200
Hi,
If I run the command
xsltproc expand.xsl input.xml
the following output is produced
<?xml version="1.0"?>
<result>
<profile><lala xmlns:saxon="http://icl.com/saxon"/></profile>
</result>
xsltproc is adding the namespaces used in the style sheet to the first node I define.
Could somebody tell me if that is a bug in xsltproc.
thanks
christian
<?xml version="1.0"?>
<result>
<profile>
</profile>
</result>
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:saxon="http://icl.com/saxon" extension-element-prefixes="saxon"
>
<xsl:template match="/">
<xsl:apply-templates />
</xsl:template>
<xsl:template match="*">
<xsl:copy>
<xsl:apply-templates />
</xsl:copy>
</xsl:template>
<xsl:template match="profile">
<xsl:copy>
<lala />
</xsl:copy>
</xsl:template>
</xsl:stylesheet>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]