RE: [SOAP] RE: element handling in schema
| From: | Dmitry Stogov | Date: | Mon, 28 Mar 2005 19:03:43 +0000 |
| Subject: | RE: [SOAP] RE: element handling in schema | ||
| References: | 1 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-1796@lists.php.net to get a copy of this message | ||
> Is this construct:
>
> $this->PartyId =
> (object)array("_"=>$val,"type"=>"urn:xl2.org:IO5:01");
>
> documented anywhere?
I think not.
Look into definition of "PartyId" element it is an extension of string with
attribute "type".
So '_' is base type (string) and "type" is an additional attribute.
> Is there (out of curiosity) anyway to handle
> multiple attributes with the same local name that are in different
> namespaces?
No way.
http://www.w3.org/TR/REC-xml-names/#uniqAttrs
Thanks. Dmitry.