View Single Post
Old 09-28-2008, 07:57 PM   #10
=X=
Wizard
=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.
 
=X='s Avatar
 
Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
Quote:
Originally Posted by kovidgoyal View Post

Code:
.
<h2 class="chapter_title">Chapter title</h2>
.

html2epub --chapter '//*[@class = "chapter_title"]'
Code:
.
<p class=2CHAPTERTITLE>HASTIE LANYON</P>
.
So what would be the XPath syntax for the --chapter switch the sample code above?

=X=
=X= is offline   Reply With Quote