This project has moved and is read-only. For the latest updates, please go here.

Handling Nested Div Tags

Jan 26, 2012 at 10:22 PM

Is there a best practice for handling nested DIV tags? For example I have a structure like:

<div class="fooMaster">
  <div class="barHeading">Text Heading 1</div>
  <div class="barText">Text for the body of the paragraph 1</div>
  <div class="barFooter">Text for a footer 1</div>
  <div class="barHeading">Text Heading 2</div>
  <div class="barText">Text for the body of the paragraph 2</div>
  <div class="barFooter">Text for a footer 2</div>
  <div class="barHeading">Text Heading 3</div>
  <div class="barText">Text for the body of the paragraph 3</div>
  <div class="barFooter">Text for a footer 3</div>
</div>

I'd like 9 paragraphs with the styles applied. Should I just strip the fooMaster DIV before conversion?

Thanks