XML终极教程(PDF)

  • S1_943712
    了解作者
  • 5MB
    文件大小
  • rar
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-05-19 12:24
    上传日期
This appendix contains XML reference material. It is<br>divided into three main parts:<br>1. XML BNF Grammar<br>2. Well-Formedness Constraints<br>3. Validity Constraints
XML终极教程(PDF).rar
  • XML终极教程(PDF)
  • Chapter01.pdf
    91.3KB
  • Chapter09.pdf
    177.9KB
  • Chapter02.pdf
    192.1KB
  • Chapter04.pdf
    303.5KB
  • AppendixA.pdf
    186.2KB
  • Chapter06.pdf
    161.5KB
  • Chapter18.pdf
    71KB
  • Chapter23.pdf
    152.5KB
  • Chapter13.pdf
    185.7KB
  • Chapter07.pdf
    301.4KB
  • AppendixC.pdf
    25.1KB
  • Chapter16.pdf
    149.9KB
  • AppendixB.pdf
    168.5KB
  • Chapter10.pdf
    106KB
  • Chapter19.pdf
    296.2KB
  • Chapter08.pdf
    317.8KB
  • Chapter03.pdf
    84.3KB
  • Chapter22.pdf
    290.9KB
  • Chapter12.pdf
    798.8KB
  • Chapter17.pdf
    107.4KB
  • Chapter21.pdf
    237.6KB
  • CodePub.Com说明.txt
    1.5KB
  • Chapter20.pdf
    350.2KB
  • Contents.pdf
    313.7KB
  • Chapter11.pdf
    81.3KB
  • Chapter15.pdf
    234.7KB
  • Chapter05.pdf
    337.3KB
  • Chapter14.pdf
    361.8KB
