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

# \<fragment-ref\>

## Summary

A reference to a section in the document structure. Only appears when comparing documents.

*INFORMATIONAL - ignored by upload.*

## Usage context

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

## Attributes

This element includes the following attributes:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| id | [fragment-id](../datatypes/pageseeder_datatypes.md) | yes | The fragment ID |

### `@id`

The fragment ID which must be unique within the document.

## Examples

```lang-xml

<fragment-ref id="1" />
```

## Schema

### XML Schema

```lang-xml

<xs:element name="fragment-ref">
  <xs:complexType>
    <xs:attribute name="id" type="fragment-id" use="required"/>
  </xs:complexType>
</xs:element>
```

### Relax schema

```lang-relax

element fragment-ref {
   attribute id { fragment-id }
}
```

## Compatibility

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

