could a line break be lost during parsing? 2003-01-17 - By dongjiang tang
thank you! I will go to the xalan-j-user list to ask about this!
by the way, the string I got from the xml is from an atribute, not from an element. I read something online saying parser's default behaviors on the white spaces are only defined for those between a start element tag and end element tag; it does not apply for the other white spaces, like the one in attribute value, so it might be just got trimed out.
dongjiang
----- Original Message ----- From: "Christopher Ebert" <cebert@(protected)> To: <xerces-j-user@(protected)> Sent: Friday, January 17, 2003 3:35 PM Subject: RE: could a line break be lost during parsing?
Hi again,
> I know the HTML will not show the line break, but I did look at the source of that HTML page generated by my xsl template, I did not see the line break either.
Hm. I guess Xalan might do something -- I'd go to the Xalan list for that though (I think there's a xalan-j-user or something very similar). Still, it looks to me like the XSL isn't seeing the line breaks, which suggests (since you've verified that the incoming XML is OK) that you're looking for the wrong line break character.
Chris
--------------------------------------------------------------------- To unsubscribe, e-mail: xerces-j-user-unsubscribe@(protected) For additional commands, e-mail: xerces-j-user-help@(protected)
--------------------------------------------------------------------- To unsubscribe, e-mail: xerces-j-user-unsubscribe@(protected) For additional commands, e-mail: xerces-j-user-help@(protected)
|
|