|
@@ -17,18 +17,59 @@
|
|
|
|
|
|
|
|
<xsl:param name="text-encoding" as="xs:string" select="'iso-8859-1'"/>
|
|
<xsl:param name="text-encoding" as="xs:string" select="'iso-8859-1'"/>
|
|
|
|
|
|
|
|
|
|
+ <xsl:param name="vPrefix" select="'automation_driven.submodule.struct'"/>
|
|
|
|
|
|
|
|
|
|
+ <xsl:function name="automation_driven.submodule.struct:typeFix">
|
|
|
|
|
+ <xsl:param name="type"/>
|
|
|
|
|
+ <xsl:choose>
|
|
|
|
|
+ <xsl:when test="$type = 'int'">xs:int</xsl:when>
|
|
|
|
|
+ <xsl:when test="$type = 'String'">xs:string</xsl:when>
|
|
|
|
|
+ <xsl:otherwise><xsl:value-of select="$vPrefix"/>:<xsl:value-of select="$type"/></xsl:otherwise>
|
|
|
|
|
+ </xsl:choose>
|
|
|
|
|
+ </xsl:function>
|
|
|
|
|
|
|
|
|
|
+ <xsl:template name="automation_driven.submodule.struct:ContentType">
|
|
|
|
|
+ <xsl:param name="base" required="yes"/>
|
|
|
|
|
+ <xsl:choose>
|
|
|
|
|
+ <xsl:when test="$base = 'xs:int' or $base = 'xs:string'">
|
|
|
|
|
+ <xs:simpleContent>
|
|
|
|
|
+ <xs:extension base="{$base}"/>
|
|
|
|
|
+ </xs:simpleContent>
|
|
|
|
|
+ </xsl:when>
|
|
|
|
|
+ <xsl:otherwise>
|
|
|
|
|
+ <xs:complexContent>
|
|
|
|
|
+ <xs:extension base="{$base}"/>
|
|
|
|
|
+ </xs:complexContent>
|
|
|
|
|
+ </xsl:otherwise>
|
|
|
|
|
+ </xsl:choose>
|
|
|
|
|
+ </xsl:template>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <xsl:template name="automation_driven.submodule.struct:get_maxOccurs">
|
|
|
|
|
+ <xsl:param name="vText" required="yes" tunnel="yes"/>
|
|
|
|
|
+ <xsl:param name="constName" required="yes"/>
|
|
|
|
|
+ <!--<xsl:comment>
|
|
|
|
|
+ #27 will get maxOccurs fr constName <xsl:value-of select="$constName"/>
|
|
|
|
|
+ </xsl:comment>-->
|
|
|
|
|
+ <xsl:variable name="ltb">\s*const.*<xsl:value-of select="$constName"/>\s*=\s*(\d*)\s*;</xsl:variable>
|
|
|
|
|
+ <xsl:analyze-string select="$vText" regex="{$ltb}">
|
|
|
|
|
+ <xsl:matching-substring>
|
|
|
|
|
+ <xsl:value-of select="regex-group(1)"/>
|
|
|
|
|
+ </xsl:matching-substring>
|
|
|
|
|
+ </xsl:analyze-string>
|
|
|
|
|
+
|
|
|
|
|
+ </xsl:template>
|
|
|
|
|
|
|
|
|
|
|
|
|
<xsl:template name="automation_driven.submodule.struct:read.xml" >
|
|
<xsl:template name="automation_driven.submodule.struct:read.xml" >
|
|
|
- <xsl:variable name="vText" select=
|
|
|
|
|
- "unparsed-text($automation_driven.submodule.struct:h,$text-encoding)"/>
|
|
|
|
|
|
|
|
|
|
|
|
+ <xsl:param name="vText" select=
|
|
|
|
|
+ "unparsed-text($automation_driven.submodule.struct:h,$text-encoding)" />
|
|
|
|
|
+
|
|
|
<!--<xsl:variable name="vLines" select=
|
|
<!--<xsl:variable name="vLines" select=
|
|
|
"tokenize($vText, '
?
')[normalize-space()]"/>-->
|
|
"tokenize($vText, '
?
')[normalize-space()]"/>-->
|
|
|
|
|
|
|
|
- <automation_driven.submodule.struct:read.xml>
|
|
|
|
|
|
|
+ <xs:schema>
|
|
|
<!--<xsl:variable name="struct.h.txt">
|
|
<!--<xsl:variable name="struct.h.txt">
|
|
|
<struct.h.txt>
|
|
<struct.h.txt>
|
|
|
<xsl:for-each select="tokenize($vText, '
?
')[normalize-space()]">
|
|
<xsl:for-each select="tokenize($vText, '
?
')[normalize-space()]">
|
|
@@ -40,29 +81,203 @@
|
|
|
</xsl:variable>-->
|
|
</xsl:variable>-->
|
|
|
<!--<xsl:apply-templates mode="automation_driven.submodule.struct:read.xml" select="$struct.h.txt"/>-->
|
|
<!--<xsl:apply-templates mode="automation_driven.submodule.struct:read.xml" select="$struct.h.txt"/>-->
|
|
|
|
|
|
|
|
- <xsl:analyze-string select="$vText" regex="typedef(.+) (.+);(.*)">
|
|
|
|
|
|
|
+ <xsl:attribute name="targetNamespace">http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven/automation_driven.submodule.struct.xsd</xsl:attribute>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <xs:complexType mixed="false" name="String">
|
|
|
|
|
+ <xs:simpleContent>
|
|
|
|
|
+ <xs:extension base="xs:string"/>
|
|
|
|
|
+ </xs:simpleContent>
|
|
|
|
|
+ </xs:complexType>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <xs:complexType name="unsigned_long_T">
|
|
|
|
|
+ <xs:simpleContent>
|
|
|
|
|
+ <xs:extension base="xs:unsignedLong"/>
|
|
|
|
|
+ </xs:simpleContent>
|
|
|
|
|
+ </xs:complexType>
|
|
|
|
|
+
|
|
|
|
|
+ <!--<xsl:variable name="ltb">{</xsl:variable>-->
|
|
|
|
|
+ <!--<xsl:variable name="ltb">\s(.*)struct(.*)\{\s*,\s(.*)\s,\s(.*)}\s</xsl:variable>-->
|
|
|
|
|
+ <!--<xsl:variable name="ltb">struct(.*) (.*)\{\s*((.+) (.+)(.*);)\s*.*\}.*;</xsl:variable>-->
|
|
|
|
|
+ <!--<xsl:variable name="ltb">struct(.*) (.*)\{\n*((.+) (.+)(.*);).*EOF</xsl:variable>-->
|
|
|
|
|
+ <!--<xsl:variable name="ltb">\sstruct(.*) (.*)\{\n\s{2,}((.+) (.+)(.*);(.*)\n)\s*.*\}.*;.*\n\s</xsl:variable>-->
|
|
|
|
|
+ <!--<xsl:variable name="ltb">struct(.*) (.*)\{\n\s*((.+) (.+)(.*);.*\n)\s.*\}.*;.*\n</xsl:variable>-->
|
|
|
|
|
+ <!--<xsl:variable name="ltb">^.*struct(.*) (.*)\{$(^(.+) (.+)(.*);.*$)^.*\}.*;</xsl:variable>-->
|
|
|
|
|
+ <!--<xsl:variable name="ltb">^.*struct(.*) (.*)\{$(^(.+) (.+)(.*);.*$)^.*\}.*;</xsl:variable>-->
|
|
|
|
|
+ <!--<xsl:variable name="ltb">^struct (\S*) (\s*)\{(\s*)$\s(^(\s*)(\S*)(\s*)(\S*)(\s*);$)\s^.*\}.*$</xsl:variable>-->
|
|
|
|
|
+ <!--<xsl:variable name="ltb">\s^struct(.*)\{$\s(^(.*);$)\s^\};$</xsl:variable>-->
|
|
|
|
|
+ <!--<xsl:variable name="ltb">\s((^struct(.*)\{$))\s((^.*;))\s^\};$</xsl:variable>-->
|
|
|
|
|
+ <xsl:variable name="ltb">^.*struct (\S*)(\s*)\{.*\s(^.*;.*$\s)+^(\s*)\};.*$</xsl:variable>
|
|
|
|
|
+
|
|
|
|
|
+ <xsl:analyze-string select="$vText" regex="{$ltb}" flags="m">
|
|
|
<xsl:matching-substring>
|
|
<xsl:matching-substring>
|
|
|
<xsl:choose>
|
|
<xsl:choose>
|
|
|
- <xsl:when test="matches(regex-group(1),'unsigned')">
|
|
|
|
|
- <xs:complexType>
|
|
|
|
|
|
|
+ <xsl:when test="1 = 1"><!-- matches(regex-group(1),'_S') -->
|
|
|
|
|
+ <xs:complexType >
|
|
|
|
|
+ <xsl:attribute name="name" select="normalize-space(regex-group(1))"/>
|
|
|
|
|
+ <xs:sequence>
|
|
|
|
|
+ <xsl:variable name="ltb">^\s*(\S+) (\S+)\s*;.*$</xsl:variable>
|
|
|
|
|
+ <xsl:variable name="regex-group-0" select="regex-group(0)"/>
|
|
|
|
|
+ <xsl:analyze-string select="$regex-group-0" regex="{$ltb}" flags="m">
|
|
|
|
|
+ <xsl:matching-substring>
|
|
|
|
|
+ <xsl:choose>
|
|
|
|
|
+ <xsl:when test="matches(regex-group(2),'\[')"><!-- matches(regex-group(1),'_S') -->
|
|
|
|
|
+
|
|
|
|
|
+ <!-- TODO get limit -->
|
|
|
|
|
+ <xsl:variable name="ltb">\s*(\S+)\[(\S+)\].*</xsl:variable>
|
|
|
|
|
+ <xsl:variable name="regex-group-1-type" select="regex-group(1)"/>
|
|
|
|
|
+ <xsl:variable name="regex-group-2-limit" select="regex-group(2)"/>
|
|
|
|
|
+ <xsl:analyze-string select="regex-group(2)" regex="{$ltb}" flags="m">
|
|
|
|
|
+ <xsl:matching-substring>
|
|
|
|
|
+ <xsl:variable name="regex-group-2-limit-name-1" select="normalize-space(regex-group(1))"/>
|
|
|
|
|
+ <xsl:variable name="maxOccurs">
|
|
|
|
|
+ <xsl:call-template name="automation_driven.submodule.struct:get_maxOccurs">
|
|
|
|
|
+ <xsl:with-param name="constName" select="regex-group(2)"/>
|
|
|
|
|
+ <xsl:with-param name="vText" select="$vText" tunnel="yes"/>
|
|
|
|
|
+ </xsl:call-template>
|
|
|
|
|
+ </xsl:variable>
|
|
|
|
|
+ <xsl:comment>#89_OK get limit r:<xsl:value-of select="$ltb"/>
|
|
|
|
|
+ v:<xsl:value-of select="$regex-group-2-limit"/>
|
|
|
|
|
+ res:<xsl:value-of select="regex-group(1)"/>
|
|
|
|
|
+ maxOccurs:<xsl:value-of select="$maxOccurs"/>
|
|
|
|
|
+ regex-group-2-limit-name-1:<xsl:value-of select="$regex-group-2-limit-name-1"/>
|
|
|
|
|
+ </xsl:comment>
|
|
|
|
|
+
|
|
|
|
|
+ <xs:element name="{$regex-group-2-limit-name-1}"
|
|
|
|
|
+ type="{$vPrefix}:{normalize-space($regex-group-1-type)}"
|
|
|
|
|
+ maxOccurs="{$maxOccurs}">
|
|
|
|
|
+ <!--<xs:annotation>
|
|
|
|
|
+ <xs:documentation> #str72_B_OCCURS</xs:documentation>
|
|
|
|
|
+ </xs:annotation>-->
|
|
|
|
|
+ </xs:element>
|
|
|
|
|
+
|
|
|
|
|
+ </xsl:matching-substring>
|
|
|
|
|
+ <xsl:non-matching-substring>
|
|
|
|
|
+ <xsl:comment>#89_N get limit r:<xsl:value-of select="$ltb"/>
|
|
|
|
|
+ v:<xsl:value-of select="$regex-group-2-limit"/></xsl:comment>
|
|
|
|
|
+ </xsl:non-matching-substring>
|
|
|
|
|
+ </xsl:analyze-string>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ </xsl:when>
|
|
|
|
|
+ <xsl:otherwise>
|
|
|
|
|
+ <xs:element name="{normalize-space(regex-group(2))}"
|
|
|
|
|
+ type="{$vPrefix}:{normalize-space(regex-group(1))}">
|
|
|
|
|
+ <!--<xs:annotation>
|
|
|
|
|
+ <xs:documentation> #str72_B
|
|
|
|
|
+ gr 1 <xsl:value-of select="normalize-space(regex-group(1))"/>
|
|
|
|
|
+ gr_2 <xsl:value-of select="normalize-space(regex-group(2))"/>
|
|
|
|
|
+ gr_3 <xsl:value-of select="normalize-space(regex-group(3))"/>
|
|
|
|
|
+ gr_4 <xsl:value-of select="normalize-space(regex-group(4))"/>
|
|
|
|
|
+ gr_0 <xsl:value-of select="normalize-space(regex-group(0))"/>
|
|
|
|
|
+ </xs:documentation>
|
|
|
|
|
+ </xs:annotation>-->
|
|
|
|
|
+ </xs:element>
|
|
|
|
|
+ </xsl:otherwise>
|
|
|
|
|
+ </xsl:choose>
|
|
|
|
|
+ <!--<xsl:element name="{normalize-space(regex-group(1))}">
|
|
|
|
|
+ <xsl:value-of select="normalize-space(regex-group(2))"/>
|
|
|
|
|
+ </xsl:element>-->
|
|
|
|
|
+ </xsl:matching-substring>
|
|
|
|
|
+ <!--<xsl:non-matching-substring>
|
|
|
|
|
+ <xs:annotation>
|
|
|
|
|
+ <xs:documentation> #str72_C non-matching-substring from <xsl:value-of select="$regex-group-0"/> and regex <xsl:value-of select="$ltb"/>
|
|
|
|
|
+ gr 1 <xsl:value-of select="normalize-space(regex-group(1))"/>
|
|
|
|
|
+ gr_2 <xsl:value-of select="normalize-space(regex-group(2))"/>
|
|
|
|
|
+ gr_3 <xsl:value-of select="normalize-space(regex-group(3))"/>
|
|
|
|
|
+ gr_4 <xsl:value-of select="normalize-space(regex-group(4))"/>
|
|
|
|
|
+ gr_0 <xsl:value-of select="normalize-space(regex-group(0))"/>
|
|
|
|
|
+ </xs:documentation>
|
|
|
|
|
+ </xs:annotation>
|
|
|
|
|
+ </xsl:non-matching-substring>-->
|
|
|
|
|
+ </xsl:analyze-string>
|
|
|
|
|
+
|
|
|
|
|
+ </xs:sequence>
|
|
|
|
|
+
|
|
|
|
|
+ <!--<xs:annotation>
|
|
|
|
|
+ <xs:documentation> #str72
|
|
|
|
|
+ gr 1 <xsl:value-of select="normalize-space(regex-group(1))"/>
|
|
|
|
|
+ gr_2 <xsl:value-of select="normalize-space(regex-group(2))"/>
|
|
|
|
|
+ gr_3 <xsl:value-of select="normalize-space(regex-group(3))"/>
|
|
|
|
|
+ gr_4 <xsl:value-of select="normalize-space(regex-group(4))"/>
|
|
|
|
|
+ gr_0 <xsl:value-of select="normalize-space(regex-group(0))"/>
|
|
|
|
|
+ </xs:documentation>
|
|
|
|
|
+ </xs:annotation>-->
|
|
|
|
|
+ </xs:complexType>
|
|
|
|
|
+ </xsl:when>
|
|
|
|
|
+
|
|
|
|
|
+ <xsl:otherwise>
|
|
|
|
|
+
|
|
|
|
|
+ <xs:complexType >
|
|
|
<xsl:attribute name="name" select="normalize-space(regex-group(2))"/>
|
|
<xsl:attribute name="name" select="normalize-space(regex-group(2))"/>
|
|
|
- <xsl:attribute name="type" select="normalize-space(regex-group(1))"/>
|
|
|
|
|
|
|
+ <xs:annotation>
|
|
|
|
|
+ <xs:documentation> #str74
|
|
|
|
|
+ <xsl:value-of select="normalize-space(regex-group(0))"/>
|
|
|
|
|
+ </xs:documentation>
|
|
|
|
|
+ </xs:annotation>
|
|
|
|
|
+ <xs:sequence/>
|
|
|
|
|
+ </xs:complexType>
|
|
|
|
|
+ </xsl:otherwise>
|
|
|
|
|
+ </xsl:choose>
|
|
|
|
|
+ <!--<xsl:element name="{normalize-space(regex-group(1))}">
|
|
|
|
|
+ <xsl:value-of select="normalize-space(regex-group(2))"/>
|
|
|
|
|
+ </xsl:element>-->
|
|
|
|
|
+ </xsl:matching-substring>
|
|
|
|
|
+ </xsl:analyze-string>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <xsl:analyze-string select="$vText" regex="(.*)typedef(.+) (.+);(.*)">
|
|
|
|
|
+ <xsl:matching-substring>
|
|
|
|
|
+ <xsl:choose>
|
|
|
|
|
+ <xsl:when test="matches(regex-group(1),'//')">
|
|
|
|
|
+ <xsl:comment>
|
|
|
|
|
+ <xsl:value-of select="regex-group(0)"/>
|
|
|
|
|
+ </xsl:comment>
|
|
|
|
|
+ </xsl:when>
|
|
|
|
|
+ <xsl:when test="matches(regex-group(2),'unsigned')">
|
|
|
|
|
+ <xs:complexType>
|
|
|
|
|
+ <xsl:attribute name="name" select="normalize-space(regex-group(3))"/>
|
|
|
|
|
+ <xs:annotation>
|
|
|
|
|
+ <xs:documentation>#219
|
|
|
|
|
+ <xsl:value-of select="normalize-space(regex-group(0))"/>
|
|
|
|
|
+ </xs:documentation>
|
|
|
|
|
+ </xs:annotation>
|
|
|
|
|
+ <xs:complexContent>
|
|
|
|
|
+ <xs:extension base="{$vPrefix}:{normalize-space(regex-group(2))}"/>
|
|
|
|
|
+ </xs:complexContent>
|
|
|
<!--<xsl:attribute name="type" select="tokenize(regex-group(1),' ')[1 to 2]"/>-->
|
|
<!--<xsl:attribute name="type" select="tokenize(regex-group(1),' ')[1 to 2]"/>-->
|
|
|
<!--<xsl:attribute name="name0" select="normalize-space(regex-group(0))"/>-->
|
|
<!--<xsl:attribute name="name0" select="normalize-space(regex-group(0))"/>-->
|
|
|
</xs:complexType>
|
|
</xs:complexType>
|
|
|
</xsl:when>
|
|
</xsl:when>
|
|
|
- <xsl:when test="string-length(normalize-space(regex-group(1))) > 0">
|
|
|
|
|
|
|
+ <xsl:when test="string-length(normalize-space(regex-group(2))) > 0">
|
|
|
<xs:complexType>
|
|
<xs:complexType>
|
|
|
|
|
|
|
|
- <xsl:attribute name="name" select="normalize-space(regex-group(2))"/>
|
|
|
|
|
- <xsl:attribute name="type" select="normalize-space(regex-group(1))"/>
|
|
|
|
|
|
|
+ <xsl:attribute name="name" select="normalize-space(regex-group(3))"/>
|
|
|
|
|
+ <xs:annotation>
|
|
|
|
|
+ <xs:documentation>#235
|
|
|
|
|
+ <xsl:value-of select="normalize-space(regex-group(0))"/>
|
|
|
|
|
+ </xs:documentation>
|
|
|
|
|
+ </xs:annotation>
|
|
|
|
|
+ <xsl:call-template name="automation_driven.submodule.struct:ContentType">
|
|
|
|
|
+ <xsl:with-param name="base" select="automation_driven.submodule.struct:typeFix(normalize-space(regex-group(2)))"/>
|
|
|
|
|
+ </xsl:call-template>
|
|
|
<!--<xsl:attribute name="name0" select="normalize-space(regex-group(0))"/>-->
|
|
<!--<xsl:attribute name="name0" select="normalize-space(regex-group(0))"/>-->
|
|
|
</xs:complexType>
|
|
</xs:complexType>
|
|
|
</xsl:when>
|
|
</xsl:when>
|
|
|
<xsl:otherwise>
|
|
<xsl:otherwise>
|
|
|
- <OTHER>
|
|
|
|
|
- <xsl:attribute name="name0" select="normalize-space(regex-group(0))"/>
|
|
|
|
|
- </OTHER>
|
|
|
|
|
|
|
+ <xs:annotation>
|
|
|
|
|
+ <xs:documentation> #87
|
|
|
|
|
+ <xsl:value-of select="normalize-space(regex-group(0))"/>
|
|
|
|
|
+ </xs:documentation>
|
|
|
|
|
+ </xs:annotation>
|
|
|
</xsl:otherwise>
|
|
</xsl:otherwise>
|
|
|
</xsl:choose>
|
|
</xsl:choose>
|
|
|
<!--<xsl:element name="{normalize-space(regex-group(1))}">
|
|
<!--<xsl:element name="{normalize-space(regex-group(1))}">
|
|
@@ -71,29 +286,43 @@
|
|
|
</xsl:matching-substring>
|
|
</xsl:matching-substring>
|
|
|
</xsl:analyze-string>
|
|
</xsl:analyze-string>
|
|
|
|
|
|
|
|
- <xsl:analyze-string select="$vText" regex="const(.+) (.+)=(.+)(.*);(.*)">
|
|
|
|
|
|
|
+ <xsl:analyze-string select="$vText" regex="\s*const\s+(\S+)\s+(\S+)\s*=\s*(\d+)\s*;.*">
|
|
|
<xsl:matching-substring>
|
|
<xsl:matching-substring>
|
|
|
<xsl:choose>
|
|
<xsl:choose>
|
|
|
<xsl:when test="matches(regex-group(1),'unsigned')">
|
|
<xsl:when test="matches(regex-group(1),'unsigned')">
|
|
|
- <xs:element>
|
|
|
|
|
- <xsl:attribute name="name" select="normalize-space(regex-group(2))"/>
|
|
|
|
|
- <xsl:attribute name="type" select="normalize-space(regex-group(1))"/>
|
|
|
|
|
|
|
+ <xs:element name="{normalize-space(regex-group(2))}"
|
|
|
|
|
+ type="{$vPrefix}:{normalize-space(regex-group(1))}">
|
|
|
<!--<xsl:attribute name="type" select="tokenize(regex-group(1),' ')[1 to 2]"/>-->
|
|
<!--<xsl:attribute name="type" select="tokenize(regex-group(1),' ')[1 to 2]"/>-->
|
|
|
<!--<xsl:attribute name="name0" select="normalize-space(regex-group(0))"/>-->
|
|
<!--<xsl:attribute name="name0" select="normalize-space(regex-group(0))"/>-->
|
|
|
|
|
+ <xs:annotation>
|
|
|
|
|
+ <xs:documentation> #276
|
|
|
|
|
+ <xsl:value-of select="normalize-space(regex-group(0))"/>
|
|
|
|
|
+ </xs:documentation>
|
|
|
|
|
+ </xs:annotation>
|
|
|
</xs:element>
|
|
</xs:element>
|
|
|
</xsl:when>
|
|
</xsl:when>
|
|
|
<xsl:when test="string-length(normalize-space(regex-group(1))) > 0">
|
|
<xsl:when test="string-length(normalize-space(regex-group(1))) > 0">
|
|
|
- <xs:element>
|
|
|
|
|
-
|
|
|
|
|
- <xsl:attribute name="name" select="normalize-space(regex-group(2))"/>
|
|
|
|
|
- <xsl:attribute name="type" select="normalize-space(regex-group(1))"/>
|
|
|
|
|
|
|
+ <xs:element name="{normalize-space(regex-group(2))}"
|
|
|
|
|
+ type="{$vPrefix}:{normalize-space(regex-group(1))}"
|
|
|
|
|
+ fixed="{normalize-space(regex-group(3))}"
|
|
|
|
|
+ >
|
|
|
<!--<xsl:attribute name="name0" select="normalize-space(regex-group(0))"/>-->
|
|
<!--<xsl:attribute name="name0" select="normalize-space(regex-group(0))"/>-->
|
|
|
|
|
+ <xs:annotation>
|
|
|
|
|
+ <xs:documentation>#283
|
|
|
|
|
+ 0: <xsl:value-of select="normalize-space(regex-group(0))"/>
|
|
|
|
|
+ 1: <xsl:value-of select="normalize-space(regex-group(1))"/>
|
|
|
|
|
+ 2: <xsl:value-of select="normalize-space(regex-group(2))"/>
|
|
|
|
|
+ 3: <xsl:value-of select="normalize-space(regex-group(3))"/>
|
|
|
|
|
+ </xs:documentation>
|
|
|
|
|
+ </xs:annotation>
|
|
|
</xs:element>
|
|
</xs:element>
|
|
|
</xsl:when>
|
|
</xsl:when>
|
|
|
<xsl:otherwise>
|
|
<xsl:otherwise>
|
|
|
- <OTHERelement>
|
|
|
|
|
- <xsl:attribute name="name0" select="normalize-space(regex-group(0))"/>
|
|
|
|
|
- </OTHERelement>
|
|
|
|
|
|
|
+ <xs:annotation>
|
|
|
|
|
+ <xs:documentation>#128
|
|
|
|
|
+ <xsl:value-of select="normalize-space(regex-group(0))"/>
|
|
|
|
|
+ </xs:documentation>
|
|
|
|
|
+ </xs:annotation>
|
|
|
</xsl:otherwise>
|
|
</xsl:otherwise>
|
|
|
</xsl:choose>
|
|
</xsl:choose>
|
|
|
<!--<xsl:element name="{normalize-space(regex-group(1))}">
|
|
<!--<xsl:element name="{normalize-space(regex-group(1))}">
|
|
@@ -103,7 +332,7 @@
|
|
|
</xsl:analyze-string>
|
|
</xsl:analyze-string>
|
|
|
|
|
|
|
|
|
|
|
|
|
- </automation_driven.submodule.struct:read.xml>
|
|
|
|
|
|
|
+ </xs:schema>
|
|
|
</xsl:template>
|
|
</xsl:template>
|
|
|
|
|
|
|
|
|
|
|