Re: Using XMLC without Compiling Classes
"Diez B. Roggisch" <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.xmlc |
|---|---|
| Message-ID | <[email protected]> |
Hi, >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? > > You can use XMLC with a given template at developement time, work against a compiled interface and exchange the underlying HTML at runtime - as long as the new html still meets the structural implications of the first template. This means that they are structurally equivalent from the view of xmlc. So basically you should be able to use xmlc, as long as your app doesn't need to dynamically change the ids and types of nodes found under these. Diez