内容介绍
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8"> <meta name="generator" content="pdf2htmlEX"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <link rel="stylesheet" href="https://static.pudn.com/base/css/base.min.css"> <link rel="stylesheet" href="https://static.pudn.com/base/css/fancy.min.css"> <link rel="stylesheet" href="https://static.pudn.com/prod/directory_preview_static/6285c6835172510b0c6ee3ab/raw.css"> <script src="https://static.pudn.com/base/js/compatibility.min.js"></script> <script src="https://static.pudn.com/base/js/pdf2htmlEX.min.js"></script> <script> try{ pdf2htmlEX.defaultViewer = new pdf2htmlEX.Viewer({}); }catch(e){} </script> <title></title> </head> <body> <div id="sidebar" style="display: none"> <div id="outline"> </div> </div> <div id="pf1" class="pf w0 h0" data-page-no="1"><div class="pc pc1 w0 h0"><img class="bi x0 y0 w1 h1" alt="" src="https://static.pudn.com/prod/directory_preview_static/6285c6835172510b0c6ee3ab/bg1.jpg"><div class="t m0 x1 h2 y1 ff1 fs0 fc0 sc0 ls0 ws0">Cascading Style</div><div class="t m0 x1 h2 y2 ff1 fs0 fc0 sc0 ls0 ws0">Sheets L<span class="_ _0"></span>evel 1</div><div class="t m0 x2 h3 y3 ff1 fs1 fc0 sc0 ls1 ws0">C</div><div class="t m0 x3 h4 y4 ff2 fs2 fc0 sc0 ls2 ws0">SS is a ver<span class="_ _1"></span>y simple and straightfor<span class="_ _1"></span>war<span class="_ _2"></span>d language for</div><div class="t m0 x3 h4 y5 ff2 fs2 fc0 sc0 ls2 ws0">applying styles such as bold and Helvetica to particular</div><div class="t m0 x2 h4 y6 ff2 fs2 fc0 sc0 ls2 ws0">XML elements. Most of the styles CSS supports are familiar</div><div class="t m0 x2 h4 y7 ff2 fs2 fc0 sc0 ls2 ws0">from any conventional wor<span class="_ _0"></span>d processor<span class="_ _3"></span>. For example, you </div><div class="t m0 x2 h4 y8 ff2 fs2 fc0 sc0 ls2 ws0">can choose the font, the font weight, the font size, the</div><div class="t m0 x2 h4 y9 ff2 fs2 fc0 sc0 ls2 ws0">background color<span class="_ _3"></span>, the spacing of various elements, the</div><div class="t m0 x2 h4 ya ff2 fs2 fc0 sc0 ls2 ws0">borders ar<span class="_ _0"></span>ound elements, and more. However<span class="_ _3"></span>, rather than</div><div class="t m0 x2 h4 yb ff2 fs2 fc0 sc0 ls2 ws0">being stored as part of the document itself, all the style</div><div class="t m0 x2 h4 yc ff2 fs2 fc0 sc0 ls2 ws0">information is placed in a separate document called a style</div><div class="t m0 x2 h4 yd ff2 fs2 fc0 sc0 ls2 ws0">sheet. One XML document can be formatted in many</div><div class="t m0 x2 h4 ye ff2 fs2 fc0 sc0 ls2 ws0">different ways just by changing the style sheet. Differ<span class="_ _2"></span>ent</div><div class="t m0 x2 h4 yf ff2 fs2 fc0 sc0 ls2 ws0">style sheets can be designed for different purposes<span class="_ _4"></span>&#8212;<span class="_ _4"></span>for</div><div class="t m0 x2 h4 y10 ff2 fs2 fc0 sc0 ls2 ws0">print, the W<span class="_ _0"></span>eb, pr<span class="_ _2"></span>esentations, and for other uses<span class="_ _4"></span>&#8212;<span class="_ _5"></span>all with</div><div class="t m0 x2 h4 y11 ff2 fs2 fc0 sc0 ls2 ws0">the styles appropriate for the specific medium, and all</div><div class="t m0 x2 h4 y12 ff2 fs2 fc0 sc0 ls2 ws0">without changing any of the content in the document itself.</div><div class="t m1 x1 h5 y13 ff3 fs3 fc0 sc0 ls3 ws1">W<span class="_ _0"></span>hat Is CS<span class="_ _0"></span>S?</div><div class="t m2 x2 h4 y14 ff2 fs2 fc0 sc0 ls4 ws0">Cascading Style Sheets (referr<span class="_ _0"></span>ed to as CSS from now on) wer<span class="_ _2"></span>e</div><div class="t m2 x2 h4 y15 ff2 fs2 fc0 sc0 ls4 ws0">introduced in 1996 as a standar<span class="_ _0"></span>d means of adding information</div><div class="t m2 x2 h4 y16 ff2 fs2 fc0 sc0 ls4 ws2">about style properties such as fonts and bor<span class="_ _2"></span>ders to HTML</div><div class="t m2 x2 h4 y17 ff2 fs2 fc0 sc0 ls4 ws0">documents. However<span class="_ _3"></span>, CSS actually works better with XML</div><div class="t m2 x2 h4 y18 ff2 fs2 fc0 sc0 ls4 ws2">than with HTML<span class="_"> </span>because HTML is burdened with backwar<span class="_ _0"></span>ds-</div><div class="t m2 x2 h4 y19 ff2 fs2 fc0 sc0 ls4 ws0">compatibility between the CSS tags and the HTML tags. For</div><div class="t m2 x2 h4 y1a ff2 fs2 fc0 sc0 ls4 ws0">instance, properly supporting the CSS</div><div class="t m2 x4 h4 y1b ff4 fs4 fc0 sc0 ls5 ws0">nowrap<span class="_ _6"> </span><span class="ff2 fs2 ls4">property </span></div><div class="t m2 x2 h4 y1c ff2 fs2 fc0 sc0 ls4 ws0">requir<span class="_ _0"></span>es eliminating the non-standard but fr<span class="_ _2"></span>equently used</div><div class="t m2 x2 h4 y1d ff4 fs4 fc0 sc0 ls5 ws0">NOWRAP<span class="_ _6"> </span><span class="ff2 fs2 ls4">element in HTML. Because XML elements don&#8217;t have</span></div><div class="t m2 x2 h4 y1e ff2 fs2 fc0 sc0 ls4 ws0">any predefined formatting, they don&#8217;t r<span class="_ _0"></span>estrict which CSS styles</div><div class="t m2 x2 h4 y1f ff2 fs2 fc0 sc0 ls4 ws0">can be applied to which elements.</div><div class="t m2 x2 h4 y20 ff2 fs2 fc0 sc0 ls6 ws3">A CSS style sheet is a list of rules. Each rule gives the names of</div><div class="t m2 x2 h4 y21 ff2 fs2 fc0 sc0 ls4 ws0">the elements it applies to and the styles it wants to apply to</div><div class="t m2 x2 h4 y22 ff2 fs2 fc0 sc0 ls4 ws0">those elements. For example, consider Listing 12-1, a CSS style</div><div class="t m2 x5 h6 y23 ff5 fs5 fc1 sc0 ls7 ws0">12</div><div class="t m2 x6 h6 y24 ff5 fs5 fc2 sc0 ls7 ws0">12</div><div class="t m2 x7 h7 y25 ff3 fs4 fc0 sc0 ls8 ws0">CHAPTER</div><div class="t m2 x8 h8 y26 ff6 fs6 fc0 sc0 ls9 ws0">&#10022; <span class="_ _7"> </span>&#10022; <span class="_ _7"> </span>&#10022; <span class="_ _7"> </span>&#10022;</div><div class="t m2 x8 h9 y27 ff7 fs6 fc0 sc0 ls9 ws0">In This Chapter</div><div class="t m2 x8 h4 y28 ff8 fs2 fc0 sc0 ls6 ws0">What is CSS?</div><div class="t m2 x8 h4 y29 ff8 fs2 fc0 sc0 ls6 ws0">How to attach style</div><div class="t m2 x8 h4 y2a ff8 fs2 fc0 sc0 ls6 ws0">sheets to documents</div><div class="t m2 x8 h4 y2b ff8 fs2 fc0 sc0 ls4 ws0">How to select</div><div class="t m2 x8 h4 y2c ff8 fs2 fc0 sc0 ls4 ws0">elements</div><div class="t m2 x8 h4 y2d ff8 fs2 fc0 sc0 ls4 ws2">Inheritance of</div><div class="t m2 x8 h4 y2e ff8 fs2 fc0 sc0 ls6 ws0">parent&#8217;<span class="_ _0"></span>s font size</div><div class="t m2 x8 h4 y2f ff8 fs2 fc0 sc0 ls6 ws0">The cascade process</div><div class="t m2 x8 h4 y30 ff8 fs2 fc0 sc0 ls4 ws2">Comments in CSS</div><div class="t m2 x8 h4 y31 ff8 fs2 fc0 sc0 ls6 ws0">style sheets</div><div class="t m2 x8 h4 y32 ff8 fs2 fc0 sc0 ls6 ws0">CSS units</div><div class="t m2 x8 h4 y33 ff8 fs2 fc0 sc0 ls6 ws0">Block, inline, and </div><div class="t m2 x8 h4 y34 ff8 fs2 fc0 sc0 ls6 ws0">list-item elements</div><div class="t m2 x8 h4 y35 ff8 fs2 fc0 sc0 ls6 ws0">Font properties</div><div class="t m2 x8 h4 y36 ff8 fs2 fc0 sc0 ls4 ws2">The color property</div><div class="t m2 x8 h4 y37 ff8 fs2 fc0 sc0 ls6 ws0">Background</div><div class="t m2 x8 h4 y38 ff8 fs2 fc0 sc0 ls6 ws0">properties</div><div class="t m2 x8 h4 y39 ff8 fs2 fc0 sc0 ls6 ws0">T<span class="_ _3"></span>ext proper<span class="_ _1"></span>ties</div><div class="t m2 x8 h4 y3a ff8 fs2 fc0 sc0 ls4 ws2">Box properties</div><div class="t m2 x8 h8 y3b ff6 fs6 fc0 sc0 ls9 ws0">&#10022; <span class="_ _7"> </span>&#10022; <span class="_ _7"> </span>&#10022; <span class="_ _7"> </span>&#10022;</div><div class="t m2 x9 ha y3c ff9 fs7 fc0 sc0 lsa ws4"><span class="fc3 sc0">3236-7 ch12.F.qc 6/29/99 1:08 PM Page 323</span></div></div><div class="pi" data-data='{"ctm":[1.795332,0.000000,0.000000,1.795332,-80.143627,-85.314183]}'></div></div> </body> </html>
评论
    相关推荐