OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Subject: DOCBOOK: Functions like php.net

I'm starting play with DocBook and I'm solving maybe stupid problem.
I don't know how to mark up function (PHP function - isn't important) so
when I make the HTML the layout lookes like:

In PHP semantic I have declaration:
string MyFunction(string param1, string param2[, int number]);

and I don't know how to type it in DocBook =(
When I use what I see in examples like:

<!DOCTYPE funcsynopsis PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
   <funcdef>string <function>MyFunction</function>
   <paramdef>string <parameter>param1</parameter></paramdef>
   <paramdef>string <parameter>param2</parameter></paramdef>
   <paramdef>int <parameter>number</parameter></paramdef>

I receive:
string MyFunction (param1, param2, number);
string param1;
string param2;
int number

I think it's only problem of design lay out, so do I have to edit xsl? How
and where? =(

Also the same problem, when I use:
      <refpurpose>Sending e-mail</refpurpose>

I have:
mail - Sending e-mail

but I would like to have:
mail - Sending e-mail

Thanx for kicking me to right direction =)

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Powered by eList eXpress LLC