Skip to end of metadata
Go to start of metadata

You can encode in XML a style by using the XMLEncoder.

Below is an example on how to perform this task :

 

Nevertheless it is the old fashion mode to export styles as XML ; the normal way nowadays is to use the SLDTransformer as following :

 

Alternatively, one can also export a complete StyledLayerDescriptor object as XML :

 

 

  • No labels