retrieve words in a HTML page
-
Hello , I have a problem. I have a HTML page like this:
<title> Test HTML</title>
</head>
<body>
<div id="alert"></div>
<div class="data">
<div class="line-item">word1 word2 word3 word 4 word5 <br /> word7 word8 word9
</div>
</div>
<div class="footer"><span class="segmented"><a href="#" id="2" class="button enabled">Arreter</a><a href="#" id="3" class="button enabled">Annuler</a></span></div>
<script type="text/javascript" src="/repertoire1/test/.js">
$(document).ready(function () {
init();
});I record this page in xml or txt file. I walk through the xml file and I have only recovered one by one word while cleaning the html tag like this one: word1 word2 word3 ... The question is : how to retrieve the words one by one, please Thank you in advance.
-
Hello , I have a problem. I have a HTML page like this:
<title> Test HTML</title>
</head>
<body>
<div id="alert"></div>
<div class="data">
<div class="line-item">word1 word2 word3 word 4 word5 <br /> word7 word8 word9
</div>
</div>
<div class="footer"><span class="segmented"><a href="#" id="2" class="button enabled">Arreter</a><a href="#" id="3" class="button enabled">Annuler</a></span></div>
<script type="text/javascript" src="/repertoire1/test/.js">
$(document).ready(function () {
init();
});I record this page in xml or txt file. I walk through the xml file and I have only recovered one by one word while cleaning the html tag like this one: word1 word2 word3 ... The question is : how to retrieve the words one by one, please Thank you in advance.
-
I think I'm good endroit.parce I have to do all this in c + + / cli. I get the source code of the site with c + + and I have records in a xml file. I route the file and now I have to recover word and it will be with c + + / cli.
-
Sorry, but it is not clear what your problem is. If you are looking for a simple XML parser then try http://msdn.microsoft.com/en-us/magazine/cc163436.aspx[^].