cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yap, Mow Ching (NOW)" <>
Subject stripping whitespace [c2].
Date Tue, 02 Oct 2001 12:36:20 GMT
does anyone know the best way to strip whitespaces from xml generated by an
xsp document.

i use xml spy to write my xml documents. switching between grid view and
text view causes the elements in the doc to be neatly formatted, but
unfortunately adds whitespaces. so instead of:


i have:


now, the only way i know how to strip these unwanted whitespaces is in the
xslt transform by using


which results in me having an xslt document full of normalize-space function

does anyone know a better way of resolving this. i read somewhere that an
accompanying schema would do the trick, but does c2 do runtime validation
against a schema, and do i really want that on request anyway.


The information in this Internet E-mail is confidential and is intended
solely for the addressee. Access, copying or re-use of information in it by
anyone else is unauthorized. Any views or opinions presented are solely
those of the author and do not necessarily represent those of TWI, TWIi,
IMG, PCC, NOW or any of their affiliates. If you are not the intended
recipient please contact and delete this email

Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message