BizTalk Server General - Send out XML without namespace prefix

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > August 2005 > Send out XML without namespace prefix





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Send out XML without namespace prefix
Michael Peng

2005-08-25, 8:52 pm

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

Thanks!

Michael Peng


Scott Colestock

2005-08-26, 2: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
>



Pankaj

2005-08-26, 2: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
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com