[prev in list] [next in list] [prev in thread] [next in thread] 

List:       quanta-devel
Subject:    Re: [quanta-devel] Re: Using KDOM in Quanta
From:       Jens Herden <jens () kdewebdev ! org>
Date:       2005-06-04 17:00:41
Message-ID: 200506050000.42139.jens () kdewebdev ! org
[Download RAW message or body]

> It is used in KDOM :)
> Niko outlined a possibled solution wich I'll propose to the list to get
> opinions.
> Is to use KDOM parsing backend, which explicitely is aware of <? php script
> tags. 

I think this is not possible, because the parser must parse whether the 
document is wellformed or not. In fact it must guess smartly to get as much 
as possible from the document. The current backends just stop if the document 
is not well formed!

> We could make it call some function like 
> 'QuantaDocBuilder::startScriptArea' that would insert a custom node in the
> tree or associate the node with custom information.
> QuantaDocBuilder is a class that would inherit from KDOM::DocumentBuilder,
> like khtml2 or ksvg2 do.

See also my other mail.

Jens
_______________________________________________
quanta-devel mailing list
quanta-devel@kde.org
https://mail.kde.org/mailman/listinfo/quanta-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic