The you/yourself/your Reference

Syntax

  you

Description

The you reference is available within the tell command as a reference to current node being acted upon.

If it makes the code more readable in English, yourself can be used as an alias.

For possessive expressions, your will also work, as in your property instead of you.property.

Examples

This uses the append command to update the contents of every <p> tag.

tell <p/>
    append "some value" to you
end

This uses the remove command to remove all elements with the disabled=true property

tell <[disabled=true]/>
    remove yourself
end

This uses a possessive expression to decrement the value of every element targeted

tell <.counter/>
    increment your value