Subject: Re: [xsl] Attempting *not* to copy certain nodes From: "J.Pietschmann" <j3322ptm@xxxxxxxx> Date: Wed, 14 Jan 2004 22:40:56 +0100 |
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)
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Attempting *not* to copy , G. Ken Holman | Thread | RE: [xsl] Attempting *not* to copy , John Meyer |
Re: [xsl] Attempting *not* to copy , G. Ken Holman | Date | RE: [xsl] Attempting *not* to copy , John Meyer |
Month |