New feature question

Steve K
04/29/2010 10:30 pm
Oleg-

Could you please explain how & why one might use "SkipParsingBefore2"

I read the release notes, but didn't really understand it.

Thanks.
Oleg Chernavin
04/30/2010 07:21 am
This command removes all text before the found one and including the specified. For example, consider HTML file:

<HTML>
<HEAD>
<TITLE>Text</TITLE>
</HEAD>
<BODY>
web page text
</BODY>
</HTML>

SkipParsingBefore=<body>
will cut the first part and you will get:

<BODY>
web page text
</BODY>
</HTML>

SkipParsingBefore2=<body>
will cut the first part including the tag and you will get:

web page text
</BODY>
</HTML>

Best regards,
Oleg Chernavin
MP Staff
Steve K.
07/30/2010 06:20 am
I realize this thank you is way late, but still, I appreciate your help.

I never really understood the skipparsing commands at all, so this information has proven helpful. In fact, I'm using the commands now in my projects.

(Btw, in your explanation, it seems the second example should read "SkipParsingBefore2=<body>" not "SkipParsingBefore=<body>" again. Just thought I'd clarify it, in case anyone skimming this is confused.)

Steve K.
Oleg Chernavin
07/30/2010 06:21 am
Thank you! You are correct. I just changed that post.

Oleg.