[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: resolving namespace for attribute content with a

Subject: RE: resolving namespace for attribute content with a QName
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 23 Sep 2005 10:10:09 +0100
namespace resolver attribute
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.