Oops, forgot the attachments.
I wasn't able to reproduce the rendering difference by just removing the
rowspan and colspan attributes. I guess the pretty printing affected this.
--Evan
Evan Kirkconnell wrote:
I think I'm just going to live with it all until we have a new style
template which is supposed to happen in a month or so. Hopefully this
will resolve issues like this. The new one is not supposed to have tables.
As for what I'm doing... I'm taking a style template page and merging it
with my generated content. The style template display is breaking
because of rowspan/colspan attributes as well as whitespace differences.
You can see this in the attached files. template.html is the template,
and new.html is the output after merging. I removed the
merged(generated) body content so that you just see the template
differences. You can also see the issue I was talking about in my
response to your pretty print suggestion where the serialization isn't
correct where the two head's are merged.(I left the merged head content
in there)
It's easier to see the code changes if you reformat the html, but this
also causes rendering differences.
--Evan
Mike Skells wrote:
Hi,
Can you provide an example (code + data) of what you are doing, what you
expect, and that you are getting
-Mike
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Evan Kirkconnell
Sent: 24 June 2006 03:04
To: Mike Skells
Cc: dom4j-user@lists.sourceforge.net
Subject: Re: [dom4j-user] Extra Attributes
Thanks for the response Mike,
I still have a dilemma though, because if I set Xerces'
http://apache.org/xml/features/nonvalidating/load-external-dtd
to false, it stops adding the rowspan="1"'s, but it also
removes all the 's from the document. Do you have any
suggestions? I'm going to manually remove the added
attributes, but I don't really like this solution.
--Evan
Mike Skells wrote:
Hi Evan,
Thi is not DOM4J doing this I dont think, as it does not
understand HMTL!
Perhaps it is a validating SAX Parser, or someting else in
the parse
chain
Mike
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Evan
Kirkconnell
Sent: 22 June 2006 23:01
To: dom4j-user@lists.sourceforge.net
Subject: [dom4j-user] Extra Attributes
DOM4J seems to be adding attributes to my document. I
don't know if
this is when it's loaded, or when it's serialized, and I'd
guess it
has something to do with the XHTML DTD.
It's adding rowspan="1" and colspan="1" to my td's and like
clear="none" or something like that to br's. I'm using a
pre-existing style document, and this is changing the layout.
I know it sounds kind of silly, but it is changing how
the browsers
render the content. Is there a way to turn this off?
--Evan
All the advantages of Linux Managed Hosting--Without the Cost
and Risk!
Fully trained technicians. The highest number of Red Hat
certifications in the hosting industry. Fanatical Support.
Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&
dat=121642
_______________________________________________
dom4j-user mailing list
dom4j-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dom4j-user
Using Tomcat but need to do more? Need to support web
services, security?
Get stuff done quickly with pre-integrated technology to make
your job easier
Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&
dat=121642
_______________________________________________
dom4j-user mailing list
dom4j-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dom4j-user
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
dom4j-user mailing list
dom4j-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dom4j-user
Title: Computing Services -
Computing Services' Help Desk 479-575-2905 -- Mon-Thu 7am-6pm, Fri 7am-5pm |
|
Last update: |
The University of Arkansas is a nationally competitive, student-centered
research university serving Arkansas and the world.
[UA Mail] [Phone and
Email Directories] [Employment
Opportunities] [Search]
[ ALADDIN-Community]
[Contact U of A] [AskIT]
University
of Arkansas, Fayetteville, Arkansas 72701
479-575-2000 |
Title: Computing Services - Account Request Form
Computing Services' Help Desk 479-575-2905 -- Mon-Thu 7am-6pm, Fri 7am-5pm
|
index.html
|
Last updateFri Jun 23 15:44:26 CDT 2006
|
The University of Arkansas is a nationally competitive, student-centered research university serving Arkansas and the world.
[
UA Mail] [
Phone and Email Directories] [
Employment Opportunities] [
Search] [
ALADDIN-Community]
[
Contact U of A]
[
AskIT]
University of Arkansas, Fayetteville, Arkansas 72701
479-575-2000
|
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
dom4j-user mailing list
dom4j-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dom4j-user