expert-common/src/main/java/org/geomajas/sld/editor/expert/common/server/service/InMemorySldServiceImpl.java
public RawSld toXml(StyledLayerDescriptorInfo sldi) throws SldException {
		try {
			if (sldi.getVersion() == null) {
				sldi.setVersion("1.0.0");
			}
			return parseSldI(sldi);
		} catch (JiBXException e) {
			throw new SldException("Validation error", e);
		}
	}
public RawSld toXml(StyledLayerDescriptorInfo sldi) throws SldException {
		try {
			if (sldi.getVersion() == null) {
				sldi.setVersion("1.0.0");
			}
			return parseSldI(sldi);
		} catch (JiBXException e) {
			throw new SldException("Validation error", e);
		}
	}
public RawSld toXml ( StyledLayerDescriptorInfo sldi ) throws SldException { try { if ( sldi . getVersion ( ) == null ) { sldi . setVersion ( "1.0.0" ) ; } return parseSldI ( sldi ) ; } catch ( JiBXException e ) { throw new SldException ( "Validation error" , e ) ; } }
Convert StyledLayerDescriptorInfo to raw xml.

@param sldi
@return rawSld
@throws SldException
Convert StyledLayerDescriptorInfo to raw xml .