Re: Parsing HTML
Ben Sinclair <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.xmlc |
|---|---|
| Message-ID | <[email protected]> |
At 02:51 AM 3/25/2003, you wrote: >You don't have to recompile, at least not with the new XMLC 2.2. Using the >"deferred parsing" feature of XMLC 2.2, pages are automatically re-parsed on >the fly whenever the source file changes. SSI includes are resolved by the >reparsing code (if you switch on SSI support in XMLC, of course) so you can >use SSI to include your headers and footers at parse time. The only thing you >have to do manually is check for changes in the inclided files and force a >reparse if they change because the standard XMLC reparsing factory only keeps >track of the main HTML source file. This sounds like an ideal solution. The headers and footers only change when a user uploads a "package" that I check for and then unzip, which gives me the headers and footers. I only do this when the package changes, so I could easily force a recompile when that happens. Is there good documentation on how to do this? The Enhydra site is a little confusing sometimes. I know how to compile on my machine, I have an ant task that runs when I do a build. How do I do recompiles on the server? Where do I store the HTML, etc., etc? -- Ben Sinclair [email protected]