[AG-DEV] Difference between agtk: and tns: in Accessgrid_Types.xsd

Ivan R. Judson judson at mcs.anl.gov
Fri Jan 27 08:10:26 CST 2006


Hi Michael,

tns: is an abbreviation for targetNamespace.

--Ivan

> -----Original Message-----
> From: owner-ag-dev at mcs.anl.gov [mailto:owner-ag-dev at mcs.anl.gov] On Behalf
> Of Michael Braitmaier
> Sent: Friday, January 27, 2006 4:42 AM
> To: AG-DEV
> Subject: [AG-DEV] Difference between agtk: and tns: in
> Accessgrid_Types.xsd
> 
> Currently working on the webservice interface of AG3 and I want to send
> a rather complex type which requires me to add a new type
> definition in the AccessGrid_Types.xsd file This type itself contains a
> member of a specific type defined in AccessGrid_Types.xsd.
> So my questions what should I use as a prefix for definig the types data
> type? tns: or agtk:?
> What is tns: standing for? With agtk: its quite clear.
> 
> ATM my line looks like the following:
> <xs:element name="dataContainer" nillable="true"
> type="agtk:DataDescriptionContainer"/>
> 
> with DataDescriptionContainer:
> 
> <xs:complexType name="DataDescriptionContainer">
>       <xs:sequence>
>         <xs:element name="data" type="xs:Dictionary"/>
>         <xs:element name="channelid" type="xs:int"/>
>       </xs:sequence>
> </xs:complexType>
> 
> Michael
> 
> --
> ------------------
> Dipl.-Inf. Michael Braitmaier
> HLRS - Visualization / Video Conferencing
> University of Stuttgart
> Germany
> Phone: ++49 711 685 5996
> Fax  : ++49 711 682 357
> Website: http://www.hlrs.de/people/braitmaier/




More information about the ag-dev mailing list