Re: cvs: phpdoc /en/reference/math/functions decbin.xml

From: Date: Tue, 16 Dec 2003 18:02:21 +0000
Subject: Re: cvs: phpdoc /en/reference/math/functions decbin.xml
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969357503@lists.php.net to get a copy of this message
On Wednesday, December 17, 2003, 4:55:01 AM, Nuno wrote: > + <programlisting role="php"> > + <![CDATA[ > + <?php > + echo decbin(12); > + ?> > + ]]> > + </programlisting> > + <para> > + The above example will output: > + </para> > + <screen> > + <![CDATA[ > + 1100 + ]]>> > + </screen> > + </example> > + </para> Note that <![CDATA[ should not be aligned as you would think it should. It needs to hug the LHS, and the ]]> also needs no spaces before it. Also, the examples/screen outputs shouldn't be aligned to the XML either (think of them as within <pre> tags, where whitespace counts), so your example should be: <programlisting role="php"> <![CDATA[ <?php echo decbin(12); ?> ]]> </programlisting> Look at some other examples if you need to. HTH. Dave

« previous php.doc (#969357503) next »