RE: [xsl] simple (hopefully) document function question

Subject: RE: [xsl] simple (hopefully) document function question
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 13 Sep 2005 08:44:49 +0100
Yes, it's simple: you've fallen into the old "default namespace" trap. 

> <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">


> <p><xsl:for-each select="document('utccat.xml')/catalog/system">

The element name is not "catalog", it is
"{urn:oasis:names:tc:entity:xmlns:xml:catalog}catalog".

Do a search for "XSLT matching default namespace" to find numerous posts on
this topic.

Michael Kay
http://www.saxonica.com/

Current Thread