logo       

Re: Using XMLC without Compiling Classes: msg#00034

java.enhydra.xmlc

Subject: Re: Using XMLC without Compiling Classes

I think you are looking for the deferred parsing functionality.  There is no requirement to compile, although you still can if you want.  Grab the latest CVS to see the Tomcat and XPath examples which both use deferred parsing to load documents.  Not only can you load directly from file at runtime, but you also can modify your HTML file and have it reloaded upon the next access of the file.

See:
http://forge.objectweb.org/projects/xmlc/

You could also download the pre-built XMLC-2.2beta1 release.  A new official XMLC-2.2 release should be coming out very soon and has a number of bug fixes and other enhancements.

Jake

At 08:44 AM 6/25/2003 -0700, you wrote:
We are using a servlet based, proprietary template language (somewhat
similar to velocity) which generates XHTML. For each page requested, the
framework allows you to write Java code which can then manipulate the DOM,
right before it gets sent to the browser. I was hoping to use XMLC (or a
different tool) to help manipulate the DOM. I have a lot of alternatives,
but these are the ones I have thought of so far:

I can just make DOM calls, I can write a SAX processer, I can translate the
DOM into JDOM or I can use JXPath.

Am I right in assuming that without running the XMLC Java class generator,
there is little I can get from XMLC? I would love to run the generator, but
I'm afraid it wouldn't work in our environment. Are there other alternatives
that might make my life easier? Does anyone know of tools out there
specifically aimed at manipulating the XHTML DOM without accessing the
source HTML file?
Thanks,
Ross

_______________________________________________
XMLC mailing list
XMLC@xxxxxxxxxxx
http://www.enhydra.org/mailman/listinfo.cgi/xmlc
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise