On 01/08/2012 16:47, Andrew Welch wrote:
Or to reuse the same 'soap' prefix do:
<xsl:attribute name="{$q}"
namespace="{namespace-uri-for-prefix(prefix-from-QName($q), .)}">
or without that pesky variable and trying to get as many consecutive .
in an expression as possible
<fault>
<xsl:attribute name="{.}"
namespace="{namespace-uri-for-prefix(prefix-from-QName(resolve-QName(.,.)),.)}">blah</xsl:attribute>
<xsl:value-of select="."/>
</fault>
David
________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs.
________________________________________________________________________
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--