📄 letter.xml
字号:
<?xml version = "1.0"?>
<!-- Fig. 22.3: letter.xml -->
<!-- Business letter formatted with XML -->
<!DOCTYPE letter SYSTEM "letter.dtd">
<letter>
<contact type = "from">
<name>John Doe</name>
<address1>123 Main St.</address1>
<address2></address2>
<city>Anytown</city>
<state>Anystate</state>
<zip>12345</zip>
<phone>555-1234</phone>
<flag gender = "M"/>
</contact>
<contact type = "to">
<name>Joe Schmoe</name>
<address1>Box 12345</address1>
<address2>15 Any Ave.</address2>
<city>Othertown</city>
<state>Otherstate</state>
<zip>67890</zip>
<phone>555-4321</phone>
<flag gender = "M"/>
</contact>
<salutation>Dear Sir:</salutation>
<paragraph>It is our privilege to inform you about our new
database managed with XML. This new system allows
you to reduce the load of your inventory list server by
having the client machine perform the work of sorting
and filtering the data.</paragraph>
<closing>Sincerely</closing>
<signature>Mr. Doe</signature>
</letter>
<!--
**************************************************************************
* (C) Copyright 2001 by Deitel & Associates, Inc. and Prentice Hall. *
* All Rights Reserved. *
* *
* DISCLAIMER: The authors and publisher of this book have used their *
* best efforts in preparing the book. These efforts include the *
* development, research, and testing of the theories and programs *
* to determine their effectiveness. The authors and publisher make *
* no warranty of any kind, expressed or implied, with regard to these *
* programs or to the documentation contained in these books. The authors *
* and publisher shall not be liable in any event for incidental or *
* consequential damages in connection with, or arising out of, the *
* furnishing, performance, or use of these programs. *
**************************************************************************
-->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -