Subject: RE: [xsl] resolving namespace for attribute content with a QName From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Fri, 23 Sep 2005 10:10:09 +0100 |
You're talking about namespace resolvers - does that mean you are trying to do this in Java, rather than in XPath/XSLT? In that case, it depends on the object model you are using: DOM, XOM, JDOM? - and should probably be asked on a different list. More info needed. Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: Ramkumar Menon [mailto:ramkumar.menon@xxxxxxxxx] > Sent: 23 September 2005 09:53 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: [xsl] resolving namespace for attribute content with a QName > > 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] resolving namespace for attri, Ramkumar Menon | Thread | Re: [xsl] resolving namespace for a, Emmanouil Batsis |
RE: [xsl] Boolean Short Curcuit, Michael Kay | Date | Re: [xsl] Boolean Short Curcuit, David Carlisle |
Month |