How to add namespace prefix like this - XML SOAP
This is a discussion on How to add namespace prefix like this - XML SOAP ; Hi there,
I'm using VB6 by adding function to for modify xml file and I'd like
to add namespace prefix in element node of xml like this...
<TCDeGDEX:ExportCustomsDeclaration xmlns:TCDeGDEX="http://
ebxml.customs.go.th/schema/ExportDeclaration_3_11"
xmlns:TDEDUNeDOC="http://ebxml.customs.go.th/schema/TDED_UNeDOCS.xsd"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xsi="http://
www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://
ebxml.customs.go.th/schema/ExportDeclaration_3_11">
.....
.....
</TCDeGDEX:ExportCustomsDeclaration>
You ...
-
How to add namespace prefix like this
Hi there,
I'm using VB6 by adding function to for modify xml file and I'd like
to add namespace prefix in element node of xml like this...
<TCDeGDEX:ExportCustomsDeclaration xmlns:TCDeGDEX="http://
ebxml.customs.go.th/schema/ExportDeclaration_3_11"
xmlns:TDEDUNeDOC="http://ebxml.customs.go.th/schema/TDED_UNeDOCS.xsd"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xsi="http://
www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://
ebxml.customs.go.th/schema/ExportDeclaration_3_11">
.....
.....
</TCDeGDEX:ExportCustomsDeclaration>
You will see that TCDeGDEX is a prefix of ExportCustomsDeclaration,
but how to add from an existing xml file without errors.
Please give me some example to solve this problem.
Regards,
Willow
-
Re: How to add namespace prefix like this
Uzytkownik "Willow" <rickyTH> napisal w wiadomosci
news:1181028693.635513.172160@n15g2000prd.googlegroups.com...
> Hi there,
>
> I'm using VB6 by adding function to for modify xml file and I'd like
> to add namespace prefix in element node of xml like this...
Adding a node you should add it in valid namespace. For examle (using DOM
method): .createNode(1,'newNod','http://www.paranoja.org')
--
td
www.paranoja.org
Similar Threads
-
By Application Development in forum XML SOAP
Replies: 2
Last Post: 07-12-2007, 10:45 AM
-
By Application Development in forum DOTNET
Replies: 0
Last Post: 12-28-2006, 05:27 PM
-
By Application Development in forum XML SOAP
Replies: 2
Last Post: 11-01-2006, 01:49 PM
-
By Application Development in forum DOTNET
Replies: 1
Last Post: 10-16-2006, 12:23 PM
-
By Application Development in forum XML SOAP
Replies: 2
Last Post: 06-27-2005, 09:34 AM