Add "frame" attribute to <attach> element.

The `<attach>` element now supports a "frame" attribute, allowing users to specify either a "body" or a "frame" to attach to, but not both. The XML parser has been updated to handle this new attribute and the mutual exclusivity constraint.

PiperOrigin-RevId: 941245904
Change-Id: I4c0edeed5f3a9e456aed96c373b1647fe79841d9
This commit is contained in:
Yuval Tassa
2026-07-01 12:49:01 -07:00
committed by Copybara-Service
parent 1f6cf4035c
commit c6c3ec3149
5 changed files with 77 additions and 27 deletions
Executable → Regular
+3
View File
@@ -983,6 +983,9 @@
.. grid-item::
:ref:`body<body-attach-body>`
.. grid-item::
:ref:`frame<body-attach-frame>`
.. grid-item::
:ref:`prefix<body-attach-prefix>`