Re: [Console_CommandLine] example section in xml file
| From: | Reuben Cummings | Date: | Mon, 08 Dec 2008 23:43:30 +0000 |
| Subject: | Re: [Console_CommandLine] example section in xml file | ||
| References: | 1 2 3 4 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-29496@lists.php.net to get a copy of this message | ||
Thanks, works perfectly:
<description>
<![CDATA[Description:
perform various select queries and writes result to a serialized file.
Type 'get <command> -h' to get the help for the specified command.
Examples:
get -i myportfolio regular transaction_new tran_id date price
quantity commission
get myportfolio unmatched -mticker -c2 -ksecurity_name,ticker
transaction_new security
get myportfolio unmatched transaction_new action
get -i myportfolio matched -mticker transaction_new tran_id security
security_id
get -i myportfolio matched transaction_new tran_id action action_id]]>
</description>
On Mon, Dec 8, 2008 at 5:51 PM, David Jean Louis <izimobil@gmail.com> wrote:
> Reuben Cummings a écrit :
>>
>> Hmm, the first option seems the easiest but I haven't figured out how
>> to add a newline char in xml. How would you do that?
>
> You don't need to explicitely add a newline char, just google for CDATA.
>
> (Note that Console_CommandLine trim() the description, so it will ignore all
> leading and trailing whitespace).
>
> --
> David
>