<sld:StyledLayerDescriptor version='1.0.0'
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:gml="http://www.opengis.net/gml"
xmlns:sld='http://www.opengis.net/sld'
xmlns:ogc='http://www.opengis.net/ogc'
xmlns:xlink='http://www.w3.org/1999/xlink'
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
<sld:UserLayer>
<sld:LayerFeatureConstraints>
<sld:FeatureTypeConstraint />
</sld:LayerFeatureConstraints>
<sld:UserStyle>
<sld:Name>Japan</sld:Name>
<sld:Title>Japan layer</sld:Title>
<sld:FeatureTypeStyle>
<sld:Name>POINT</sld:Name>
<sld:Title>Point</sld:Title>
<sld:Abstract>FTS Abstract</sld:Abstract>
<sld:SemanticTypeIdentifier>generic:geometry</sld:SemanticTypeIdentifier>
<xi:include href="street.xml" parse="xml" />
</sld:FeatureTypeStyle>
</sld:UserStyle>
</sld:UserLayer>
</sld:StyledLayerDescriptor>
I want this line <xi:include href="street.xml" parse="xml" />
to work correctly because currently it does not load street.xml
file, it locates in the same directory as this file.
Maybe I've missed something.
street.xml
contains Rule and if I insert it directly, this rule works.