User Entry SQF Operation

The <sqf:user-entry> element defines a value that must be set manually by the user. If multiple user-entry elements are defined, Oxygen XML Developer plugin will display a dialog box for each one, in which the user can specify values. Also, the <user-entry> element can be used as an XPath variable where the XPath variable is the name of the user-entry.

An Example of the <sqf:user-entry> Element:

<sqf:fix id="duplicate">
   <sqf:description>
      <sqf:title>Change the name of the element</sqf:title>
   </sqf:description>
   <sqf:user-entry name="newName" default="product">
      <sqf:description>
          <sqf:title>Enter the new name of the element</sqf:title>
      </sqf:description>
   </sqf:user-entry>
   <sqf:replace node-type="element" target="{$newName}" select="child::node()"/>
</sqf:fix>

Was this helpful?