[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Problem with XML



B1;1704;0cOn Fri, Jan 02, 2009 at 11:17:53AM +1000, Murray McAllister wrote:
> > <screen><computeroutput>content line 1
> > content line 2
> > content line 3</computeroutput></screen>
> 
> Be careful when using multiple lines. If you use <computeroutput>
> inside screen, you may find
> 
> 1
> 2
> 3
> 
> is displayed as "1 2 3" in HTML.

Is that also true when using CDATA sections?  I usually do:

<screen><![CDATA[blah
foo
bar]]></screen>

-- 
Paul W. Frields                                http://paul.frields.org/
  gpg fingerprint: 3DA6 A0AC 6D58 FEC4 0233  5906 ACDB C937 BD11 3717
  http://redhat.com/   -  -  -  -   http://pfrields.fedorapeople.org/
  irc.freenode.net: stickster @ #fedora-docs, #fedora-devel, #fredlug

Attachment: pgp0j2EPwIU4s.pgp
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]