---
title: "Element <structure>"
source: https://dev.pageseeder.com/psml/elements/element-structure.html
description: "PSML Element reference for <structure>"
last_updated: 2026-08-07T17:09:54+10:00
tokens: ~315
---

# \<structure\>

## Summary

Contains the previous structure of the [version](../../reference/glossary/version.md) this [document](../../reference/glossary/document.md) is being compared to.  Only appears when comparing documents.

*INFORMATIONAL - ignored by upload.*

## Usage context

| Element category | metadata |
| --- | --- |
| PSML level | portable |
| Permitted content | `<section-ref> <toc-ref>` |
| Permitted parent | `<compareto>` |
| HTML equivalent |  |
| OpenXML equivalent |  |

## Attributes

This element has no attributes.

## Examples

```lang-xml

<structure>
  <section-ref id="title">
    <fragment-ref id="1"/>
  </section-ref>
  <toc-ref/>
  <section-ref id="content">
    <fragment-ref id="5"/>
    <fragment-ref id="2"/>
  </section-ref>
</structure>
```

## Schema

### XML Schema

```lang-xml

<xs:element name="section">
  <xs:complexType>
    <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:element ref="section-ref" />
      <xs:element name="toc-ref" />
    </xs:choice>
  </xs:complexType>
</xs:element>
```

### Relax schema

```lang-relax

element section {
   (element section-ref | element toc-ref)*
}
```

## Compatibility

This element was introduced in PSML beta 10 and is supported from PageSeeder 5.90.

