Copy and paste what? It's trivial to pull out the "name" attribute.
If it's well-formed
JSP parse it as XML, then--same difference, and you'd have to write code instead of just using existing tools.
What do you mean you "tried ActionSupport.getText()"?