|
[xmlc] XHTML output?: msg#00016java.enhydra.xmlc
Me again. :-) I'm sure I'm missing something really obvious, but I can't, for the life of me, figure out how to get xmlc to output proper xhtml. I've tried just about every combination of booleans in OutputOptions (yes, including "setEnableXHTMLCompatibility(true)"), and if I put xhtml headers in my html files, the xmlc interface generation chokes. What I mean by "proper xhtml" is a file that starts with... --- <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> --- ...and then actually holds up to xhtml validation. When I outputOptions.setFormat(OutputOptions.FORMAT_XML), it comes closest, properly generating the xml version line at the top, but it does stupid things like taking: --- <div id="rowToRepeat"> <hr/> <div id="dataHere">data</div> </div> --- and, trying to be intelligent, change it to: --- <div id="rowToRepeat"> <hr> <div id="dataHere">data</div> </hr> </div> --- It's like it's not using xhtml-intelligent versions of the dom element classes or something. Has anyone got xmlc generating proper xhtml? Erik -- You receive this message as a subscriber of the xmlc@xxxxxxxxxxxxx mailing list. To unsubscribe: mailto:xmlc-unsubscribe@xxxxxxxxxxxxx For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [xmlc] XMLC_SOURCE_FILE problems, Erik Rasmussen |
|---|---|
| Next by Date: | Re: [xmlc] XHTML output?, Jacob Kjome |
| Previous by Thread: | Re: [xmlc] XMLC_SOURCE_FILE problems, Jacob Kjome |
| Next by Thread: | Re: [xmlc] XHTML output?, Jacob Kjome |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |