Good Morning All. I am using Arbortext 5.3 and Fosi's. I have a dtd that has an <xref> element with the attribute "xrefid" which is filled with either a figure number (J##fig#-#) or a reference to another section in the book (J##sec#). The first 3 characters of the xrefid are always the same. I need to generate the word "Figure" or "Section". Normally I would do this with an attribute rule, but I have nothing to tie it too except xrefid. Is there a way to code using wildcards or to look for just the "fig" or "sect" part of the id? Thanks Sindy