xsl-list
[Top] [All Lists]

Re: Attempting *not* to copy certain nodes

2004-01-14 14:40:56
3rett 3onfield wrote:
Thank you for responding. According to RUWF ( http://www.xml.com/pub/a/tools/ruwf/check.html) the following is well formed:
They are correct, it is well formed XML. However:

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
                xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/";
                exclude-result-prefixes="soap-env"
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
                xmlns:xsd="http://www.w3.org/2001/XMLSchema";
                version="1.0">
<xsl:output method="text" indent="yes" encoding="UTF-8"/>

<xsl:template match="/">
  <xsl:apply-templates select="soap:Envelope/soap:Body/node()"/>

The XSLT processor requires the prefix "soap " to be bound. A checker
for well formed XML wont notice this, because the XPath expression is
an attribute value.

These are the errors I'm getting:
They are all valid error reports.

Firebird 0.7:
Error loading stylesheet: Parsing an XPath expression failed.

Although this is a bit unspecific (in particular without a sourcce
location)

J.Pietschmann

XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list