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
5 replies
Subscribers
7 subscribers
Views
2702 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Integrations
The toxml applyed to the CDT HFA_FFEstimate generate the following XML file. I n
mokhtarc970
over 9 years ago
The toxml applyed to the CDT HFA_FFEstimate generate the following XML file. I need the file to not include the <n1> everywhere as it does how do I do that?
<1:HFA_FFEstimate xmlns:n1="sdffsd">
<n1:id>731</n1:id>
<n1:FK_customerCaseId>6014</n1:FK_customerCaseId>
<n1:estimateNumber>1</n1:estimateNumber>
<n1:estimateValue>797.260009765625</n1:estimateValue>
<n1:estimateStage>ORDERED</n1:estimateStage>
<n1:effectiveDate>2016-04-07T11:34:31Z</n1:effectiveDate>
<n1:status>ACT</n1:status>
<n1:createdBy>TPU170</n1:createdBy>
<n1:createdOn>2016-04-07T11:29:45Z</n1:createdOn>
<n1:updatedBy>TPU170</n1:updatedBy>
<n1:updatedOn>2016-04-07T11:34:31Z</n1:updatedOn>
</n1:HFA_FFEstimate>
OriginalPostID-206016
OriginalPostID-206016
Discussion posts and replies are publicly visible
0
David Williams
over 9 years ago
Can you attach your xsd you are applying to it? Perhaps it's in the namespace of the xsd?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Josh
Certified Lead Developer
over 9 years ago
You can use the regex plugin (
forum.appian.com/.../summary)
to find and replace all instances of "n1"
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
mokhtarc970
over 9 years ago
Here is the xsd:
HFA_FFEstimate.xsd
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
David Williams
over 9 years ago
Looks like its namespace related ...
stackoverflow.com/.../how-to-remove-namespace-and-prefix-attibutes-from-a-source-xml-using-xslt
Although I cant see it in the xsd, there may be a need to specify the namespace exclusion? try that.
Out of curiosity though, how are you getting to that xml?
Are you running a query rule to then generate the populated cdt and then using toxml()?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
mokhtarc970
over 9 years ago
Yes query rule over the HFA_FFEstimate CDT.
then toxml
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel