### 10.2 Referencing external code or text fragments

Proposed Internet standard RFC 5147 provides a fragment identifier scheme for plain text documents, which allows reference to both ranges of characters and ranges of lines within a plain text document:

http://tools.ietf.org/html/rfc5147

DITA2Go supports the proposed href attribute syntax, and also provides PI markers to achieve the same effect. We recommend using the fragment identifiers described in RFC 5147 rather than PI markers, where it makes sense to do so.

In this section:

§10.2.1 Including external code snippets with PI markers

§10.2.2 Including external code snippets with fragment identifiers

Previous Topic: 10.1.3 Understanding problems with processing conkeyrefs

Next Topic: 10.2.1 Including external code snippets with PI markers

Parent Topic: 10. Including content by reference

Sibling Topics:

10.1 Pushing and pulling content by reference

Table of Contents • Index