Quote:
Originally Posted by kovidgoyal
|
Thanks for all your help by the way, I really appreciate it.
I probably should have mentioned that I read the XPath tutorial the first time you pointed me to it. I had originally overlooked it because I thought it was something that only applied to html/xml, and I had a rtf file. I still haven't come across any docs on how to apply an XPath to rtf (e.g. what's the structure and tag/attribute names as they relate to XPath?).
In the XPath tutorial, under "Selecting by tag content", the example is only looking at h2 tags. How do you look at lines that have no style applied? If I try to use a '*' instead of h2, I get a conversion error.
Thanks again for your help. :-)