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

How to get namespace using prefix

Subject: How to get namespace using prefix
From: Basanth C Gowda <basgowda@xxxxxxxxxx>
Date: Tue, 14 Sep 2004 18:13:31 +0530
get namespace
Hello,
Could anyone let me know how to get the namespace if I already know the
prefix

My xml file is actually a WSDL. Please find below a portion of it

    - <wsdl:definitions targetNamespace="http://test" xmlns:impl="
    http://test" xmlns:intf="http://test" xmlns:wsdl="
    http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="
    http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="
    http://www.w3.org/2001/XMLSchema">
      - <wsdl:binding name="ServiceSoapBinding" type="intf:Service">
          <wsdlsoap:binding style="document" transport="
        http://schemas.xmlsoap.org/soap/http" />
      </wsdl:binding>
</wsdl:definitions>

  At any point I would like to know how to get the namespace using its
  prefix.

  for eg: if I give 'intf' as the prefix how to know that "http://test" is
  the namespace.

  Thanks in advance,
  Basanth

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.