XPointer
In programming, a pointer is simply a location that contains a memory address. Generally, the pointer will contain the address of the first byte of a block of memory. Pointers are also often paired with an offset, which moves you a certain number of bytes away from the pointer in that block of memory. This basic organization is demonstrated in Figure 23.1.
The pointer is used to go to address number 1000, and then the offset is used to move from there to the actual location that's being accessed.
You can create an analogy to this if you're using objects defined in XML files. Consider an instance of <Book> in your catalog database. You could use any unique identifier to go to the specific instance of <Book> and then follow the <Author> ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access