From: Helge Hess (helge.hess@skyrix.com)
Date: Mon Sep 25 2000 - 02:33:32 EDT
Manuel Guesdon wrote:
> >| Can you tell me what you're aiming at this way ? I don't understand
> >| your approach. If it's an HTML document use the HTML parser, otherwise
> >| use the XML parser.
>
> My goal was to have a general wrapper around libxml which the minimum possible differences between handling html or xml (just a flag, for exemple).
> To explain my need, now this wrapper is used in GNUstep for xml parsing and should be used in GNUstepWeb for HTML parsing.
I think here lies your misconception. A WebObjects template parser is
not an HTML parser. It exclusivly looks for <WEBOBJECT tags, nothing
else.
Eg consider this valid (and often used) WO template:
<IMG SRC="<WEBOBJECT NAME="RsrcUrl"></WEBOBJECT>">
or that XML will go through as well:
<myxmltag/>
WebObjects doesn't care about the type of the document, it only
processes the WO tags.
Greetings
Helge
---- Message from the list xml@rpmfind.net Archived at : http://xmlsoft.org/messages/ to unsubscribe: echo "unsubscribe xml" | mail majordomo@rpmfind.net
This archive was generated by hypermail 2b29 : Mon Sep 25 2000 - 03:43:42 EDT