Use XML Structure through 4 how-to topics in WPS Writer on Windows; all 4 topics are free to use and 0 topics are membership-related.
How-to Index
| No. | Topic | Membership Requirement |
|---|---|---|
| 1 | 1. Open the XML Structure pane | Free |
| 2 | 2. View the XML element structure | Free |
| 3 | 3. Add an XML element | Free |
| 4 | 4. Delete an XML element | Free |
How-to Guide
1. Open the XML Structure pane
Feature entry: Developer → XML Structure
- Open a document in WPS Writer.
- Click the Developer tab.
- In the XML group, click XML Structure.
- The XML Structure task pane appears on the right side.
- Review the tree view of XML elements in the current document.
Success Criteria
- The XML Structure task pane is visible on the right side.
- You can see the XML element hierarchy or the related structure area for the current document.
Tips While Using
- If the pane is empty, attach an XML schema file to the document first.
- This feature is available in WPS for Windows.
2. View the XML element structure
Feature entry: Developer → XML Structure
- Open the XML Structure pane first.
- Expand or collapse element nodes in the pane.
- Click an element node.
- Check the related markup position in the document.
- Review the element properties and data type as needed.
Success Criteria
- You can expand or collapse XML element nodes.
- After clicking an element, you can review the related location in the document.
Tips While Using
- Some elements may be leaf nodes, so they cannot be expanded further.
- The visible XML structure depends on the XML schema attached to the document.
3. Add an XML element
Feature entry: XML Structure pane → Select an element and apply it to the current selection
- Click the position where you want to add the element, or select the target content first.
- Open the XML Structure pane.
- Find the area labeled Select an element and apply it to the current selection.
- Click the XML element you want to add.
- Confirm that the element is applied and the document structure is updated.
Success Criteria
- The selected content has the intended XML element applied.
- The XML Structure pane reflects the updated structure.
Tips While Using
- Confirm the current selection before applying an element.
- If the element list is unavailable, check whether a usable XML schema has been attached.
4. Delete an XML element
Feature entry: XML Structure pane → Right-click → Delete
- Open the XML Structure pane.
- Select the element you want to remove.
- Right-click the element and choose Delete.
- Confirm the deletion.
- Check whether the element and its related content have been removed from the document.
Success Criteria
- The target element no longer appears in the XML Structure pane.
- The related content or markup is removed from the document.
Tips While Using
- Deleting an element may also remove related child elements and content.
- Review the selected element carefully before deletion.