Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Remove the reference mark-up or mark it to be ignored (as you can with internal references)

  • Open a new tab in the browser containing the provision referred to as it appears on www.legislation.gov.uk.

  • For SI/SSIs only, add an automatically-generated legislative history footnote, derived from data on www.legislation.gov.uk.

  • Modify the underlying metadata and text via the Edit Reference dialog box.

How to “tag”

...

references

Lawmaker can analyse text you have drafted and automatically add reference mark-up to the internal and external references it identifies.

You can trigger the Tag references feature in a number of ways:

  • Click on the Tag x-refreferences icon in the toolbar,

  • Select Tools menu>Tag x-refsreferences,

  • Right-click in the Editor or Structure view and select Tag x-refsreferences, or

  • Use the keyboard short cut Alt+t.

When the tag operation finishes, you will see all the references Lawmaker has identified highlighted in the Editor according to the table here: https://lawmaker.atlassian.net/wiki/spaces/USERMANUAL/pages/edit-v2/500203522#Formatting-of-reference-types. Internal and external references are, in particular, distinguishable from one another by their colour.

What gets tagged?

By default, when you trigger the Tag references feature, Lawmaker will analyse the text in the provision (i.e. the section, regulation etc.) your cursor is in (or. If, if however you have selected some specific text or provisions, that selection) and add XML tags to any internal reference it identifies that hasn’t already been marked up. An “internal reference” is a reference that looks like it refers to another provision in the same Bill or SI.provisions before triggering the feature, then all of those provisions will be analysed.

Internal references within Quoted structures will not be marked up because there may not be enough context within the quoted structure to reliably identify the target of the reference. Lawmaker will try and identify external references wherever they appear.

More on external references

To identify external references, Lawmaker relies on data about enacted legislation from www.legislation.gov.uk. Lawmaker can’t therefore identify references to legislation that has not yet been enacted or made. This also means that, if for some reason www.legislation.gov.uk is not available for a period of time, then Lawmaker will not be able to identify external references during that time.

Lawmaker identifies and marks up both references to external provisions and to the documents containing those provisions. While sometimes references consist of both together, e.g. “section 12 of the Scotland Act 1998”, Lawmaker is also able to identify references to external provisions where the context determines that they relate to an enacted document rather than the document containing them. In particular, it will do this:

  • where an earlier provision sets the context, e.g. where a section begins “(1) The Human Rights Act 1998 is amended as follows.”,

  • where the opening words set the context, e.g. “In The Human Rights Act 1998-”,

  • where the reference refers back to a previously mentioned enactment, e.g. “section 7 of that Act”

Info

Tag x-ref relies on sophisticated pattern recognition but there may be some references that it doesn’t recognise. It may also tag something as a reference when it isn’t.  We’re constantly refining this feature so please provide feedback to Lawmaker Support if you come across any issues.

External cross-references (i.e. references to other enactments) are ignored by Tag x-refs when recognised as such.

Tag-x-ref will skip over quoted structures because there is not enough context in a quoted structure to reliably identify the target of any cross-references within it. It also skips the introducing text before the quoted structure on the assumption that any references there will be external references.

How to create a reference using the Structure View or the right-click context menu

...

The reference will show up as valid when you first paste it in. However, when you update the cross-references in text, any reference to another document will show up as Invalid (grey highlighted text) and the reference won’t be updated. If at a future point the target provision is copied into the same document (or, in the case of an amendment, it is applied to the Bill), then the reference should return to being valid when you update the cross-references again.

...

Formatting of reference types

A cross-reference can have one of four statuses. The styling of the reference in the Editor changes to indicate its status. Invalid references are also highlighted in the Document Checks panel.

...