Hi,

 

I'm currently writing a template to output C++, as well as getting
around a few of the quirks in the original C version.

 

It's coming along well, however there are a few types in the WSDL file I
am parsing such as the following:

<complexType name="AttributedURI">

<simpleContent>

<extension base="xsd:anyURI"/>

</simpleContent>

</complexType>

 

Now that is passed into the stylesheet as just a parameter with the name
"anyURI" of type axutil_uri_t*. This is fine, however how do I know that
this is a simple type, and not a sequence with elements etc..? I can
check in the parser whether the node that was passed in is text or an
element, however this will not help with malformed replies, error
checking, etc... so is there a parameter of some sort that defines the
two?


Also, is there an xsd or something that defines the actual input that
the template will receive? I'm sure there's quite a few things that I
could be using that I'm not, simply because I'm not aware that they
exist.

 

Thanks,
Jamie

Reply via email to