Re: [xsl] Pointers are weird

Subject: Re: [xsl] Pointers are weird
From: "John Lumley john@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 11 Apr 2025 10:38:56 -0000
> On 11 Apr 2025, at 11:32, Roger L Costello costello@xxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> I conclude that, in XML and HTML, a pointer is not a pointer at all. It's
data. It's data that is repeated elsewhere in the document: ("SK" ... "SK"),
("#lesson1" ... "lesson1"). For this "pointer fiction" to work, a tool that
processes the document must participate in the fiction and treat ref="SK" as
pointing to <Author id="SK"> and treat href="#lesson1" as pointing to <p
id="lesson1">.
>
> Isn't that weird?

Itbs not weird at all. It just happens to be a bcommon conventionb for
describing the presence of a (directed) graph edge between two nodes in a
propertied tree, which is effectively what XML provides. Whether the
coincidence of bnamesb in two possibly related attributes on some nodes is
to be treated as describing additional graph edge components is totally a
matter of the semantics of the application/type you are imposing on your XML
syntax.

John Lumley

Current Thread