forked from awinkler/musdb-md-xm-xsls
fixed xsi:schemaLocation
Currently, the export generates (erroneously, I guess) an `xmlns:schemaLocation` namespace and consequently doesn't link the gml schema properly. I've changed the attributes in `lido:lidoWrap` to fix this issue. Signed-off-by: Alexander Winkler <winkler@zib.de>
This commit is contained in:
parent
6410a5bdb5
commit
a32d94a2f5
|
@ -4,7 +4,7 @@
|
|||
xmlns:gml="http://www.opengis.net/gml">
|
||||
<xsl:output method="xml" omit-xml-declaration="no" encoding="UTF-8" indent="yes"/>
|
||||
<xsl:template match="/">
|
||||
<lido:lidoWrap xmlns:lido="http://www.lido-schema.org" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.lido-schema.org http://www.lido-schema.org/schema/v1.0/lido-v1.0.xsd" xmlns:gml="http://www.opengis.net/gml" xmlns:schemaLocation="http://schemas.opengis.net/gml/3.1.1/base/feature.xsd">
|
||||
<lido:lidoWrap xmlns:lido="http://www.lido-schema.org" xmlns:gml="http://www.opengis.net/gml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.lido-schema.org http://www.lido-schema.org/schema/v1.0/lido-v1.0.xsd http://www.opengis.net/gml http://schemas.opengis.net/gml/3.1.1/base/feature.xsd">
|
||||
<xsl:apply-templates select="/root"/>
|
||||
</lido:lidoWrap>
|
||||
</xsl:template>
|
||||
|
|
Loading…
Reference in New Issue
Block a user