[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Working with QNames in values
> I'm working with WSDL, which uses QNames in attribute values, but i'm > having a hard time resolving the namespace-uri's from these, e.g. > > <foo xmlns:xsd="http://..."> > <bar type="xsd:string" /> > </foo> > > In my XSLT (or more correctly, my schematron based schema), i want to > be able to resolve the namespace uri of the xsd:string QName. Try string(namespace::*[name()=substring-before(@type, ':')]) Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|