`
semi_sleep
  • 浏览: 98759 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论

读XML in a Nutshell (10)

    博客分类:
  • XML
阅读更多

本篇包括Chapter 13以及之后的东西,其实没什么内容,关于xml schema那一章讲得太略了,所以这方面的总结参看XML Schema的读书总结。

1.XSL-FO(XML Formatting Object),可以把它看成类似html,pdf之类的东西,就是描述有哪些形状啊,形状的大小位置之类的语言,目前没有一个能够直接浏览XSL-FO生成结果的东西,一般都是转成pdf之后再打印什么的。

2.RDDL(Resource Directory Description Language),W3C推荐在namespace的url处放下这个东东,用来描述该namespace,RDDL是XHTML Basic(就是XHTML的一个子集)加上一个resource标签构成。resource标签下面是可以被展示给用户看的描述性语言,同时这个标签可以包含xlink:href,xlink:role(nature,就是这个resource是什么),xlink:arcrole(purpose,就是这个resource用来干嘛的)这几个属性来提供自动化工具所需要的信息。关于xlink:role跟xlink:arcrole,W3C给出了一些标准值。以下是例子:
<!DOCTYPE html PUBLIC "-//XML-DEV//DTD XHTML RDDL 1.0//EN" "http://www.rddl.org/rddl-xhtml.dtd">
<html xmlns=http://www.w3.org/1999/xhtml xmlns:xlink=http://www.w3.org/1999/xlink xmlns:rddl="http://www.rddl.org/">
<head><title>An XML Application Describing People</title></head>
<body>
<h1>An XML Application Describing People</h1>
<rddl:resource xlink:type="simple" xlink:href="urn:isbn:1565922247" xlink:role=http://dublincore.org/documents/dcmi-type-vocabulary/#text xlink:arcrole="http://www.rddl.org/purposes#normative-reference">
<p>
http://www.cafeconleche.org/namespaces/people is the namespace URL for an XML application describing people in a data-oriented fashion used as an example in <cite>XML in a Nutshell</cite>, second edition by Elliotte Rusty Harold and W. Scott Means (O'Reilly &amp; Associates, 2002).
</p>
</rddl:resource>
<h2>Related Resources</h2>
<p>
Several examples in this book address this application in one way or another. These include:
</p>
<ul>
<li>
<rddl:resource xlink:type="simple" xlink:href=http://www.cafeconleche.org/books/xian2/examples/03/3-5.dtd xlink:role=http://www.isi.edu/in-notes/iana/assignments/mediatypes/application/xml-dtd xlink:arcrole="http://www.rddl.org/purposes#validation">
<a href="http://www.cafeconleche.org/books/xian2/examples/03/3-5.dtd">Example 3-5</a>: A data oriented DTD describing people
</rddl:resource>
</li>
<li>
<rddl:resource xlink:type="simple" xlink:href="http://www.cafeconleche.org/books/xian2/examples/08/8-15.xsl"
xlink:role=http://www.w3.org/1999/XSL/Transform xlink:arcrole="http://www.isi.edu/in-notes/iana/assignments/mediatypes/
text/html">
<a href="http://www.cafeconleche.org/books/xian2/examples/08/8-15.xsl">Example 8-15</a>: An XSLT stylesheet for people documents
</rddl:resource>
</li>
</ul>
<p>
This document itself is<a href="http://www.cafeconleche.org/books/xian/examples/14/14-2.html">Example 14-2</a> from the RDDL chapter.
</p>
</body>
</html>

分享到:
评论
1 楼 zhangyulove911 2015-04-20  
          

相关推荐

    XML.in.a.Nutshell

    XML.in.a.Nutshell(英文版)

    C# 5.0 in a Nutshell 5th

    C# 5.0 in a Nutshell 5th

    R in a Nutshell

    R in a Nutshell, pdf version

    Python in a Nutshell Third Edition 2017

    Python in a Nutshell 2017 最新版

    C# 5.0 in a Nutshell, 5th Edition

    C# 5.0 in a Nutshell, 5th Edition 是英文的,别搞错了。

    Linux Kernel in a Nutshell

    Linux Kernel in a Nutshell Linux Kernel in a Nutshell

    Delphi in a Nutshell

    Delphi in a Nutshell is the first concise reference to Borland/Inprise Delphi available. It succinctly collects all the information you need in one easy-to-use, complete, and accurate volume that goes...

    USB in a Nutshell

    Starting out new with USB can be quite daunting. With the USB 2.0 specification at 650 pages one could easily be put off just by the sheer size of... None of these are detailed in the USB 2.0 Spec.

    Ruby In a Nutshell

    Ruby In a Nutshell

    C# 5.0 7.0 in a Nutshell EN

    C# 7.0 in a Nutshell EN,C# 5.0 in a Nutshell EN,英文原版PDF

    C# in a nutshell

    Get up to speed on C# language basics, including ...Learn .NET topics, including XML, collections, I/O and networking, memory management, reflection, attributes, security, and native interoperability

    Java in a Nutshell(中文版)

    Java in a Nutshell(6th) 英文无水印pdf 第6版 pdf所有页面使用FoxitReader和PDF-XChangeViewer测试都可以打开 本资源转载自网络,如有侵权,请联系上传者或csdn删除

    C# 6.0 in a Nutshell(6th) 无水印pdf

    C# 6.0 in a Nutshell(6th) 英文无水印pdf 第6版 pdf所有页面使用FoxitReader和PDF-XChangeViewer测试都可以打开 本资源转载自网络,如有侵权,请联系上传者或csdn删除 本资源转载自网络,如有侵权,请联系...

    C# 6.0 in a Nutshell.pdf

    Dive in and discover why this Nutshell guide is considered the definitive reference on C#. Get up to speed with all aspects of the C# language, from the basics of syntax and variables, to advanced ...

    C# 7.0 in A Nutshell

    Dive in and discover why this Nutshell guide is considered the definitive reference on C#. Get up to speed on the C# language, from the basics of syntax and variables to advanced topics such as ...

    SQL in a Nutshell

    SQL in a Nutshell讲述sql的基础知识,可能对大家有帮助。

    C# 4.0 in a Nutshell

    C# 4.0 in a Nutshell

Global site tag (gtag.js) - Google Analytics