Re: question : answer.

From: Date: Thu, 22 Feb 2001 14:38:00 +0000
Subject: Re: question : answer.
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969334392@lists.php.net to get a copy of this message
I tried, but once i try to convert to html, it says the following: /usr/bin/jade:./en/functions/mnogosearch.xml:321:32:E: document type does not allow element "programlisting" here /usr/bin/jade:./en/functions/mnogosearch.xml:329:15:E: end tag for "example" which is not finished What's wrong? ----- Original Message ----- From: "Damien Seguy" <damien.seguy@nexen.net> To: "Dmitry Tkatchenko" <dim@lavtech.ru> Sent: Thursday, February 22, 2001 5:22 PM Subject: Re: [PHP-DOC] question : answer. > Hi > >Hey All! > > >How do I add this kind of example to an xml file? Which tags do I use? > >if (!Udm_Set_Agent_Param($udm,UDM_PARAM_ISPELL_MODE,UDM_ISPELL_MODE_DB)) { > > printf("Error #%d: '%s'\n",$errno,Udm_Error($udm)); > > exit; > > } > Try this : > <example> > <programlisting role="php"> > &lt;?php > if (!Udm_Set_Agent_Param($udm,UDM_PARAM_ISPELL_MODE,UDM_ISPELL_MODE_DB)) { > printf("Error #%d: '%s'\n",$errno,Udm_Error($udm)); > exit; > } > ?&gt; > </programlisting> > </example> > > Best regards, > Damien Seguy > ==================================== > http://www.nexen.net/ > l'hebergement dynamique ! > Docs PHP/MySQL en Francais, scripts > ==================================== >

« previous php.doc (#969334392) next »