I have a text file with three html elements.

<article id="1">
<p>lorem ipsum</p>
</article>

<article id="2">
<p>ghhj</p>
</article>

<article id="3">
<p>wywygy</p>
</article>

Can i use the function 
fs.write(fd, buffer, offset, length, position, [callback])

to write before before article id=1 or after article id=3 or anywhere i 
want to?.

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to