retrieve all paragraphs using javascript
<p>I am just a beginner at Javascript :) </p>

<p>I want to be able to receive all paragraphs in a text block (meaning all parts separated from each other with <code>&lt;br/ &gt;</code> tag), so I can apply different alignment settings on each such paragraph, depending on the language (ltr vs. rtl).</p>

<p>For example, if I have the following text:</p>

<pre><code>Hello&lt;br/&gt;שלום
</code></pre>

<p>I would want "Hello" to be aligned to the left, and "שלום" to be aligned to the right.
Is it possible to use <code>document.evaluate</code> somehow?</p>
