Project

Profile

Help

Saxon very slow when transforming large xml file » transform.xsl

Michael Staal-Olsen, 2019-08-07 16:39

 
<?xml version="1.0" encoding="utf-8" ?>
<xsl:transform version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exsl="http://exslt.org/common"
xmlns:wfs="http://www.opengis.net/wfs"
xmlns:tns="urn:oio:ebst:diadem:beskyttedenaturtyper:1"
exclude-result-prefixes="xsl">
<xsl:import href="../../XslTransformer/src/PlandataFinalResponse.xslt"/>

<xsl:output method="xml" version="1.0" indent="yes"/>
<xsl:template match="/">
<xsl:call-template name="PlandataFinalResponse">
<xsl:with-param name="var_SingleClassName" select="'Lokalplan'" />
<xsl:with-param name="var_nodeClassName" select="'Lokalplan'" />
<xsl:with-param name="var_FeatureClassName" select="'Lokalplaner'" />
<xsl:with-param name="var_TemaNamespace" select="'urn:oio:ebst:diadem:lokalplan:1'" />
<xsl:with-param name="var_LandparcelName" select="'LokalplanForMatrikel'" />
<xsl:with-param name="var_TemaNamespacePrefix" select="'lp'" />
<xsl:with-param name="collectionName" select="'LokalplanSamling'"/>
<xsl:with-param name="elementPath" select="'LokalplanElement'"/>
<xsl:with-param name="var_nodePath" select="'LokalplanSamlingForMatrikel'" />
<xsl:with-param name="var_finalAttribute" select="'Lokalplan'" />
<xsl:with-param name="var_queryStepIdentifier" select="'2'" />
</xsl:call-template>
</xsl:template>
</xsl:transform>
(3-3/4)