M
Mattia Fanti
Guest
Hi everybody,
I'm looking for a way to parse this TextArea
but unfortunately I can't find the text to parse. I know there is a raw function, so there is basically no problem about getting the text.. Problems occurred when I want to change the value of the textarea by software.
SO far, all I know is that the Text is inside a Document of an IFrame that is part of the main Document. The ID of the BODY element is innerdocbody. The text itself is presented using SPAN elements in DIV containers, with className = "ace-line" (className is the name of the element Attribute).
I need to extract all DIV elements which have className (or just class, if I'm using HtmlAgilityPack) equals to ace-line, get the value or InnerText of the SPAN child element and combine all these text parts to recreate the full Text.
This, doesn't bring me to know how to set text in the textarea
My issue, is how to combine this theory to the practice.
Would someone please mind to show me a code example for better understanding?
Thanks
Mattia Fanti
Continue reading...
I'm looking for a way to parse this TextArea
but unfortunately I can't find the text to parse. I know there is a raw function, so there is basically no problem about getting the text.. Problems occurred when I want to change the value of the textarea by software.
SO far, all I know is that the Text is inside a Document of an IFrame that is part of the main Document. The ID of the BODY element is innerdocbody. The text itself is presented using SPAN elements in DIV containers, with className = "ace-line" (className is the name of the element Attribute).
I need to extract all DIV elements which have className (or just class, if I'm using HtmlAgilityPack) equals to ace-line, get the value or InnerText of the SPAN child element and combine all these text parts to recreate the full Text.
This, doesn't bring me to know how to set text in the textarea
My issue, is how to combine this theory to the practice.
Would someone please mind to show me a code example for better understanding?
Thanks
Mattia Fanti
Continue reading...