Added Format XML button in XSLT and XSD tools

This commit is contained in:
2023-02-23 14:11:18 +01:00
parent 15830d7adf
commit 7042959ee3
2 changed files with 6 additions and 2 deletions

View File

@@ -26,8 +26,10 @@
</select>
</div>
<div>
<button class="action-button active" id="defaultXMLButton" style="padding: 3px 10px;"
<button class="action-button active" id="clearXMLButton" style="padding: 3px 10px;"
onclick="clearDataField()">Clear</button>
<button class="action-button active" id="prettyXMLButton" style="padding: 3px 10px;"
onclick="performFormatRequest('prettifypost', true, 'xmlArea', 'xmlArea')">Format XML</button>
<button class="action-button active" id="defaultXMLButton" style="padding: 3px 10px;"
onclick="fillDefaultXML(this)">Insert default XML</button>
</div>

View File

@@ -26,8 +26,10 @@
</select>
</div>
<div>
<button class="action-button active" id="defaultXMLButton" style="padding: 3px 10px;"
<button class="action-button active" id="clearXMLButton" style="padding: 3px 10px;"
onclick="clearDataField()">Clear</button>
<button class="action-button active" id="prettyXMLButton" style="padding: 3px 10px;"
onclick="performFormatRequest('prettifypost', true, 'xmlArea', 'xmlArea')">Format XML</button>
<button class="action-button active" id="defaultXMLButton" style="padding: 3px 10px;"
onclick="fillDefaultXML(this)">Insert default XML</button>
</div>