Quote:
Originally Posted by mattmc
Ew.
That's funny, because that markup looks similar to what InDesign produces, in terms of style tags covering everything. I actually already wrote a script that handles this. Specifically, it does this:
Code:
// Start:
<p><span class="123">Hello</span> <span class="123">World</span><span class="123">!</span></p>
// End:
<p><span class="123">Hello World!</span></p>
For example, I took your input and produced this:
Because I'm using an XML parsing engine, it does encode the apostrophes, ampersands and such. Is this acceptable?
|
It looks 20 times better, but I am on the right way now,and almost cleaned the books, the only problem I have is that it is hard to find where blanc lines (paragraps) have to be inserted.. I was hoping that at least a new paragraph would start with the same "dict code" to detect where one must be before removing everything,but no logics in there..
I am also busy with the regex search, to learn it, the problem is not much sites uses examples from practice.. there are explanations enough but in order to work for me,I must have examples like, insert this, than that happens.. not the dry explanation like enter a # for every single this or that because then I can't see the usage of it,when I can, I also know that I could use that or not.
Sorry for late responding, there is a DDoS attack on my provider for 2 days and internet is a bit difficult to access, I now use Googles DNS servers to bypass the attacked dns servers of my provider..