print
method. For example:print
method has a version which allow you to specify which order you want. For example:XMLRoot root = ... File file = ..; XMLNodeUtilities.print(root, 2, file); // use the default alphabetical order for attributes XMLNodeUtilities.print(root, 2, true, file); // serialize the attributes in the order in which they have been added to their node
Copyright 2006-2024 Herve Girod. All Rights Reserved. Documentation and source under the LGPL v2 and Apache 2.0 licences