[Lords] How to remove numbers from more than one Lords amendment
When a Lords marshalled list is generated, all amendments in that list are assigned numbers, even if the list is discarded or not published. However, if you need to generate a Daily sheet or Running list after you have generated the marshalled list, the amendments will need to be published without numbers.
There isn’t currently a straightforward action in Lawmaker to remove numbers from amendments although you can delete the numbers individually.
This page describes how you can use find and replace in the XML to remove all amendment numbers in a few steps.
Instructions
First, you need to open all the amendments that you want to remove numbers from in the Editor. You can do this by either:
opening an existing official list containing the amendments, or
creating a temporary list containing all the amendments
Once you have the amendments open in the Editor, select Document>Edit as XML from the toolbar. You will see something like this:
Copy the following text into your clipboard (select it and then press ctrl+c)
CODE/<num ukl:dnum="(.*?)">.*?<\/num>/ <num ukl:dnum="$1"></num>
(Note for the following steps until step 9 you will not be able to navigate away from the Editor without resetting the search function so you may want to ensure you can see these instructions at the same time as the Editor window.)
Click on the search icon in the top right and select Find/Replace.Paste the contents of your clipboard into the Replace: field and delete the part outside the “/” characters so you are left with the following and then press Enter:
CODE/<num ukl:dnum="(.*?)">.*?<\/num>/
Paste the contents of your clipboard again into the With: field and this time delete the part between the “/” characters so you are left with the following and then press Enter:
CODE<num ukl:dnum="$1"></num>
Click All
Click Switch to Author mode and you should see that the amendments no longer have a number
Save the amendment list.