Yuan Yijun (bbbush) wrote,
Yuan Yijun

接触到 XFDL

http://www.w3.org/TR/NOTE-XFDL 是一套 XML 标记,用来描绘表单。XFDL 是 1998 年的标准,但是仍然用在 SEC 的 EDGAR filing 中。它其实最初也是 SEC 与 w3 推的标准,但是只停留在 NOTE 状态。

扩展表单描述语言(XFDL)使用可扩展标记语言(XML)提供一种为便于数字化存储和显示而定义数据域和企业或政府复杂表格设计的标准方法。 XFDL表格可当作XML页发送到网络用户,它使得在一页XFDL上进行一个或者多个数字认证成为可能,它还对内嵌数字和条件表达式进行语法描述。 XFDL将先前开发的全球表格定义语言(UFDL)和XML结合了起来。  

电子商务标准公司PureEdge,原名UWI.com,以及互联网联盟(W3C)编辑Tim Bray于1998年提出了XFDL,成为世界第一个安全、合法XML文件的公开标准。从此以后,GTE、CommerceOne以及Verisign等供应商开始在其产品中支持或认可XDFL。

另一段文字,XFDL 与 XForms 的结合

Of course, XFDL now incorporates XForms to express all aspects of XFDL that it can. And like a good standard ought to do, XForms itself incorporates other W3C technologies where appropriate, like XPath and XML Schema. But XForms depends on a host language to deliver the actual user experience, and there are aspects of a precision presentation and rich user experience that properly belong at the host language level. And XFDL even encodes these bits with the most pervasive standard of all -- XML.

最后,是一篇 IBM 论文,关于上面 XFDL 与 XForms 结合的具体做法

头一次接触 XFDL,顺带着接触到 XForms。我的看法是 XForms 是比较新的标准。XFDL 可以补充 XForms,作为包装和前端。不知道这样的想法对不对。像 foaf 那样使用 rdf 词汇表。在 SEC EDGAR XFDL Schema 中提到, XFDL 有 99% 是和界面有关的,只有 1% 才是真正要采集/提交的数据。

我的新工作是要将数据再分离出来,保存到公司的数据库中,制订新的 schema 和基于数据表的存取方法。也许可以直接利用这些 schema 而无须重新制定,就省了不少功夫。分析 xml 和转换到新的 schema 应该不困难。
Tags: 工作, 转载

  • 2020

    Last time I wrote a review was in 2018, about 2017. Or maybe I wrote something elsewhere, maybe on Twitter? It was hard to write something freely…

  • Yoga

    Yesterday JY learned a lot about Yoga poses. I keep saying that as "yogurt", no idea why. - Child's pose. Surprisingly hard for me! - Triangle -…

  • 坏人

    Jimmy had an obsession about bad guys. He wanted to be a bad guy in his star of the week report. He even wanted to live with bad guys. Then he asked…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded