Hi Craig,
The “Bulleted List” toolbar button works by converting selected block elements into list items, and wrapping the list items in another element. Your DTD allows the element to be located directly within the - element, but it does not allow to be in the same location. So when you click the
“Bulleted List” toolbar button, XMetaL tries to convert this:
[code]
includes at least 20 Members (each of whom must be a Member of the House of Commons or House of Lords), comprising: at least 10 Members who are from the same political party as the Government, and at least 10 who are not from the Government’s party (of whom at least six must be from the main opposition party), and
includes at least one officer who is a Member of the House of Commons
be required to register the following information on the Register of All-Party Groups:
[/code]
into this:
[code]includes at least 20 Members (each of whom must be a Member of the House of Commons or House of Lords), comprising: at least 10 Members who are from the same political party as the Government, and at least 10 who are not from the Government’s party (of whom at least six must be from the main opposition party), and
includes at least one officer who is a Member of the House of Commons
be required to register the following information on the Register of All-Party Groups:
[/code]
The result would be invalid according to your DTD, so nothing happens. You might be hoping to get this instead:
[code]
includes at least 20 Members (each of whom must be a Member of the House of Commons or House of Lords), comprising: at least 10 Members who are from the same political party as the Government, and at least 10 who are not from the Government’s party (of whom at least six must be from the main opposition party), and
includes at least one officer who is a Member of the House of Commons
be required to register the following information on the Register of All-Party Groups:
[/code]
If that's what you're hoping for, I believe you would need to write a custom script to do it. It is possible to use script to hide the built-in list button and show a “custom” button that happens to have the same icon displayed on it.
Alternatively, you could modify your DTD so that can go directly in - elements.
Cheers,
Su-Laine
Reply