Michael B. wrote:
> Is there a way in ID CS5.5 or 6 to apply an XML tag **with attributes** directly to a selected range of text in the layout, in the manner of using the Pragraph or Character Styles panels?
What you're doing now seems to me kind of like using these panels in that you're clicking on something in a list to the side of your doc. But you're typing something else and you want to automate the whole thing. I'm sure it can be done and probably fairly easily, though I've never worked with XML.
One thing that should help you but that you don't indicate being aware of is that you can assign a keycode to New Attribute (Edit > Keyboard Shortcuts > Product Area: Structure Menu). With a keycode assigned, you could for example get QuicKeys to type that and the attribute desired, and then I suppose you'd just need a QK shortcut for each attribute. The whole thing could probably be scripted as well, but we know about your attitude toward scripting. If a job like this doesn't get you at least into a simple utility like QuicKeys, then, well, good luck.
Roy