This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
<informalexample> <programlisting> sub print_content_model { my($self) = shift; local($_) = shift; local(*FILE) = shift;
my(@cm) = $self->format_content_model2($_); foreach $_ (@cm) { print FILE $self->make_links($_, 1, 1), "\n"; } } </programlisting> </informalexample>
My limited understanding of XML is that it does not pay attention to the white spaces or new lines within CDATA sections. The CYGWIN
<informalexample> <programlisting>sub print_content_model { my($self) = shift; local($_) = shift; local(*FILE) = shift;
my(@cm) = $self->format_content_model2($_); foreach $_ (@cm) { print FILE $self->make_links($_, 1, 1), "\n"; } }</programlisting> </informalexample>
distribution of Tidy, for example, does not not preserve the new lines within CDATA.
-- ----------------------------------------------------------------- Jirka Kosek e-mail: jirka@kosek.cz http://www.kosek.cz
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |