Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
10 replies
Subscribers
6 subscribers
Views
3682 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
Hi, I would like to use toXML() to convert an CDT. I used this function with an
lorenzor
over 11 years ago
Hi, I would like to use toXML() to convert an CDT. I used this function with an other CDT and it worked fine, but with this:
[RequestNumber=7242, AreaDest=BR, BusinessUnit=Car, light truck and recreational, Description=, MngNote=, Plant=TEST1, PlantID=46, Process=TRAD, RequestedDate=05/06/2013, Requestor=xxx001, StatusA=2, StatusB=, StatusC=, StatusD=, StatusE=, StatusEPartial=, StatusF=, StatusG=, StatusH=, StatusHPartial=, StatusI=, TDName=, DevName=, DevNote=, DevGroup=, ManagerName=, ManagerAppDate=]
I have an incorrect result:
<n3679:MouldRequestData xmlns:n3679="
www.pirelli.com/.../n3679:AreaDest><n3679:BusinessUnit>Car
, light truck and recreational</n3679:BusinessUnit><n3679:Description></n3679:Description><n3679:MngNote></n3679:MngNote><n3679:Plant>TEST1</n3679:Plant><n3679:PlantID>46</n3679:PlantID><n3679:Process>TRAD</n3679:Process><n3679:RequestedDate>2...
OriginalPostID-72165
OriginalPostID-72165
Discussion posts and replies are publicly visible
Parents
0
shelzle
over 11 years ago
Have a look at
www.w3schools.com/.../xml_namespaces.asp
In your XML snippet it would not be necessary to define the namespace for each element. But I think there is a namespace defined in the CDT so the XML generator uses this in the XML. Maybe the XSD of the other CDT does not contain a namespace or one of that the XML generator thinks is not needen in the XML.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
shelzle
over 11 years ago
Have a look at
www.w3schools.com/.../xml_namespaces.asp
In your XML snippet it would not be necessary to define the namespace for each element. But I think there is a namespace defined in the CDT so the XML generator uses this in the XML. Maybe the XSD of the other CDT does not contain a namespace or one of that the XML generator thinks is not needen in the XML.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data