Re: [ba-ohs-talk] XSLT question: whitespace in XML attributes
At 2002-02-24 22:24 -0800, Eugene Eric Kim wrote:
>I have some questions for you XML/XSLT gurus out there (i.e. Ken and
>whoever else may be lurking. :-). (01)
:{)} Murray beat me to it! But, then, I was asleep when the post was made. (02)
As to your answer: what he said! (03)
According to XML 2.11, each newline sequence becomes a newline character,
but then according to XML 3.3.3 each newline character becomes a space
character. (04)
So, you will get a space for each newline sequence in an attribute, but you
won't be able to distinguish entered spaces from normalized spaces. (05)
................... Ken (06)
--
Upcoming: 3-days XSLT/XPath and/or 2-days XSLFO - Feb 18-22, 2002 (07)
G. Ken Holman mailto:gkholman@CraneSoftwrights.com
Crane Softwrights Ltd. http://www.CraneSoftwrights.com/b/
Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (Fax:-0995)
ISBN 0-13-065196-6 Definitive XSLT & XPath
ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath
ISBN 1-894049-07-1 Practical Formatting Using XSLFO
XSL/XML/DSSSL/SGML/OmniMark services, books(electronic, printed),
articles, training(instructor-live,Internet-live,web/CD,licensed)
Next public training: 2002-02-26,03-01,04,05,06,11,15,
04-08,09,10,11,05-06,07,09,10,20,06-04,07,10,11,13,14,17,20,07-31 (08)