Package noaadata :: Module testparse
[hide private]
[frames] | no frames]

Module testparse

source code

Some code to try working with SOAP.


Author: Kurt Schwehr

License: GPL v2

Copyright: (C) 2006 Kurt Schwehr

Variables [hide private]
  __version__ = '0.2.0'
  __date__ = '2006-05-03'
  __author__ = 'Kurt Schwehr'
  __doc__ = ''' Some code to try working with SOAP. @author: U{'...
  xml = '<?xml version="1.0" encoding="utf-8"?><soapenv:Enve...
  parser = etree.XMLParser(ns_clean= True)
  et = etree.parse(StringIO(xml), parser)

Variables Details [hide private]

__version__

None
Value:
'0.2.0'                                                                
      

__date__

None
Value:
'2006-05-03'                                                           
      

__author__

None
Value:
'Kurt Schwehr'                                                         
      

__doc__

None
Value:
'''
Some code to try working with SOAP.

@author: U{'''+ __author__+ '''<http://schwehr.org/>}
@license: GPL v2
@copyright: (C) 2006 Kurt Schwehr

'''                                                                    
      

xml

None
Value:
'<?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv
="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.
org/1999/XMLSchema" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instan
ce"><soapenv:Body><ActiveStations xmlns="http://opendap.co-ops.nos.noa
a.gov/axis/webservices/activestations/wsdl"><stations><station ID="160
0012" name="QREB BUOY"><metadata><location><lat>  </lat><long>  </long
><state></state></location><date_established>2006-06-28</date_establis
hed></metadata><parameter DCP="1" name="Winds" sensorID="C1" status="1
...                                                                    
      

parser

None
Value:
etree.XMLParser(ns_clean= True)                                        
      

et

None
Value:
etree.parse(StringIO(xml), parser)