Title: RE: matching an attributes namespaceURI

name space it is *not* retrieved as a 'regular' attribute...so "//@*" will not work;
all elements that you will create through the xsl will 'inherit' the namespaces declared
up-front by your WSDL file.
the 'mullbery list' might know, but you should be more descriptive of what you are trying to accomplish.
Good luck!

-----Original Message-----
From: Gary L Peskin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 26, 2001 8:39 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: matching an attributes namespaceURI


Nothing comes to mind quickly.  For pure XSLT questions, you're probably
better off on the Mulberry list
(http://www.mulberrytech.com/xsl/xsl-list/index.html) where you will
have a wide audience for these sorts of things.  We're pretty focused on
Xalan development and usage issues.

Gary

Richard Emberson wrote:
>
> I have:
>
> WSDL FILE
> <definitions name="urn:Login"
>     targetNamespace="http://www.contact.com/Login.wsdl"
>     xmlns:mytype="urn:xml-soap-login-demo"
>     xmlns:s0="http://www.w3.org/2001/XMLSchema"
>     xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
>     xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
>     xmlns="http://schemas.xmlsoap.org/wsdl/">
>
> ..........
>
>     <message name="LoginRequest">
>         <part name="version" type="s0:int"/>
>         <part name="name" type="s0:string"/>
>         <part name="password" type="mytype:string"/>
>     </message>
>
> ..........
>
> </definitions>
>
> XSL FILE
> <?xml version="1.0" encoding="UTF-8"?>
> <xsl:stylesheet
>         version="1.0"
>         xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>         xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>         xmlns:xalan="http://xml.apache.org/xslt"
>         xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>         xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
>         >
>     ........
> </xsl:stylesheet>
>
> Using pure xslt how can I determine if the 's0' namespaceURI part
> of 's0:int' and 's0:string' "match" the xsd namespace
> (http://www.w3.org/2001/XMLSchema)? Which is to say that
> 's0:int' and 's0:string' are xmlschema base types while 'mytype:string'
> is not.
>
> The namespace-uri() function works only on node-sets.
> The xlts select="/definitions/@*" expression does not include
> any of the xmlns:.. attributes so I can not iterate over them
> searching for the xmlschema namespace urn in the WSDL FILE.
>
> Thanks
>
> Richard Emberson

Reply via email to