I wrote a web service that uses a D3 Pick database. Currently, for some records data is returned like:
<CoverageCd>
<v1>FORRE</v1>
<v2>VOL</v2>
</CoverageCd>
<StateProvCd>
<v1>CT</v1>
<v2>CT</v2>
</StateProvCd>
It should really look like:
<Group1>
<CoverageCd>FORRE</Coverag
eCd>
<StateProvCd>CT></StatePro
vCd>
</Group1>
<Group2>
<CoverageCd>VOL</CoverageC
d>
<StateProvCd>CT</StateProv
Cd>
</Group2>
What is the best way to do this? I know that I can re-write the code that creates the xml to accomidate but I would rather not if there is an easier way. (The code is fairly complex and I would have to change the technique in which it is written.) I've done some research on schema's but I haven't found a way to do it. Thanks
Start Free Trial