[xml] How to insert another pieces of html snippet into the process of html parsing?
- From: Yuedong Du <yuedong du sun com>
- To: xml gnome org
- Subject: [xml] How to insert another pieces of html snippet into the process of html parsing?
- Date: Mon, 28 Apr 2003 22:33:15 +0800
Hi all,
I have be puzzled by the problem for serveral days.
How to insert another pieces of html snippet into the process of html
parsing?
When parsing html document ,we call htmlParseChunk() and a dom tree is
built,
Now we meet the java script document.write("..."). So the content need
to break
the current parsing stream.
xmlParserInputBufferPush() just push content to the end of current buffer.
Then I want to use xmlPushInput() and htmlParseTryOrFinish() to parse
it. But it seems
do not work.
Is there a known way to do the job?
Thanks
York
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]