The Builder class of xml2js accepts several renderOpts in order to influence the created XML (SLD in our case). The SLD-parser should be able to accept these and use them when creating the SLD in the writeStyle function.
By https://github.com/terrestris/geostyler-sld-parser/pull/207 the render option pretty was introduced as specific member. This could be replaced by the more generic approach of passing in a complete renderOpts config as described above.
PARSER
SLD
FEATUREREQUEST
Description:
The Builder class of xml2js accepts several
renderOpts
in order to influence the created XML (SLD in our case). The SLD-parser should be able to accept these and use them when creating the SLD in thewriteStyle
function. By https://github.com/terrestris/geostyler-sld-parser/pull/207 the render optionpretty
was introduced as specific member. This could be replaced by the more generic approach of passing in a completerenderOpts
config as described above.