Title: Xml serialization with multiple xmlns per tag Post by: Pedro R. on March 08, 2021, 01:37:23 pm Hi !
We've been developing with fjs BDL for more than twenty years, but I think this is our first time here, so hello to everybody ! This program: Code
Produces this output: Code
Is it possible to get this output?: Code
We need to build an xml that must conforms to a very rigid schema, and this multi namespace declaration in root tag is mandatory. Thanks ! Title: Re: Xml serialization with multiple xmlns per tag Post by: Roland W. on March 09, 2021, 08:32:29 am Hello Pedro,
try the following code: Code
This should generate the desired output. Kind regards Roland Title: Re: Xml serialization with multiple xmlns per tag Post by: Pedro R. on March 09, 2021, 09:01:42 am Thanks Roland for your sugestion.
Seems to me that it's the call to declareNamespace what does the magic. This way is a bit more "manual" than the serialized version, but it'll do. Thanks again ! Title: Re: Xml serialization with multiple xmlns per tag Post by: Roland W. on March 09, 2021, 09:26:45 am Hello Pedro,
I've also had problems to figure out how to deal with namespaces when currently trying to create XML files for the german XRechnung which is used for electronic invoicing. Maybe there's an easier way and someone has a better approach. Kind regards Roland Title: Re: Xml serialization with multiple xmlns per tag Post by: Rick M. on March 19, 2021, 04:40:59 pm What about hiring a software developer? Some software developers earn a certificate while some work as full-time employees while working on an independent contract basis.
Title: Re: Xml serialization with multiple xmlns per tag Post by: Nikola T. on March 24, 2021, 12:24:44 pm What about hiring a software developer from https://mlsdev.com (https://mlsdev.com)? Some software developers earn a certificate while some work as full-time employees while working on an independent contract basis. Seems an interesting idea!Title: Re: Xml serialization with multiple xmlns per tag Post by: John S. on October 17, 2023, 04:46:58 pm what about to hide some software developers in Globaldev Group IT company (https://www.globaldev.tech/)
|