   | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Struts - A MVC web framework | | Tomcat - JSP/Servlet container | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | | JSP - A mailing list about Java Server Pages specification and reference | |
Struts & Hibernate
|
|
|
  | |  | Document properties | Document properties 2004-01-26 - By Laurent Bihanic
Back
Hi,
On 22/01/2004 17:31, phil@(protected) wrote: > One use case is with XPath & Namespace. Currently, when using Jaxen, we > have to pass it a context containing the mapping between aliases and > URI. And this can be cumbersome, if you have lot of code located into > different places. Microsoft solved this pb in InfoPath quite elegantly > and efficiently, by allowing user to set a Document property containing > the namespace mapping.
JDOM makes it even simpler than that : Just declare the namespace mapping using Element.addNamespaceDeclaration and it will be made available to Jaxen when in scope.
Laurent __ ____ ____ ____ ____ ____ ____ ____ ____ ____ To control your jdom-interest membership: http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@(protected) .com
Earn $52 per hosting referral at Lunarpages.
|
|
 |