Quantcast
Channel: htmlagilitypack Forum Rss Feed
Viewing all articles
Browse latest Browse all 450

New Post: HtmlAgilityPack parsing html using templates

$
0
0
Hi,

I have heard from my friend that it is possible to parse html document using HTMLAgilityPack with predefined template.Could you please suggest whether it is possible to define template and parse html document using this templates?

For example,html document looks like

<html>
<body>
<div id="id1"><div id="id2">some content </div><div id="id3">some other content</div></div></body>

<html>

Template will look like

<template id="id1">
<template id="id3"></template>
</template>

Viewing all articles
Browse latest Browse all 450

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>