|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: resolving namespace for attribute content with a
Ramkumar Menon wrote:
<customer idName="tns:customerId" xmlns:tns="http://abcd.org">Sample Customer</customer> If you are talking about XSLT, you can use sting related functions to test for URIs obtained using the namespace axis, see [1]. If you are not talking about XSLT and regarding JAXP; it's just a bootstrap API to get an XML parser and nothing more. How you resolve NS URIs for QName attribute values depends on the API you use to process XML. Usually you just need to build a prefix:URI map as you go and then again use string functions on attribute values. [1] http://www.google.com/search?hl=en&lr=&q=%22matching+attribute+values+with+namespaces%22&btnG=Search hth, Manos
|
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








