[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Xalan producing error - (Location of error unknown)org.xml.sax.SAXException: Can not resolve namespace prefix: #all


Subject: Re: [xsl] Xalan producing error - (Location of error unknown)org.xml.sax.SAXException: Can not resolve namespace prefix: #all
From: Graydon <graydon@xxxxxxxxx>
Date: Tue, 7 Jan 2014 14:48:50 -0500

On Tue, Jan 07, 2014 at 01:43:10PM -0600, a kusa scripsit:
> So is there any way to exclude result prefixes in XSLT 1.0?

Sure, you just have to list each of the explicitly, separated by spaces.

exclude-result-prefixes="xsl html"

will exclude namespaces bound to the prefixes "xsl" and "html", for
example.

-- Graydon


Current Thread
Keywords