[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: adding element in with general namespace prefix
it doesn't worked for me. Can you send across your code for the expected result. --- On Thu, 9/2/12, G. Ken Holman <gkholman@xxxxxxxxxxxxxxxxxxxx> wrote: > From: G. Ken Holman <gkholman@xxxxxxxxxxxxxxxxxxxx> > Subject: Re: adding element in with general namespace prefix > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx, xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Date: Thursday, 9 February, 2012, 3:19 AM > At 2012-02-09 03:16 +0530, ram > wrote: > > i completly agree with you, but some time service > provider may not like it when he sees the request, he may > question, why are you keeping different namespace prefix for > same namespace. > > i wanted to be consistent in the entire > soap request that i am sending > > Then use: > > <xsl:template match="soapenv:Header"> > <xsl:copy> > <xsl:copy-of select="@*"/> > ..... > > If the input has <s:Header> then your output will be > <s:Header>. > > . . . . . . . . . Ken > > -- > Contact us for world-wide XML consulting and instructor-led > training > Free 5-hour video lecture: XSLT/XPath 1.0 & 2.0 http://ude.my/uoui9h > Crane Softwrights Ltd. > http://www.CraneSoftwrights.com/s/ > G. Ken Holman > mailto:gkholman@xxxxxxxxxxxxxxxxxxxx > Google+ profile: https://plus.google.com/116832879756988317389/about > Legal business disclaimers: http://www.CraneSoftwrights.com/legal
|
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
|