quote:
Originally posted by Greg Collins
Great! Glad you got it working!
Greg,
I have to partially retract my xhtml boxes are working. I am using the copy-of statement in my xsl and it works on the text within the xhtml tag.
However. . .
I just applied my xsl to the xml out of the InfoPath form in Word. I noticed that all of the text from that element was not formated. I then noticed that all of the text that was typed into the text box was not enclosed within the element's tags. In some cases, the text was completely outside of the tags. An example:
<Note>Text Text</Note> Text Text
or
<Note></Note> Text Text Text
Our use case for RTF boxes is users find information on the internet and cut and paste infomration into the rtf control. Sometimes users will cut and paste multiple times into one box.
It seems that the way that InfoPath implents XHTML is to use a complex type and anything between the parent tag is valid so the form saves without any errors.
When pasting or adding text at the end of the control, could InfoPath be placing it past the RTF element tag?
Any thoughts?
Thanks,