How to get value dropdown in XML Edit Tag Dialog
Submitted by Thursday, 14 February, 2008 - 07:11
on
Hi,
I am using XML Schema for validation and there are situations where there are only a limited number of allowed attribute values. I have seen that jEdit sometimes creates dropdown lists with allowed attribute values (e.g. when editing a schema), but I could not find out how this is done. At least, xsd:enumeration in the following schema expression does not lead to such a value dropdown:
A similar situation are key references. It seems desirable to propose a list of existing keys for key reference attributes. But I can understand that it is not trivial to get this list and in very large documents it might not be so desirable after all.
Anyhow, is there a way to get a dropdown for attribute enumerations as shown above?
Cheers,
Dietrich