<xtce:SS xmlns:xtce="http://blah1" xmlns:xsi="http://blah2" xsi:schemaLocation="http://blah3" name="Blah" shortDescription="header"> <xtce:Header validationStatus="Draft" classification="Exploration" date="2020-05-29" version="xxx"> <xtce:AuthorSet> <xtce:Author>GDS</xtce:Author> </xtce:AuthorSet> <xtce:NoteSet> </xtce:NoteSet> </xtce:Header> <xtce:TMD> </xtce:TMD> </xtce:SS>
<?xml version="1.0" encoding="utf-8"?> <!-- Created with Liquid XML Objects - Registered to 'NASA Johnson Space Center ' - https://www.liquid-technologies.com/xml-objects --> <SS xmlns:xsi="http://blah2" xsi:type="SSType" name="Blah" shortDescription="header"> <Header version="xxx" date="2020-05-29" classification="Exploration" validationStatus="Draft" xmlns="http://www.omg.org/spec/XTCE/20180204"> <AuthorSet> <Author>GDS</Author> </AuthorSet> <NoteSet> <Note>UM_ECLSS_App_1</Note> <Note>Gateway Data Model Version: 1.00.001 (6-30-2020)</Note> <Note>Date: Fri May 1 15:51:45 CDT 2020</Note> </NoteSet> </Header> <TMD xmlns="http://www.omg.org/spec/XTCE/20180204"> </TMD> </SS>
LxWriterSettings settings = new LxWriterSettings(); settings.NamespaceMap["xtce"] = "http://blah1";; settings.NamespaceMap["xxx"] = "http://blahXXX";; settings.NamespaceMap.Remove(""); // This removes any declared default namespace (should not exist unless you've explicitly set it) GenereatedObject myObj = .... LxSerializer<GenereatedObject> serializer = new LxSerializer<GenereatedObject>(); serializer(@"c:\test.xml", myObj, settings);
Trouble logging in? Simply enter your email address OR username in order to reset your password.
For faster and more reliable delivery, add support@liquid-technologies.com to your trusted senders list in your email software.