Send out XML without namespace prefix
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server General > Send out XML without namespace prefix




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Send out XML without namespace prefix  
Michael Peng


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-26-05 01:52 AM

Is there any possibility to output the XML message without namesapce prefix
and declaration and just be well formed?

Thanks!

Michael Peng







[ Post a follow-up to this message ]



    Re: Send out XML without namespace prefix  
Scott Colestock


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-26-05 07:50 AM

Have you considered using (or mapping to) a schema that doesn't use a target
namespace ?

Scott Colestock
www.traceofthought.net


"Michael Peng" <michaelpeng@michaelpeng.idv.tw> wrote in message
news:u25bHodqFHA.528@TK2MSFTNGP09.phx.gbl...
> Is there any possibility to output the XML message without namesapce
> prefix and declaration and just be well formed?
>
> Thanks!
>
> Michael Peng
>







[ Post a follow-up to this message ]



    Re:Send out XML without namespace prefix  
Pankaj


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-26-05 07:50 AM

Hi

This is possible using custom XSLT.
Create a map and specify all binding.
Do a validate map, the XSLT file gets  generated at the path
C:\Documents and Settings\Administrator\Local Settings\Temp\2\_MapData\

Do a find replace in this XSLT for for ns0: and :ns0
with empty spaces.

Create a new map
Load the source and destination schemas but dont do any bindings.
Instead, on grid properties in the map,specify the custom XSLT which you
created.

Hope this helps !

Regards
Pankaj





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:20 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register