Doxygen无法正常解析标签。它解析诸如< Code>,< value>之类的标签。并\入<计算机输出> /计算机输出。 [英] Doxygen doesn't parse tags normally. It parses tags like <Code>,<value> and \s\p into <computeroutput></computeroutput>

查看:77
本文介绍了Doxygen无法正常解析标签。它解析诸如< Code>,< value>之类的标签。并\入<计算机输出> /计算机输出。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正尝试使用doxygen从Java源代码生成xml。 Doxygen不会解析
< code>,< value>和\s\p ....正确。它生成的XML值不正确。
例如:

I am trying to generate xml using doxygen from java sourcecode. Doxygen doesn't parse tags like <code>,<value> and \s\p.... correctly. It generates xml with incorrect values. For example:


    <code>0x0</code> tag is converted into    <computeroutput>0x0</computeroutput>.
    <para>
    <computeroutput>This is code tag</computeroutput>
    <value2>test value4</value2> </meta> </meta> <gid>000001</gid>    <read>1</read>
    </parameter> </component> </algebra>
    </para>

对于< value>和\s\p也。
我想知道为什么会这样吗?
请让我知道其他所有标记也将产生相同的输出
以及如何解决该问题。

similarly for other tags like <value> and \s\p also. I am wondering why it happens????? Please let me know what are all other tags also will produce the same output and how to resolve it.

推荐答案

正确地在引用xml时有点用词不当,除非它的结构不正确,但是我认为您是在引用标记。
如果您不喜欢doxygen的输出,为什么不编写一个xslt使其随心所欲呢?我肯定有很多doxygen.xml-> myflavor.xml可以在那里转换为起点。

"correctly" is a bit of a misnomer when referring to xml, unless it weren't structured correctly, but I think you're referring to the tags. If you don't like the output from doxygen why not write an xslt to make it whatever you want? I'm sure there are many doxygen.xml --> myflavor.xml transforms out there that you could use as a starting point.

这篇关于Doxygen无法正常解析标签。它解析诸如&lt; Code&gt;,&lt; value&gt;之类的标签。并\入&lt;计算机输出&gt; /计算机输出。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