final fixes in xml

This commit is contained in:
wojciech
2024-07-30 12:27:38 +02:00
parent eddc0b1646
commit 8db5e17d66
4 changed files with 24 additions and 29 deletions

View File

@@ -27,7 +27,7 @@
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="pfx:author" minOccurs="0"/>
<xsd:element name="satus" type="xsd:string"/>
<xsd:element name="status" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>

View File

@@ -15,7 +15,14 @@
</pd:startType>
<pd:startX>67</pd:startX>
<pd:startY>77</pd:startY>
<pd:returnBindings/>
<pd:returnBindings>
<root>
<xsl:copy-of select="$get-or-delete/root/ns2:author"/>
<status>
<xsl:value-of select="if (boolean($XMLPOST/root/status)) then $XMLPOST/root/status else $get-or-delete/root/status"/>
</status>
</root>
</pd:returnBindings>
<pd:endName>End</pd:endName>
<pd:endType>
<xsd:element name="root">