| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <?xml version="1.0" encoding="UTF-8"?>
- <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:xs="http://www.w3.org/2001/XMLSchema"
- exclude-result-prefixes="xs"
- xmlns:default_db__x3A__NEURO_MIND_INPUT_TEXT="https://biuro.biall-net.pl/wfs/default_db/table/NEURO_MIND_INPUT_TEXT.xsd"
- xmlns:default_db__x3A__STRUCTURE="https://biuro.biall-net.pl/wfs/default_db/table/STRUCTURE.xsd"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- version="2.0">
-
- <!--
-
- <xsl:param name="default_db__x3A__STRUCTURE:schemaLocation.globmapper.from" select=""/>
- <xsl:param name="default_db__x3A__STRUCTURE:schemaLocation.globmapper.to" select=""/>
-
- -->
-
- <xsl:function name="default_db__x3A__STRUCTURE:schemaLocation">
- <xsl:param name="default_db__x3A__STRUCTURE:targetNamespace"/>
- <xsl:param name="default_db__x3A__STRUCTURE:document-uri.filename"/>
- <xsl:value-of select="concat($default_db__x3A__STRUCTURE:targetNamespace,' ',$default_db__x3A__STRUCTURE:document-uri.filename)"/>
- </xsl:function>
-
-
- <xsl:template name="default_db__x3A__STRUCTURE:schemaLocation">
- <xsl:param name="default_db__x3A__STRUCTURE:targetNamespace" required="yes"/>
- <xsl:param name="default_db__x3A__STRUCTURE:targetNamespace.dataname" required="no"/>
- <xsl:param name="default_db__x3A__STRUCTURE:targetNamespace.sequencefile" required="no"/>
- <xsl:param name="default_db__x3A__STRUCTURE:document-uri.filename" required="no"/>
- <xsl:choose>
- <xsl:when test="string-length($default_db__x3A__STRUCTURE:document-uri.filename) >0">
- <xsl:attribute name="xsi:schemaLocation" select="default_db__x3A__STRUCTURE:schemaLocation($default_db__x3A__STRUCTURE:targetNamespace,$default_db__x3A__STRUCTURE:document-uri.filename)"/>
- </xsl:when>
- <xsl:when test="$default_db__x3A__STRUCTURE:targetNamespace.dataname">
- <xsl:variable name="document-uri.filename">
- <xsl:value-of select="$default_db.ant-object.basedir"/><xsl:text>/default_db.</xsl:text><xsl:value-of select="$default_db__x3A__STRUCTURE:targetNamespace.dataname"/>
- <xsl:text>/</xsl:text><xsl:value-of select="$default_db__x3A__STRUCTURE:targetNamespace.dataname"/>
- <xsl:text>/</xsl:text><xsl:value-of select="$default_db__x3A__STRUCTURE:targetNamespace.dataname"/>
- <xsl:if test="string-length($default_db__x3A__STRUCTURE:targetNamespace.sequencefile)>0">
- <xsl:text>.</xsl:text><xsl:value-of select="$default_db__x3A__STRUCTURE:targetNamespace.sequencefile"/>
- </xsl:if>
- <xsl:text>.xsd</xsl:text>
- </xsl:variable>
- <xsl:attribute name="xsi:schemaLocation" select="default_db__x3A__STRUCTURE:schemaLocation($default_db__x3A__STRUCTURE:targetNamespace,$document-uri.filename)"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="default_db__x3A__STRUCTURE:error.otherwise">
- <xsl:with-param name="default_db__x3A__STRUCTURE:error.otherwise.message">Otherwise problem</xsl:with-param>
- </xsl:call-template>
- </xsl:otherwise>
- </xsl:choose>
-
- </xsl:template>
-
-
- </xsl:stylesheet>
|