[Home] [By Thread] [By Date] [Recent Entries]
On 09/11/2010 18:58, KARR, DAVID (ATTSI) wrote:
Then stop generating them...I currently have an ad hoc Soap client framework that uses JAXB to marshal a Soap request. This generates a "minimal" Soap envelope, in that it contains a "xmlns:xx" attribute for every "xx" that is actually referenced in the request. How you stop generating them depends on where they are coming from. Generally it's likely that they are either copied from the source document or from the stylesheet. If they are copied from the stylesheet, use exclude-result-prefixes. If they are copied from the source document, try copy-namespaces="no" on xsl:copy or xsl:copy-of, assuming you are using XSLT 2.0. If that doesn't work, show us your code. Michael Kay Saxonica
|

Cart



