hi all,
What's the best way to retrieve the namespace declarations of an XML
element/document ? For instance in case of the document snippet below, I
would like to be able to acquire a Hashtable or something, holding the
values { (tns, http://example.com/stockquote.wsdl), (xsd1,
http://example.com/stockquote.xsd), ... }, or something like that.
<definitions name="StockQuote"
targetNamespace="http://example.com/stockquote.wsdl"
xmlns:tns="http://example.com/stockquote.wsdl"
xmlns:xsd1="http://example.com/stockquote.xsd"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns="http://schemas.xmlsoap.org/wsdl/">
(...)
<input message="tns:GetLastTradePriceInput"/>
(...)
</definition>
I need this information, for instance to figure out the full name of
message "tns:GetLastTradePriceInput"
thanks!
Joachim
--
Joachim Peer
Research Assistant
MCM Institute, University of St. Gallen
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]