Change entity xref.attributes in mod file
Posted: Thu May 09, 2024 12:55 pm
Hi,
I want to set a finite set of values for selection for the outputclass attribute when used on an xref element.
The possible values are
type=option1
type=option2
I set this in the mod file as followsI get an error when this is applied due to the = sign. It works fine if I omit the = sign and the values appear in attribute selector.
Is there a way to escape this equals sign so that I can use these attribute values?
Any advice appreciated,
Regards,
Ann
I want to set a finite set of values for selection for the outputclass attribute when used on an xref element.
The possible values are
type=option1
type=option2
I set this in the mod file as follows
Code: Select all
<!ENTITY % xref.attributes
"href
CDATA
#IMPLIED
keyref
CDATA
#IMPLIED
type
CDATA
#IMPLIED
format
CDATA
#IMPLIED
scope
(external |
local |
peer |
-dita-use-conref-target)
#IMPLIED
%univ-atts;
outputclass
(type=option1 |
type=option2)
#IMPLIED
%variables-atts;"
>
Is there a way to escape this equals sign so that I can use these attribute values?
Any advice appreciated,
Regards,
Ann