XML Format
kirk
#1 Posted : Tuesday, June 30, 2015 3:02:14 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 6/30/2015(UTC)
Posts: 2
Points: 6

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Hello,

I'm trying to use your great wrapper but i've a newbie question. Is there an option (in XmlIts1Formatter ?) to modify XML format :

Code:
ccda = new ClinicalDocument();
...
ccda.RealmCode = new SET<CS<BindingRealm>>(new CS<BindingRealm>(BindingRealm.France));


This code generates :

Code:
<realmCode>
    <item code="FR" />
</realmCode>


How can i obtain the following XML :

Code:
<realmCode code="FR"/>


Thanks in advance !

Regards.
kirk
#2 Posted : Tuesday, June 30, 2015 3:36:15 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 6/30/2015(UTC)
Posts: 2
Points: 6

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
I've just added a DatatypeFormatter to XmlIts1Formatter :

Code:
XmlIts1Formatter fmtr = new XmlIts1Formatter();
fmtr.GraphAides.Add(new DatatypeFormatter() { ValidateConformance = false });


My xml file seems to be good now.

Thanks
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

SoClean Theme By Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.4 | YAF © 2003-2010, Yet Another Forum.NET
This page was generated in 0.066 seconds.