|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: resolving namespace for attribute content with a
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: 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








