Feature Summary

The XML Structure feature is used to view and manage the hierarchical structure of XML elements in a document. Through the XML Structure pane, you can intuitively browse, add, and edit XML elements, enabling structured markup of document content.

Feature Description

Feature Dimension Description
Membership Restriction No membership restriction; available to all users
Version Restriction Available only on WPS for Windows operating system computers

Operation Steps

Opening the XML Structure Pane

Feature Entry: "Tools" tab → "Developer Tools" button → "Developer Tools" tab → "XML Structure"

  1. Click the "Tools" tab at the top, locate and click the "Developer Tools" button to bring up the "Developer Tools" tab at the top
  2. Click the "Developer Tools" tab
  3. In the "XML" function group, click the "XML Structure" button
  4. The XML Structure task pane will appear on the right side
  5. The pane displays the tree structure of XML elements in the current document

截图
截图

Viewing XML Element Structure

Feature Entry: "Developer Tools" tab → "XML Structure"

  1. Open the XML Structure pane
  2. Expand or collapse element nodes in the pane
  3. Click an element to navigate to the corresponding markup location in the document
  4. View element attributes and data types

截图

Adding XML Elements

Feature Entry: "XML Structure Pane" → "Select an element and apply it to the current selection"

  1. Click the position where you want to add an element or select the content to which you want to add an XML element
  2. In the "XML Structure Pane", locate "Select an element and apply it to the current selection"
  3. Click the element you want to add to complete the addition

截图

Deleting XML Elements

Feature Entry: XML Structure Pane → Right-click → "Delete"

  1. Select the element to be deleted in the XML Structure pane
  2. Right-click and select "Delete"
  3. Confirm the deletion operation
  4. The element and its content will be removed from the document

截图

Frequently Asked Questions

Question 1: The XML Structure pane is empty?

  • Solution: You need to first attach an XML schema file via "Developer Tools" → "Schema" to see XML elements in the pane.

Question 2: Unable to expand an XML element?

  • Solution: Check whether the element contains child elements. Some elements may be leaf nodes and cannot be expanded.

Precautions

  1. The XML Structure pane needs to be used in conjunction with an XML schema
  2. Modifying elements in the pane will synchronously update the document content
  3. You can quickly locate XML markup in the document through the pane
  4. Deleting an element will also delete all its child elements and content