xsl-list
[Top] [All Lists]

RE: simple (hopefully) document function question

2005-09-13 00:44:49
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/



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>