新书推介:《语义网技术体系》
作者:瞿裕忠,胡伟,程龚
   >>中国XML论坛<<     W3CHINA.ORG讨论区     计算机科学论坛     SOAChina论坛     Blog     开放翻译计划     新浪微博  
 
  • 首页
  • 登录
  • 注册
  • 软件下载
  • 资料下载
  • 核心成员
  • 帮助
  •   Add to Google

    >> XML在软件工程中的应用
    [返回] 中文XML论坛 - 专业的XML技术讨论区XML.ORG.CN讨论区 - 高级XML应用『 XML在软件工程中的应用 』 → 新发现一个XMl的扩展,叫Form Filling Extensible Markup Language (FFXML),大家帮看看哈 查看新帖用户列表

      发表一个新主题  发表一个新投票  回复主题  (订阅本版) 您是本帖的第 12228 个阅读者浏览上一篇主题  刷新本主题   树形显示贴子 浏览下一篇主题
     * 贴子主题: 新发现一个XMl的扩展,叫Form Filling Extensible Markup Language (FFXML),大家帮看看哈 举报  打印  推荐  IE收藏夹 
       本主题类别:     
     deg 帅哥哟,离线,有人找我吗?
      
      
      等级:大一新生
      文章:3
      积分:62
      门派:XML.ORG.CN
      注册:2008/11/12

    姓名:(无权查看)
    城市:(无权查看)
    院校:(无权查看)
    给deg发送一个短消息 把deg加入好友 查看deg的个人资料 搜索deg在『 XML在软件工程中的应用 』的所有贴子 引用回复这个贴子 回复这个贴子 查看deg的博客楼主
    发贴心情 新发现一个XMl的扩展,叫Form Filling Extensible Markup Language (FFXML),大家帮看看哈

    全称叫Form Filling Extensible Markup Language (FFXML) 1.0 (First Edition),是一家叫IEAssist Inc的公司开发的,我截取一段如下:

    Table of Contents
    1 Introduction
    2 Documents
         2.1 How to organize an FFXML file
         2.2 Example
         2.3 Root node
         2.4 Collection node
         2.5 Element node
         2.6 TagName node
         2.7 Type node
         2.8 Id node
         2.9 Name node
         2.10 Text node
         2.11 Value node

    全文在http://ieassist.com/ffxml.htm,看样IEAssist Inc是希望通过努力建立一个网页填表软件存储数据的标准,感觉IEAssist Inc的人应该是比较熟悉W3C XML和HTML,也做了好多工作,不知他们最后能否成功,作为同行希望他们最终如愿 :  )

    周后谢谢大家来看我帖子


       收藏   分享  
    顶(0)
      




    点击查看用户来源及管理<br>发贴IP:*.*.*.* 2009/1/28 18:20:00
     
     deg 帅哥哟,离线,有人找我吗?
      
      
      等级:大一新生
      文章:3
      积分:62
      门派:XML.ORG.CN
      注册:2008/11/12

    姓名:(无权查看)
    城市:(无权查看)
    院校:(无权查看)
    给deg发送一个短消息 把deg加入好友 查看deg的个人资料 搜索deg在『 XML在软件工程中的应用 』的所有贴子 引用回复这个贴子 回复这个贴子 查看deg的博客2
    发贴心情 
    方便大家浏览,我把全文附在二楼 :  )

    Form Filling Extensible Markup Language (FFXML) 1.0 (First Edition)
    IEAssist Inc Recommendation 25 January 2009

    This version:
    http://www.ieassist.com/ffxml-20090125.htm

    Latest version:
    http://www.ieassist.com/ffxml.htm

    Editors:
    IEAssist Inc ffxml@ieassist.com

    Copyright &copy; 2009 IEAssist Inc &reg; , All Rights Reserved.

    Abstract
    The Form Filling Extensible Markup Language (FFXML) is a subset of XML that is completely described in this document. Its goal is to enable XML contains form filling information to be served, received, and processed on the Web in the way that is now possible with generic XML. FFXML has been designed for ease of implementation and for interoperability with XML.

    Table of Contents
    1 Introduction
    2 Documents
         2.1 How to organize an FFXML file
         2.2 Example
         2.3 Root node
         2.4 Collection node
         2.5 Element node
         2.6 TagName node
         2.7 Type node
         2.8 Id node
         2.9 Name node
         2.10 Text node
         2.11 Value node

    1 Introduction
    Form Filling Extensible Markup Language, abbreviated FFXML, describes a class of data objects called FFXML documents and partially describes the behavior of form filling programs which process them. FFXML is an database for form filling application or restricted form of XML, the Extensible Markup Language [REC-xml]. By construction, FFXML documents are conforming XML documents.

    2 Documents
    [Definition: A data object is an FFXML document if it is well-formed, as defined in this specification. In addition, the FFXML document is valid if it meets certain further constraints.]

    Each FFXML document has both a logical and a physical structure. Physically, the document is composed of units called entities. An entity may refer to other entities to cause their inclusion in the document. A document begins in a "root" or document entity. Logically, the document is composed of declarations, elements, comments, character references, and processing instructions, all of which are indicated in the document by explicit markup. The logical and physical structures MUST nest properly, as described in Well-Formed Parsed Entities.

    2.1 How to organize an FFXML file
    An FFXML file contains one root node, root node contains a set of "<collection>" nodes, every "<collection>" nodes contain a set of "<element>" nodes, every "<element>" nodes contain a set of nodes used for identifying the HTML element such as "<tagName>", "<type>", "<id>", "<name>", and every "<element>" nodes contain a set of nodes used for filling form such as "<text>", "<value>". Here is an example for FFXML document.

    2.2 Example

    example.xml

    <?xml version="1.0" encoding="utf-8"?>
    <collections>
         <collection name="pick">
              <element name="iLastName">
                   <tagName>INPUT</tagName>
                   <type>text</type>
                   <id>iLastName</id>
                   <name>iLastName</name>
                   <value>Assist</value>
              </element>
              <element name="iCountry">
                   <tagName>SELECT</tagName>
                   <type>select-one</type>
                   <id>iCountry</id>
                   <name>iCountry</name>
                   <value>US</value>
                   <text>United States</text>
              </element>
              <element name="iGenderMale">
                   <tagName>INPUT</tagName>
                   <type>radio</type>
                   <id>iGenderMale</id>
                   <name>profile_gender</name>
                   <value>m</value>
              </element>
              <element name="message">
                   <tagName>TEXTAREA</tagName>
                   <type>textarea</type>
                   <id>message</id>
                   <name>message</name>
                   <value>ieassist.com</value>
              </element>
         </collection>
    </collections>
      


    2.3 Root node

    Description Root node should be "<collections>", and "<collections>" should be the parent of "<collection>" node, "<collections>" node was used for managing a set of "<element>" nodes.
    Format <collections>
    Parent Node No
    Child Node <collection>
    Attribute 1 Name
    Text No


    2.4 Collection node
      
    Description "<collection>" node should be the child of root element, and should be the parent of "<element>"node , an FFXML file may contains several "<collection>" nodes, "<collection>" node was used for managing a set of <element> nodes.
    Format <collection>
    Parent Node <collections>
    Child Node <element>
    Attribute 1 Name
    Text No


    2.5 Element node

    Description "<element>" node should be the child of <collection>, and should be the parent of "<tag>" node, "<element>" node was used for managing a set of <tag> nodes.
    Format <element>
    Parent Node <collection>
    Child Node <tagName>, <type>
    Attribute 1 Name
    Text No


    2.6 TagName node

    Description "<tagName>" node should be the child of <element> node, and was used for storing the tagName of HTML element to be filled.
    Format <tagName>
    Parent Node <element>
    Child Node No
    Attribute No
    Text Specify the tagName of HTML element to be filled.


    2.7 Type node

    Description "<type>" node should be the child of <element> node, and was used for storing the type(1, 2, 3, 4, 5, 6, 7, 8, 9, 10) of HTML element to be filled.
    Format <type>
    Parent Node <element>
    Child Node No
    Attribute No
    Text Specify the type(1, 2, 3, 4, 5, 6, 7, 8, 9, 10) of HTML element to be filled.



    2.8 Id node

    Description "<id>" node should be the child of <element> node, and was used for storing the id of HTML element to be filled.
    Format <id>
    Parent Node <element>
    Child Node No
    Attribute No
    Text Specify the id of HTML element to be filled.


    2.9 Name node

    Description "<name>" node should be the child of <element> node, and was used for storing the name(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11) of HTML element to be filled.
    Format <name>
    Parent Node <element>
    Child Node No
    Attribute No
    Text Specify the name(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11) of HTML element to be filled.


    2.10 Text node

    Description "<text>" node should be the child of <element> node, and was used for storing the text of HTML element to be filled.
    Format <text>
    Parent Node <element>
    Child Node No
    Attribute No
    Text Specify the text of HTML element to be filled.


    2.11 Value node

    Description "<value>" node should be the child of <element> node, and was used for storing the value(1, 2, 3, 4, 5) of HTML element to be filled.
    Format <value>
    Parent Node <element>
    Child Node No
    Attribute No
    Text Specify the value(1, 2, 3, 4, 5) of HTML element to be filled.

    点击查看用户来源及管理<br>发贴IP:*.*.*.* 2009/1/28 18:22:00
     
     GoogleAdSense
      
      
      等级:大一新生
      文章:1
      积分:50
      门派:无门无派
      院校:未填写
      注册:2007-01-01
    给Google AdSense发送一个短消息 把Google AdSense加入好友 查看Google AdSense的个人资料 搜索Google AdSense在『 XML在软件工程中的应用 』的所有贴子 访问Google AdSense的主页 引用回复这个贴子 回复这个贴子 查看Google AdSense的博客广告
    2024/11/21 19:45:39

    本主题贴数2,分页: [1]

    管理选项修改tag | 锁定 | 解锁 | 提升 | 删除 | 移动 | 固顶 | 总固顶 | 奖励 | 惩罚 | 发布公告
    W3C Contributing Supporter! W 3 C h i n a ( since 2003 ) 旗 下 站 点
    苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》
    62.500ms