Metreeca Gear
    Preparing search index...

    Function link

    • Reads a selected value as a link.

      Resolves the reference against the base URL in scope where it was drawn from, as the xml and html parsers record it, so that a consumer works on an absolute IRI however deeply the reference sat in the document it came from. A tree stating no base URL, as one parsed from text under no stated base does, leaves the reference as it stands, as does a value an expression computed.

      Parameters

      • node: Target

        The Target to read, either a node a selection reached or a value an expression computed

      Returns string

      The IRI the text node is written as names, resolved against the base URL in scope of node where the tree states one

      TypeError If the text node is written as names neither an IRI nor a relative reference