All

I trying to use XPath to process a taglib.tld but it fails to work because
the DTD for taglibraries use a default namespace.

The problem is that you need to express the namespace prefix in an XPath
expression and there is no syntax that I'm aware of for specifying a
default namespace as a prefix.  In other words, in XPath if there is no
prefix then your expression will only match those elements that are not in
any namespace at all.

As all elements in the .tld have this default namespace I am unable to use
XPath.  Any thoughts on this from author of
http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd?

Ewan

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to