| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381 |
- <?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"
- xmlns:p5dg="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/documentation_generator/documentation_generator.xsd"
- xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
- xmlns:SystemObjects__x3A__File="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/File.xsd"
- xmlns:p5ant-interface-resp="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/ant_interface/ant_interface-resp.xsd"
- xmlns:p5ant="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache.public/ant/ant.xsd"
- xmlns:object_merge_ant_object="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/object_merge_ant_object.xsd"
- exclude-result-prefixes="xs"
- version="2.0">
-
- <xsl:include href="p5dg.filepath.xsl"/>
-
- <xsl:output indent="yes"/>
- <xsl:strip-space elements="*"/>
- <!--<xsl:import-schema schema-location="repository/p5dg.documentation.files.antstructure-resp.xsd" namespace="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/ant_interface/ant_interface-resp.xsd"/>-->
-
-
- <xsl:param name="p5build_SE.build" required="yes"/>
- <xsl:param name="p5dg.repository.dita" required="yes"/>
- <xsl:param name="p5dg.temp" required="yes"/>
- <xsl:param name="p5dg.repository" required="yes"/>
- <xsl:param name="p5dg.documentation.files.index.root_dir" required="yes"/>
- <xsl:param name="p5dg.documentation.files.index.excludes.regex" required="yes"/>
- <!--<xsl:param name="p5ant.xsl" required="yes"/>-->
- <xsl:include href="../ant/p5ant.xsl"/>
-
-
-
-
-
-
-
-
-
-
- <!--<xsl:template match="p5dg:p5dg.documentation.files.index_analyzed.xml" mode="p5dg:p5ant.include.structure">
- <xsl:apply-templates mode="#current"/>
- </xsl:template>-->
-
- <!-- to be moved to p5ant-interface.xsl -->
- <xsl:template mode="p5dg:p5dg.documentation.files.index_fileset.xml" match="p5dg:p5dg.documentation.files.index.xml|object_merge_ant_object:object_merge_ant_object.from_remote_ant_object.files.index.xml" > <!-- xpath-default-namespace="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/documentation_generator/documentation_generator.xsd" -->
- <p5dg:p5dg.documentation.files.index_fileset.xml>
- <xsl:for-each select="tokenize(text(),';')">
- <p5dg:p5dg.file>
- <p5dg:filepath.dir><xsl:value-of select="p5dg:filepath.dir(.,$p5dg.documentation.files.index.root_dir)"/></p5dg:filepath.dir>
- <p5dg:filename><xsl:value-of select="p5dg:filename(.)"/></p5dg:filename>
- </p5dg:p5dg.file>
- </xsl:for-each>
- </p5dg:p5dg.documentation.files.index_fileset.xml>
- </xsl:template>
-
- <xsl:template mode="p5dg:p5dg.documentation.files.index_analyzed.xml" match="p5dg:p5dg.documentation.files.index_fileset.xml" xpath-default-namespace="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/documentation_generator/documentation_generator.xsd">
- <p5dg:p5dg.documentation.files.index_analyzed.xml>
- <xsl:for-each-group select="p5dg:p5dg.file" group-by="p5dg:filepath.dir">
- <xsl:sort select="p5dg:filepath.dir"/>
- <xsl:choose>
- <xsl:when test=" matches(p5dg:filepath.dir,$p5dg.documentation.files.index.excludes.regex)">
- <xsl:comment>#62 excluded p5dg:filepath.dir=<xsl:value-of select="p5dg:filepath.dir"/> by $p5dg.documentation.files.index.excludes.regex: </xsl:comment>
- </xsl:when>
- <xsl:otherwise>
- <p5ant:filelist>
- <xsl:attribute name="dir" select="p5dg:filepath.dir"/>
- <xsl:variable name="dir.tokens" select="count(tokenize(p5dg:filepath.dir,'/'))"/>
- <xsl:choose>
- <xsl:when test="substring(p5dg:filepath.dir, string-length(p5dg:filepath.dir), 1) = '/'">
- <xsl:attribute name="dir.tokens" select="$dir.tokens - 1"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:attribute name="dir.tokens" select="$dir.tokens"/>
- </xsl:otherwise>
- </xsl:choose>
-
- <xsl:for-each select="current-group()">
- <xsl:sort select="p5dg:filename"/>
- <p5ant:file>
- <xsl:attribute name="name" select="p5dg:filename"/>
- </p5ant:file>
- </xsl:for-each>
- </p5ant:filelist>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:for-each-group>
- <!-- <XSDComponent: Name:filelist Type:filelist Namespace:http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/ant_interface/ant_interface-resp.xsd
- Location:file:/Users/a.binder/Documents/xmlschema_procesy5/src-xmlschema/public_html/WPS_Functions/documentation_generator/repository/p5dg.documentation.files.antstructure-resp.xsd>
- </XSDComponent>-->
- <!--<SystemObjects__x3A__File:File>-->
- <!--<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <soap:Body>
- <GetCitiesByCountryResponse xmlns="http://www.webserviceX.NET">
- <GetCitiesByCountryResult><NewDataSet> <Table>
- <Country>Poland</Country> <City>Gdansk-Rebiechowo</City>
- </Table> <Table> <Country>Poland</Country>
- <City>Krakow</City> </Table> <Table>
- <Country>Poland</Country> <City>Koszalin</City>
- </Table> <Table> <Country>Poland</Country>
- <City>Katowice</City> </Table> <Table>
- <Country>Poland</Country> <City>Poznan</City> </Table>
- <Table> <Country>Poland</Country>
- <City>Rzeszow-Jasionka</City> </Table> <Table>
- <Country>Poland</Country> <City>Szczecin</City>
- </Table> <Table> <Country>Poland</Country>
- <City>Warszawa-Okecie</City> </Table> <Table>
- <Country>Poland</Country> <City>Wroclaw Ii</City>
- </Table> <Table> <Country>Poland</Country>
- <City>Zielona Gora</City> </Table>
- </NewDataSet></GetCitiesByCountryResult>
- </GetCitiesByCountryResponse>
- </soap:Body>
- </soap:Envelope>-->
- <!--</SystemObjects__x3A__File:File>-->
-
- </p5dg:p5dg.documentation.files.index_analyzed.xml>
- </xsl:template>
-
- <xsl:template mode="p5dg:p5dg.documentation.files.index_analyzed_structurized.xml" match="p5dg:p5dg.documentation.files.index_analyzed.xml" xpath-default-namespace="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/documentation_generator/documentation_generator.xsd">
- <p5dg:p5dg.documentation.files.index_analyzed_structurized.xml>
- <xsl:variable name="context.node" select="p5ant:filelist"/>
- <xsl:for-each-group select="p5ant:filelist[ position() = 1]" group-by="@dir.tokens">
- <xsl:sort select="number(@dir.tokens)"/>
- <xsl:apply-templates mode="#current" select="current-group()">
- <xsl:sort select="number(@dir.tokens)"/>
- <xsl:with-param name="context.node" select="$context.node"/>
- </xsl:apply-templates>
- </xsl:for-each-group>
- </p5dg:p5dg.documentation.files.index_analyzed_structurized.xml>
- </xsl:template>
-
-
-
- <xsl:template match="p5ant:filelist" mode="p5dg:p5dg.documentation.files.index_analyzed_structurized.xml">
- <xsl:param name="context.node" required="yes"/>
- <xsl:variable name="dir.tokens" select="@dir.tokens"/>
- <xsl:variable name="dir" select="@dir"/>
- <xsl:copy>
- <xsl:copy-of select="@*"/>
- <xsl:apply-templates mode="#current" select="$context.node[ contains(@dir,$dir) and number(@dir.tokens) = number($dir.tokens) + 1 ]">
- <xsl:sort select="number(@dir.tokens)"/>
- <xsl:with-param name="context.node" select="$context.node"/>
- </xsl:apply-templates>
- <xsl:choose>
- <xsl:when test="$context.node[ contains(@dir,$dir) and number(@dir.tokens) = number($dir.tokens) + 1 ]"/>
- <xsl:when test="$context.node[ contains(@dir,$dir) and number(@dir.tokens) > number($dir.tokens) ]">
- <xsl:for-each-group select="$context.node/p5ant:filelist[ position() = 1 and contains(@dir,$dir) and number(@dir.tokens) > number($dir.tokens) ]" group-by="@dir.tokens">
- <xsl:sort select="number(@dir.tokens)"/>
- <xsl:apply-templates mode="#current" select="current-group()">
- <xsl:sort select="number(@dir.tokens)"/>
- <xsl:with-param name="context.node" select="$context.node"/>
- </xsl:apply-templates>
- </xsl:for-each-group>
- </xsl:when>
- </xsl:choose>
- <xsl:apply-templates mode="p5dg:p5dg.documentation.files.index_analyzed_structurized.xml.file"/>
- </xsl:copy>
- </xsl:template>
-
- <xsl:template match="p5ant:file" mode="p5dg:p5dg.documentation.files.index_analyzed_structurized.xml.file">
- <xsl:copy-of select="."/>
- </xsl:template>
-
- <xsl:template match="*" mode="p5dg:p5dg.documentation.files.index_analyzed_structurized.xml.file"/>
-
-
-
- <!--<xsl:template match="*" mode="#all" >
- <xsl:message terminate="yes">#108 uncorrect input matched name()=<xsl:value-of select="name()"/> ;</xsl:message>
- </xsl:template>-->
-
- <xsl:template match="schema" mode="p5dg:documentation.files.antstructure-request.xsd" xpath-default-namespace="http://www.w3.org/2001/XMLSchema">
- <xsl:param name="p5dg:prefix" select="'p5ant-interface-request'"/>
- <schema xmlns="http://www.w3.org/2001/XMLSchema">
- <xsl:namespace name="{$p5dg:prefix}" select="'http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/ant_interface/ant_interface-request.xsd'"/>
- <!--<xsl:namespace name="p5ant-interface-resp" select="'http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/ant_interface/ant_interface-resp.xsd'"/>-->
- <xsl:copy-of select="@vc:minVersion"/>
- <xsl:attribute name="targetNamespace" select="'http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/ant_interface/ant_interface-request.xsd'"/>
- <xsl:apply-templates mode="#current" xpath-default-namespace="http://www.w3.org/2001/XMLSchema">
- <xsl:with-param name="p5dg:prefix" select="$p5dg:prefix"/>
- </xsl:apply-templates>
- </schema>
- </xsl:template>
-
- <xsl:template match="schema" mode="p5dg:documentation.files.antstructure-resp.xsd" xpath-default-namespace="http://www.w3.org/2001/XMLSchema">
- <xsl:param name="p5dg:prefix" select="'p5ant-interface-resp'"/>
- <schema xmlns="http://www.w3.org/2001/XMLSchema">
- <!--<xsl:namespace name="p5ant-interface-request" select="'http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/ant_interface/ant_interface-request.xsd'"/>-->
- <xsl:namespace name="{$p5dg:prefix}" select="'http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/ant_interface/ant_interface-resp.xsd'"/>
- <xsl:copy-of select="@vc:minVersion"/>
- <xsl:attribute name="targetNamespace" select="'http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/ant_interface/ant_interface-resp.xsd'"/>
- <xsl:apply-templates mode="#current" xpath-default-namespace="http://www.w3.org/2001/XMLSchema">
- <xsl:with-param name="p5dg:prefix" select="$p5dg:prefix"/>
- </xsl:apply-templates>
- </schema>
- </xsl:template>
-
-
- <xsl:template match="*" mode="p5dg:documentation.files.antstructure-request.xsd p5dg:documentation.files.antstructure-resp.xsd" xpath-default-namespace="http://www.w3.org/2001/XMLSchema">
- <xsl:param name="p5dg:prefix" required="yes"/>
- <xsl:element name="{name()}" namespace="http://www.w3.org/2001/XMLSchema">
- <xsl:apply-templates mode="p5dg:documentation.files.antstructure-request.xsd.child" select="@*" xpath-default-namespace="http://www.w3.org/2001/XMLSchema">
- <xsl:with-param name="p5dg:prefix" select="$p5dg:prefix"/>
- </xsl:apply-templates>
- <xsl:choose>
- <xsl:when test="attribute" xpath-default-namespace="http://www.w3.org/2001/XMLSchema">
- <xsl:variable name="sequence" select="*[local-name()='sequence' or local-name()='choice' or local-name()='all' ]/name()" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"/>
- <xsl:choose>
- <xsl:when test=" string-length($sequence)>0">
- <xsl:element name="sequence" namespace="http://www.w3.org/2001/XMLSchema" xpath-default-namespace="http://www.w3.org/2001/XMLSchema">
- <xsl:apply-templates mode="p5dg:documentation.files.antstructure-request.xsd.child" xpath-default-namespace="http://www.w3.org/2001/XMLSchema">
- <xsl:with-param name="p5dg:prefix" select="$p5dg:prefix"/>
- </xsl:apply-templates>
- </xsl:element>
- </xsl:when>
- <xsl:otherwise>
- <xsl:element name="sequence" namespace="http://www.w3.org/2001/XMLSchema" xpath-default-namespace="http://www.w3.org/2001/XMLSchema">
- <xsl:apply-templates mode="p5dg:documentation.files.antstructure-request.xsd.child" xpath-default-namespace="http://www.w3.org/2001/XMLSchema">
- <xsl:with-param name="p5dg:prefix" select="$p5dg:prefix"/>
- </xsl:apply-templates>
- </xsl:element>
- </xsl:otherwise>
- </xsl:choose>
-
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates mode="p5dg:documentation.files.antstructure-request.xsd.child" xpath-default-namespace="http://www.w3.org/2001/XMLSchema">
- <xsl:with-param name="p5dg:prefix" select="$p5dg:prefix"/>
- </xsl:apply-templates>
- </xsl:otherwise>
- </xsl:choose>
-
- <xsl:comment>#70 here</xsl:comment>
- </xsl:element>
- </xsl:template>
-
- <xsl:template match="@use|@minOccurs|@maxOccurs" mode="p5dg:documentation.files.antstructure-request.xsd.child" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"/>
-
- <xsl:template match="@*" mode="p5dg:documentation.files.antstructure-request.xsd.child" xpath-default-namespace="http://www.w3.org/2001/XMLSchema">
- <xsl:param name="p5dg:prefix" required="yes"/>
- <xsl:choose>
- <xsl:when test="substring-before(.,':')='p5ant'">
- <xsl:attribute name="{name()}" select="concat($p5dg:prefix,':', substring-after(.,':'))" />
- </xsl:when>
- <xsl:otherwise><xsl:copy-of select="."/></xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
-
-
-
- <xsl:template match="*" mode="p5dg:documentation.files.antstructure-request.xsd.child" xpath-default-namespace="http://www.w3.org/2001/XMLSchema">
- <xsl:param name="p5dg:prefix" required="yes"/>
- <xsl:element name="{name()}" namespace="http://www.w3.org/2001/XMLSchema">
- <!--<xsl:attribute name="p5dg:forced.86">tak</xsl:attribute>-->
- <xsl:apply-templates mode="#current" select="@*" xpath-default-namespace="http://www.w3.org/2001/XMLSchema">
- <xsl:with-param name="p5dg:prefix" select="$p5dg:prefix"/>
- </xsl:apply-templates>
-
- <xsl:apply-templates mode="#current" xpath-default-namespace="http://www.w3.org/2001/XMLSchema">
- <xsl:with-param name="p5dg:prefix" select="$p5dg:prefix"/>
- </xsl:apply-templates>
-
- </xsl:element>
- </xsl:template>
-
- <!--<xsl:template match="*" mode="p5dg:documentation.files.antstructure-request.xsd.child" >
- <xsl:param name="p5dg:prefix" required="yes"/>
- <xsl:element name="{name()}" namespace="http://www.w3.org/2001/XMLSchema">
- <xsl:attribute name="p5dg:forced.109">tak</xsl:attribute>
- <xsl:apply-templates mode="#current" select="@*" xpath-default-namespace="http://www.w3.org/2001/XMLSchema">
- <xsl:with-param name="p5dg:prefix" select="$p5dg:prefix"/>
- </xsl:apply-templates>
- </xsl:element>
- </xsl:template>-->
-
- <xsl:template match="attribute" mode="p5dg:documentation.files.antstructure-request.xsd.child" xpath-default-namespace="http://www.w3.org/2001/XMLSchema">
- <xsl:param name="p5dg:prefix" required="yes"/>
- <xsl:element name="element" namespace="http://www.w3.org/2001/XMLSchema">
- <!--<xsl:attribute name="p5dg:forced.86">tak</xsl:attribute>-->
- <xsl:apply-templates mode="#current" select="@*" xpath-default-namespace="http://www.w3.org/2001/XMLSchema">
- <xsl:with-param name="p5dg:prefix" select="$p5dg:prefix"/>
- </xsl:apply-templates>
- </xsl:element>
- </xsl:template>
-
-
- <xsl:template match="schema" mode="p5dg:documentation.ant.dtd2xsd.pl.fix.xsd" xpath-default-namespace="http://www.w3.org/2000/10/XMLSchema">
- <schema vc:minVersion="1.1" xmlns="http://www.w3.org/2001/XMLSchema">
- <xsl:namespace name="p5ant" select="'http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache.public/ant/ant.xsd'"/>
- <!--<xsl:namespace name="xs" select="'http://www.w3.org/2001/XMLSchema'"/>-->
- <xsl:copy-of select="@*"/>
- <xsl:comment>#179 making public simpleTypes to controll deriviation</xsl:comment>
- <xsl:for-each-group select="*//attribute" group-by="concat(@name,'-',@type)" xpath-default-namespace="http://www.w3.org/2000/10/XMLSchema">
- <xsl:element name="simpleType" namespace="http://www.w3.org/2001/XMLSchema" inherit-namespaces="yes">
- <!-- jest p5ant:string_simpleTypedescription na simpleType name="description_simpleTypestring" było concat(@name,'_simpleType',@type)
- <attribute name="name"
- type="p5ant:string_simpleTypename"
- fixme_todo="p5ant:name_simpleTypestring"
- use="optional"/>
- -->
- <xsl:attribute name="name" select="concat(@name,'_simpleType',@type)"/>
- <xsl:comment> pptional : <xsl:value-of select="concat(@type,'_simpleType',@name)"/></xsl:comment>
- <xsl:choose>
- <xsl:when test="@type">
- <restriction base="{@type}" />
- </xsl:when>
- <xsl:otherwise>
- <restriction base="string" />
- </xsl:otherwise>
- </xsl:choose>
- <!--<xsl:if test="@type"><restriction base="{@type}" /></xsl:if>--> <!-- namespace="http://www.w3.org/2001/XMLSchema" -->
- </xsl:element>
- </xsl:for-each-group>
- <!--<debug_attrs>
- <xsl:copy-of select="*//attribute"/>
- </debug_attrs>-->
- <xsl:for-each-group select="*" group-by="concat(@name,local-name())" xpath-default-namespace="http://www.w3.org/2000/10/XMLSchema">
- <xsl:apply-templates mode="p5dg:documentation.ant.dtd2xsd.pl.fix.xsd.rootElements" select="." xpath-default-namespace="http://www.w3.org/2000/10/XMLSchema"/>
- <xsl:apply-templates mode="p5dg:documentation.ant.dtd2xsd.pl.fix.xsd.rootComplexTypes" select="." xpath-default-namespace="http://www.w3.org/2000/10/XMLSchema"/>
- </xsl:for-each-group>
- </schema>
- </xsl:template>
-
-
- <xsl:template match="*" mode="p5dg:documentation.ant.dtd2xsd.pl.fix.xsd.rootElements p5dg:documentation.ant.dtd2xsd.pl.fix.xsd.rootComplexTypes">
- <missed.45>
- <xsl:copy-of select="."/>
- <xsl:message terminate="yes">#198 shouldnt be terminated!</xsl:message>
- </missed.45>
- </xsl:template>
-
- <xsl:template match="element[complexType]" mode="p5dg:documentation.ant.dtd2xsd.pl.fix.xsd.rootComplexTypes" xpath-default-namespace="http://www.w3.org/2000/10/XMLSchema">
- <xsl:element name="element" namespace="http://www.w3.org/2001/XMLSchema">
- <xsl:attribute name="type" select="concat('p5ant:',@name)"/>
- <xsl:attribute name="name" select="@name"/>
- </xsl:element>
- </xsl:template>
-
- <xsl:template match="element[complexType]" mode="p5dg:documentation.ant.dtd2xsd.pl.fix.xsd.rootElements" xpath-default-namespace="http://www.w3.org/2000/10/XMLSchema">
- <xsl:element name="complexType" namespace="http://www.w3.org/2001/XMLSchema" xpath-default-namespace="http://www.w3.org/2001/XMLSchema">
- <xsl:copy-of select="@*"/>
- <xsl:apply-templates mode="p5dg:documentation.ant.dtd2xsd.pl.fix.xsd" select="complexType/*" xpath-default-namespace="http://www.w3.org/2000/10/XMLSchema"/>
- </xsl:element>
- </xsl:template>
-
- <xsl:template match="@*" mode="p5dg:documentation.ant.dtd2xsd.pl.fix.xsd.simpleType p5dg:documentation.ant.dtd2xsd.pl.fix.xsd.simpleType.attribute" xpath-default-namespace="http://www.w3.org/2000/10/XMLSchema">
- <xsl:copy-of select="."/>
- </xsl:template>
-
- <xsl:template match="@type" mode="p5dg:documentation.ant.dtd2xsd.pl.fix.xsd.simpleType.attribute" xpath-default-namespace="http://www.w3.org/2000/10/XMLSchema">
- <xsl:attribute name="{name()}" select="concat('p5ant:',../@name,'_simpleType',current())"/>
- <!--<xsl:attribute name="fixme_todo" select=""/>-->
- </xsl:template>
-
- <xsl:template match="@type" mode="p5dg:documentation.ant.dtd2xsd.pl.fix.xsd.simpleType" xpath-default-namespace="http://www.w3.org/2000/10/XMLSchema">
- <xsl:attribute name="{name()}" select="concat('p5ant:',current(),'_simpleType',../@name)"/>
- <xsl:attribute name="fixme_todo" select="concat('p5ant:',../@name,'_simpleType',current())"/>
- </xsl:template>
-
- <xsl:template match="attribute" mode="p5dg:documentation.ant.dtd2xsd.pl.fix.xsd" xpath-default-namespace="http://www.w3.org/2000/10/XMLSchema">
- <xsl:element name="{local-name()}" namespace="http://www.w3.org/2001/XMLSchema" xpath-default-namespace="http://www.w3.org/2001/XMLSchema">
- <!--<xsl:copy-of select="@*"/>-->
- <xsl:apply-templates select="@*" mode="p5dg:documentation.ant.dtd2xsd.pl.fix.xsd.simpleType.attribute"/>
- <xsl:apply-templates mode="p5dg:documentation.ant.dtd2xsd.pl.fix.xsd" />
- </xsl:element>
- </xsl:template>
-
- <xsl:template match="*" mode="p5dg:documentation.ant.dtd2xsd.pl.fix.xsd">
- <xsl:element name="{local-name()}" namespace="http://www.w3.org/2001/XMLSchema" xpath-default-namespace="http://www.w3.org/2001/XMLSchema">
- <xsl:copy-of select="@*"/>
- <xsl:apply-templates mode="p5dg:documentation.ant.dtd2xsd.pl.fix.xsd" />
- </xsl:element>
- </xsl:template>
-
- <xsl:template match="SystemObjects__x3A__File:func" mode="SystemObjects__x3A__File:name">
-
- </xsl:template>
-
- </xsl:stylesheet>
|