Hi Christian,
This doesn't seem to me to be an XMLC compile issue, but a serialization
issue. Or are you finding having problems doing DOM programming and
finding extra white space Text nodes that you didn't expect to be
there? I'm guessing not. The issue seems to be that the output has spaces
in it and the browser is displaying a space where you didn't want one.
The only thing I can think of that would cause this is pretty printing,
which David mentioned in his reply. Without pretty printing turned on, you
really should have a single line of output. I don't see how you would end
up with two lines. It would be feasible to have an extra space added
within the one line, but having two separate lines definitely seems a bit
odd. Have you tried viewing the result with both XMLC standalone and with
Barracuda? I think we'll need more information here to get to the bottom
of this.
Jake
At 01:04 PM 12/1/2003 -0500, you wrote:
Hey folks,
Does anyone know if something has happened within XMLC recently that would
cause the following behavior? I have this line in my template (all on one
line):
<span>Foo</span>Bar<span>Rama</span>
And when XMLC compiles it, it breaks it into 2 lines, like this
<span>Foo</span>Bar
<span>Rama</span>
This effectively introduces a space in the resulting markup, and that's not
good.
Any suggestions here? I am almost positive this behavior only started
recently (within the last month or two).
Christian
----------------------------------------------
Christian Cryder
Internet Architect, ATMReports.com
Project Chair, BarracudaMVC - http://barracudamvc.org
----------------------------------------------
"Coffee? I could quit anytime, just not today"
_______________________________________________
XMLC mailing list
XMLC@xxxxxxxxxxx
http://www.enhydra.org/mailman/listinfo.cgi/xmlc
|