Debian 中的 XForm

发布于 2024-07-19 16:00:10 字数 828 浏览 5 评论 0原文

我有一个带有 openfire 的 Debian 服务器。

我想主要使用 xform 进行机器人开发。我已经执行了以下命令。

apt-get 安装 apt-file apt 文件更新 apt-file search xforms

当我执行“apt-file search xforms”时,我得到几个结果。

我搜索了示例并找到了以下代码。

<message from="[email protected]/foo" to="[email protected]/bar">
<x xmlns="jabber:x:data" type="form">
<title>My Special Form</title>   
<field label="Text Input" type="text-single" var="field-1"/>
</x>
</message>

但它没有显示任何内容,也没有错误。

请指导我。

问候, 潘卡伊

I have a debian server with openfire.

I want to use xform mainly for bot development.I have executed following command.

apt-get install apt-file
apt-file update
apt-file search xforms

When I do "apt-file search xforms", I get several results.

I have searched for the example and found out following code.

<message from="[email protected]/foo" to="[email protected]/bar">
<x xmlns="jabber:x:data" type="form">
<title>My Special Form</title>   
<field label="Text Input" type="text-single" var="field-1"/>
</x>
</message>

But it is not displaying anything and there is no error.

Please guide me on this.

Regards,
Pankaj

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

所谓喜欢 2024-07-26 16:00:10

您必须将您的网络服务器与 xslt 处理器连接。
如果您不使用 apache-cocoon,您可能可以使用 apache+php (带有 php-xsl 模块)。
请遵循 php 站点上的 XForms 文档。

You've to interface your webserver with an xslt processor.
If you not using apache-cocoon, you probably can use apache+php (with php-xsl module).
Please follow the XForms doc on php site.

无人问我粥可暖 2024-07-26 16:00:10

如果您仍然坚持这一点,现在至少有两种基于客户端的 XForm 实现:

https ://community.emc.com/docs/DOC-4345

作为一名新用户,我只获得一个超链接。 因此,搜索“agence.xml”或“Alain Couthurse”

If you are still stuck with this one, there are now at least two client-based XForm implementations:

https://community.emc.com/docs/DOC-4345

As a new user, I get only one hyperlink. So, search on "agence.xml" or "Alain Couthurse"

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文