xml-xalan-j-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Geuer-Pollmann <maill...@nue.et-inf.uni-siegen.de>
Subject How to catch Elements with a particular local name
Date Thu, 19 Jul 2001 16:20:50 GMT
Hi,

How do I catch Elements with a particular local name, regardless of the 
used namespace:

I want to catch all included Elements, but some are in a defaulted 
namespace>

      String input = ""
         + "<included xmlns:ietf='http://www.ietf.org'>"
         + "<notIncluded xmlns:ietf='http://www.ietf.org' >"
         + "<notIncluded xmlns:ietf='http://www.ietf.org' >"
         + "<included    xmlns='http://www.ietf.org'>"
         + "<included    >"
         + "<notIncluded xmlns='http://www.ietf.org'>"
         + "<notIncluded >"
         + "<notIncluded xmlns:ietd=\"http://www\">"
         + "<notIncluded >"
         + "<notIncluded xmlns='http://www.ietf.org'>"
         + "<notIncluded >"
         + "<notIncluded >"
         + "<included    xmlns:ietf='http://www.ietf.org'/>"
         + "</notIncluded>"
         + "</notIncluded>"
         + "</notIncluded>"
         + "</notIncluded>"
         + "</notIncluded>"
         + "</notIncluded>"
         + "</notIncluded>"
         + "</included>"
         + "</included>"
         + "</notIncluded>"
         + "</notIncluded>"
         + "</included>";


Mime
View raw message