Expand description
Universal XML marker resolution for <aap:target>.
All formats use <aap:target id="..."> / </aap:target> markers.
The aap: namespace prefix is uniquely identifiable and LLMs follow XML tags
reliably. JSON uses pointer addressing instead.
Functions§
- extract_
targets - Extract all target IDs from artifact content by scanning for
<aap:target id="...">markers. - find_
target_ range - Find the byte range of a target’s content within a string.
- find_
target_ range_ inclusive - Find the byte range of a target including its markers.
- markers_
for - Build start and end markers for a target ID.