Subject: resolving namespace for attribute content with a QName
From: Ramkumar Menon <ramkumar.menon@xxxxxxxxx>
Date: Fri, 23 Sep 2005 14:23:11 +0530
|
Hi all,
I was trying to parse a simple Document before invoking an XSLT
using JAXP APIs.
The XML has roughly the following structure
......
<customer idName="tns:customerId"
xmlns:tns="http://abcd.org">Sample Customer</customer>
.....
Here, i need to resolve the namespace for customerId.. I want to do
this in a parser independant way. How do i achieve this ? Basically,
how do i generically get the namespace resolver irrespective of a
parser impl ?
rgds,
menon
--
Shift to the left, shift to the right!
Pop up, push down, byte, byte, byte!
-Ramkumar Menon
A typical Macroprocessor
|