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


Hi,
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:
http://www.php.net/manual/en/function.date.php

Detaily:
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"
   "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<funcsynopsis>
 <funcprototype>
   <funcdef>string <function>MyFunction</function>
   <paramdef>string <parameter>param1</parameter></paramdef>
   <paramdef>string <parameter>param2</parameter></paramdef>
   <paramdef>int <parameter>number</parameter></paramdef>
   </funcdef>
 </funcprototype>
</funcsynopsis>

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:
<refnamediv>
      <refname>mail</refname>
      <refpurpose>Sending e-mail</refpurpose>
</refnamediv>

I have:
Name
mail - Sending e-mail

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

Thanx for kicking me to right direction =)
MichaL


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


Powered by eList eXpress LLC