Hello,

I want to convert Sphinx document through XML, process with make xml
command. Mostly doing well, but when function directive is used,
output isn't valid XML.

Following is sample rst source and output, "module" attribute in desc
element has no value.

Anybody see same problem? if you have some hit for solve it, please let me know.

Thank you,
Akihiro

--------------------------------

.. function:: smart_function(arg)

   doing something smart, isn't it cool ?

   :param arg: specify something smart argumant.


--------------------------------
<index entries="['single',\ u'smart_function()\ (built-in\
function)',\ u'smart_function',\ '']"></index>
<desc desctype="function" domain="py" noindex="False" objtype="function">
    <desc_signature class="" first="False" fullname="smart_function"
ids="smart_function" module
names="smart_function"><desc_name>smart_function</desc_name><desc_parameterlist><desc_parameter>arg</desc_parameter></desc_parameterlist></desc_signature>
    <desc_content>
        <paragraph>doing something smart, isn't it cool ?</paragraph>
        <field_list>
            <field>
                <field_name>Parameters</field_name>
                <field_body>
                    <paragraph><strong>arg</strong> -- specify
something smart argumant.</paragraph>
                </field_body>
            </field>
        </field_list>
    </desc_content>
</desc>
--------------------------------

-- 
>>> Akihiro_Takizawa

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to