Andy, 

Thanks for your response. But I don't want it to
convert, I don't want it to create a DOM node either.
I just want it to leave it as it is.

For example, the source is this:
<A> This is some text with &amp; </a>

I want the parse to create a HTMLAnchor element and
then a Text element with node value " This is some
text with &amp; ".

Is this possible?

Thank you.

--- Andy Clark <[EMAIL PROTECTED]> wrote:
> Takumi Fujiwara wrote:
> > I am using NekoHTML Parser, I think it translates
> > entity references during parsing, is it possible
> to
> > turn OFF that feature (e.g. if it sees &nbsp; in
> the
> > text node, leave it as &nbsp;)?
> 
> Currently, it reports *all* character content which
> means converting &nbsp; to its character equivalent.
> However, you can set a feature so that the standard
> HTML entity boundaries are reported[1]. This would,
> for example, create a DOM entity ref node for "nbsp"
> and the others.
> 
> Would this help your problem?
> 
> [1]
>
http://www.apache.org/~andyc/neko/doc/html/settings.html
>     
>
"http://cyberneko.org/html/features/scanner/notify-builtin-refs";
> 
> -- 
> Andy Clark * [EMAIL PROTECTED]
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to