Ulrich Laegeler wrote:
> i have a macro which makes me a new element with a attribute.
> 
> <myElem myAttrib="someText"/>
> 
> Noe i want to select the attribute myAttrib an mark the whole Text "someText".
> 
> The attributes myAttrib are displayed via text-field(attribute, myAttrib)
> 
> How could i achieve that in my macro?

I'm sorry but there is no way to do that and this, for 2 reasons:

[1] Macros can only act on XML nodes and on text contained in XML nodes. 
In XXE, attributes are not XML nodes.

[2] Even if an attribute was a XML node, you have chosen to render it 
using a text-field(). A macro cannot select the text displayed by the 
text-field().

Reply via email to