xsl-list
[Top] [All Lists]

Re[2]: simple (hopefully) document function question

2005-09-13 06:33:08
Thanks, Michael, that was the problem.

MK> 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">

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

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

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



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



-- 
- Cindy 


--~------------------------------------------------------------------
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>