I downloaded the python script plugin and did a simple function to wrap custom xml tags around the selected text.
Could it be possible to create and interface with some buttons (one for each tag) and execute it from there?
Is there a better way to do this?
Thanks for your time!
You can't create an interface - there's a few people (me included) looking at getting that going, but it's not there yet. However, you can add toolbar buttons to run a specific script, so you could achieve something similar if toolbar buttons will do you.
If you want to surround text with tags, you should look at the WebEdit plugin, and possible Zen Coding. The first does exactly that, and the second does that, but without the toolbar buttons, although it can do a bit more with creating the initial html/xml.
Bad to hear about the interface but WebEdit completely made my day!