Unfortunately this did not work...
It repeated all the form "labels" which are for some reason implemented as definition lists...
I need a way to actually rewrite each of these span things 'on the fly,' they are auto-generated by a php script.
For example, each form lable looks like this within the generated code:
<dt> |
| <span class="Required FormFieldRequired" style="visibility: visible">*</span> <span class="FormFieldLabel">Email Address:</span> |
| </dt> |
I need a way to rewrite each of these so the form field label span precedes the Required span.
There's 11 different dts with different form field label contents and the same requred span.
It's not as efficient but more effective to write 11 very specific statements, any suggestions how I would do this??
Can I expand the before statement suggested above to be a whole string??
I basically want to change 'A before B' to become 'B before A'.
More reading suggests perhaps I need the text() function but it's not clear to me how I apply it.
Thank you, Tom