Los Angeles Chinese Learning Center, providing private Chinese Mandarin classes, Chinese tutors, Mandarin interpreter and translators, China investment report, investment opportunity report, China intelligence report, information on Chinese herbal medicines in Los Angeles
Corporate Services Other Services
Private Instruction Invest in China
Curriculum FAQ
Business Culture Health Education
Textbooks Our Staff
Hours and Location Contact Us
�@

Ķ��G XML Base�]http://chinese-school.netfirms.com/XMLBase-TC.html�^
���G XML Base�]http://www.w3.org/TR/2001/REC-xmlbase-20010627/�^
�����G          �����ɬO���u2001�~6��27��o����XML Base����Э�M2003�~1��23���s���ɻ~���i��½Ķ���C�έ׭q�����N����媺�a��w�bĶ�夤�`�ХX�C

          �����ɪ��^�媩�O�ߤ@�����������C

          ���MĶ�̤w��½Ķ�����̥I�X�V�O�A�������B�����K�s�b�C�w���ӫH�����C

          Ķ�`�����e�O�D�������A�ȥN��Ķ�̭ӤH�[�I�C

          �ۧ@�v�n����_�G

http://www.w3.org/Consortium/Legal/copyright-documents.html

Copyright  © 1998 W3C® (MIT, INRIA, Keio ), All Rights Reserved. W3C liability, trademark, document use and software licensing rules apply.

Ķ�̡G �}�[�]Collin Hsu�^Traditional Chinese Code Conversion: Samuel Chong
�ɶ��G �����o���_2003�~7��2��/�̦Z��s�_2003�~7��20��

 �P��

�S�O�P��Jonathan Marsh�MDanny Ayers�b�����ɪ�½Ķ�L�{������������M���U!

�@

W3C

XML Base

W3C����Э�    2001�~6��27��

���e�����G

http://www.w3.org/TR/2001/REC-xmlbase-20010627/ (available in HTML, XML)

�̷s�����G

http://www.w3.org/TR/xmlbase/

�W�@�����G

http://www.w3.org/TR/2000/PR-xmlbase-20001220/

�s�̡G

         Jonathan Marsh, Microsoft mailto:jmarsh@microsoft.com

�@


�K�n

�����ɴ��X�F�@����XML���ɤ����Y�dz���[Ķ�`//�o�����Y�dz����S�������B���ɹ��^�M�~�����^�A���O�x��XML���ɤ������󳡤��C]�w�q���URIs�]base URIs�^�����]�����_HTML BASE�^�C

�@

�����ɪ����A

�����ɤw�g�L W3C �����M��L�����譱�]interested parties�^���f�\�A�}�w�QW3C Director[Ķ�`//Director�OW3C��´���̰���F¾��A�ثe��Tim Berners-Lee����C]��㬰 W3C����Э�]W3C Recommendation�^�C�����ɬOí�w���]stable�^�C�o�N���ۥ����ɥi�Q�Χ@�ѦҸ�ƩΨ�L���ɪ��W�S�ʰѦҤ��m�]normative reference�^�CW3C ��w����Э㪺���ȬO�Ϥ��������`�A�}�P�Ϩ�Q�s�x�ϥΡC�o�N�W�jWeb���\��ʡ]functionality�^�O���ާ@�ʡ]interoperablity�^�C

�@

�����ɬOW3C XML Linking�u�@�ա]Working Group�^���u�@���G�C�o���u�@�OW3C Architecture Domain����XML Activity[Ķ�`//Activity�����OW3C�u�@���@�ӻ��]���@�����C���_�o���u�@���I���A�аѨ�XML Activity Statement�C

�@

�p�G�o�{������[Ķ�`//����^�����]�����~�A�еo�e���~���i�ܤ��}�l��C��www-xml-linking-comments@w3.org �]�Ӷl��C�������v�O���s��_http://lists.w3.org/Archives/Public/www-xml-linking-comments/�^�C���~�Q�̻{�H�Z�A�N�Q�s�ɤ_�w�����~�C��http://www.w3.org/2001/06/xmlbase-errata�C

�@

���W�S���^�媩�O�ߤ@���W�S�ʪ����]normative version�^�C�p�G�ݭn��L�y���������A�гX��http://www.w3.org/2001/06/xmlbase-translations�C

�@

W3C����Э�Ψ�L�޳N���ɡ]technical document�^���̷s�C���i�q�H�U�I�}��o�Ghttp://www.w3.org/TR�C

�@

�ؿ�

1. ����

2. �N�y

3. xml:base�ݩ�

3.1 URI�ޥΪ��s�X�M��q�@

4. �۹�URI���ѪR

4.1. �ORFC 2396�����t

4.2. ���URI�H�����ɫ�

4.3. URI�O���URI���ǰt

5. �@�P��

����

A: �ѦҸ��

B: �ѦҸ�ơ]�D�W�S�ʪ��^

C: ���L�Э㪺�v�T�]�D�W�S�ʪ��^

�@


1.        ���С]Introduction�^

XML�챵�y��[XLink]�w�q�F�Τ_�y�z�귽�������챵�]links�^��XML�۳y�����]constructs�^�C��XLink���n�D���@�O�G�����H�@���@�몺�覡�]a generic way�^�Ӥ��HTML [HTML 4.01]�����챵�۳y�����]constructs�^�CHTML BASE�����]element�^�OXLink�u�@�դw�g�Ҽ{�쪺�o�ˤ@���۳y�����C�q�L�ϥ�BASE�����A���ɧ@�̥i�H�㦡�a�����ɫ��w�@�Ӱ��URI�]base URI�^�A�H�ѪR���V�~���Ϲ��B�p�{�ǡ]applets�^�B����]form�^�B�z�{�ǥH�μ˦����]style sheets�^���귽���۹�URIs�C

�@

�����ɴy�z�F�@����XLink���Ѱ��URI�A�Ȫ����C�N��@���@�ӳ�W�����ɡA�O���F����L�ϥΤF�۹�URI�B���S����_XLink��XML���Τ]����Q�Υ��C��{�o�@���A�u�ݨϥΤ@�ӦW��xml:base��XML�ݩʡC

�@

�I��XML Base����k�O�N��C�J�s�W�S�]��pXLink�MXML Infoset�^���W�S�ʰѦҸ�ơC�o�ˡA��_�o�Ƿs�W�S�����ΩγW�S�K�۰ʤ��XML Base�C�p�G�@�����ΡA����_���W�S���S�������ζ����a�W�S�ʤޥ�XML Base�A�h�b�����Τ��Axml:base�ݩʪ����A�O�L�w�q���C

�@

2.        �N�y�]Terminology�^

[�w�q�G�b���W�S���Amust�Bmust not�Brequired�Bshall�Bshall not�Bshould�Bshould not�Brecommended�Bmay�H��optional������r�ŦX[IETF RFC 2119]�����w�q�C]

�@

�b���W�S���A�N�ybase URI�]���URI�^�Mrelative URI�]�۹�URI�^�ŦX [IETF RFC 2396]�����w�q�C

 

3.        xml:base�ݩʡ]xml:base Attribute�^  

��_�����ɹ��^�M�~�����^�H�~���귽[Ķ�`//�]�N�O����]�A�i�H�q�L�bXML���ɤ��O�Jxml:base�ݩʬ�����w���URI�C���ݩʪ��Ȧb�g�L�s�X�M��q�B�z�]�Ѩ�3.1�`�^���Z�A�i�Q�ݧ@�O�@��URI�ޥΡ]URI Reference�^�]���_URI�ޥΪ��w�q�A�аѨ�RFC 2396[IETF RFC 2396]�^�C

�@

�bXML�R�W�Ŷ�[XML Names]�����йL�A����R�W�Ŷ���XML�B�z���]namespace-aware XML processors�^�N��e��xml���j�w��R�W�Ŷ��W�]namespace name�^http://www.w3.org/XML/1998/namespace�W�C�`�N�A�b������R�W�Ŷ���XML�B�z���]non-namespace-aware processors�^���A���i�H�ϥ�xml:base�ݩʡC

�@

�U���O�@�Ӧb�]�tXLink�����ɤ��ϥ�xml:base�ݩʪ��Ҥl�C���F����xlink:href�ݩʤ����۹�URI�ޥΡAXLink�W�S�ʦa�ѦҤFXML Base�C

�@

<?xml version="1.0"?>
<doc xml:base="http://example.org/today/"
      xmlns:xlink="http://www.w3.org/1999/xlink">
  <head>
    <title>Virtual Library</title>
  </head>
  <body>
    <paragraph>See <link xlink:type="simple" xlink:href="new.xml">what's 
new</link>!</paragraph>
    <paragraph>Check out the hot picks of the day!</paragraph>
    <olist xml:base="/hotpicks/">
      <item>
      &n
bsp; <link xlink:type="simple" xlink:href="pick1.xml">Hot Pick #1</link>
      </item>
      <item>
        <link xlink:type="simple" xlink:href="pick2.xml">Hot Pick #2</link>
      </item>
      <item>
        <link xlink:type="simple" xlink:href="pick3.xml">Hot Pick #3</link>
      </item>
    </olist>
  </body>
</doc>

�@

���Ҥ���URIs�Q�ѪR���U�C���㪺URIs�G

l              "what's new"�Q�ѪR��URI "http://example.org/today/new.xml"

l              "Hot Pick #1"�Q�ѪR��URI "http://example.org/hotpicks/pick1.xml"

l              "Hot Pick #2"�Q�ѪR��URI "http://example.org/hotpicks/pick2.xml"

l              "Hot Pick #3"�Q�ѪR��URI "http://example.org/hotpicks/pick3.xml"

�@

3.1.                    URI�ޥΪ��s�X�M��q�]URI Reference Encoding and Escaping�^

xml:base�ݩʭȪ��X�k�r�Ŷ��MXML�@�ˡA���O[Unicode]�C���O�A����Unicode�r�Ť����\�X�{�bURI�ޥΡ]URI Reference�^���C�]���A�B�z��������o�Ǧr�Ŷi��s�X�M��q�B�z�A�H�o��@�ӦX�k��URI�ޥΡC

�@

�����\�bURI�ޥΤ��X�{���r�ť]�A�G�Ҧ����DASCII�r�šA�H�Φb[IETF RFC 2396]2.4�`�C�X���r�Ť��h�� ��#���B��%���M��A���Ÿ��Z�ѤU���Ÿ��C�������ӤU�����覡��o�ǫD�k�r�Ŷi����q�B�z�G

1.         �N�C�ӫD�k�r���ഫ��UTF-8�榡[IETF RFC 2279]�]UTF-8�Τ@�өΦh�Ӧr�`�Ӫ��ܭ�Ӫ��r�š^�C

2.         ��_�C���O�D�k�r�Ŭ������r�`[Ķ�`//�C�ӫD�k�r���ഫ��UTF-8�榡�Z�A���@�өΦh���O���������r�`]�A����URI��q�ާ@���復�i����q�]�]�N�O���A�ഫ��%HH�Φ��A�o��HH�O�r�`�Ȫ��Q���i��O�k�^�C

3.         �γ̲ת��r�ŧǦC�Ӵ�����Ӫ��r�šC

 

4.        �۹�URI���ѪR�]Resolving Relative URIs�^

4.1.         �ORFC 2396�����t�]Relation to RFC 2396�^

RFC 2396 [IETF RFC 2396]�W�w�F�O�J�b���ɤ������URI�H���]base URI information�^[Ķ�`//�`�N���URI�H���O���URI���ϧO�C���URI�H�������Oxml:base�ݩʴ��Ѫ��H���A�Ӱ��URI�O���uRFC 2396�����W�h�p��o�쪺URI�C���URI�@�w�O����URI�A��xml:base�ݩʪ��ȫh�i��O�۹�URI�]�i��O����URI�C]�C�̩w���URI���W�h���A�p�U�]�Hɬ���Ű��C�Ƨǡ^�G

1.        ���URI�b���ɤ��e���Q���w�C

2.        ���URI�O�ʸ˹��^�]�����A���ɡ^�����URI�C

3.        ���URI�O������e���^��URI�C

4.        ���URI�Ѩ��^�����γ��X�w�q�C

�`�N:

�b�W�z�ĤG�I�M�ĤT�I���A�N�y�����^�]entity�^���S��RFC 2396���ҨϥΪ����^�F�Ӧb�����ɪ���E�����A�N�y�����^������XML�������^�C

�@

�����ɸԲӻ����F�N�W�z�Ĥ@���W�h�Τ_�bXML���ɤ��O�J���URI�H�����Ӹ`�C

�@

4.2.         ���URI�H�����ɫס]Granularity of base URI information�^

�bXML���ɤ��A�۹�URI���ѪR�`�O�۹�_�����B���ɹ��^�Υ~�����^���C��_��Ӳɫס]��p�G�ݩʡB�r�ũι��^�^�W�����URI�H���A�h�S���W�w�C��_�������^�]�L�׬O�b�����l�����n���٬O�b�~��DTD���n���^�M�~�����^�����W�ߤ奻�]�Y���Q���󤸯��]�t���奻�^�A���̪����URI�O���������^�ޥΩҨ㦳�����URI�O�@�˪��C

�@

���ɹ��^�]�Υ~�����^�^�����URI�O���uRFC 2396�����W�h���̩w���A�Y���ɹ��^�]�Υ~�����^�^�����URI�N�O�Q�Ψ���o�Ӥ��ɹ��^�]�Υ~�����^�^��URI�C

�@

�Y�Ө��^���������URI�O�G

�@

1.        �ѸӤ�����xml:base�ݩʫ��w���C�p�G�Ӥ����S��xml:base�ݩʪ��ܡA�h�O

2.        �Ӥ������b���ɹ��^[Ķ�`//�����^���G�r�O�ѷ�2002�~10��21��o�����ɻ~�K�[�W�h���C] �]�Υ~�����^�^�����������������URI�C�p�G���s�b�o�˪����������ܡA�h�O

3.        �]�t�Ӥ��������ɹ��^�Υ~�����^�����URI�C

 

4.3.         URI�O���URI���ǰt�]Matching URIs with base URIs�^

��_XML���ɤ��Y�Ө��^���۹�URI�A���u�U�����W�h�̩w�������URI�G

1.        ��_�奻���e�]text content�^����URI�ޥΡA����URI�O�]�t�Ӥ奻�����������URI�C

2.        ��_xml:base�ݩʤ���URI�ޥΡA����URI�O�֦���xml:base�ݩʪ������b���ɹ��^�]�Υ~�����^�^�����������������URI�C�p�G���s�b�o�˪��������A�h����URI�O�]�t�Ӥ��������ɹ��^�]�Υ~�����^�^�����URI�C

3.        ��_��L�ݩʤ���URI�ޥΡ]�]�A�ʬ٪��ݩʭȡ^�A����URI�O�֦����ݩʪ����������URI�C

4.        ��_PI����URI�ޥΡA����URI�O��PI�b���ɹ��^�]�Υ~�����^�^�����������������URI�C�p�G���s�b�o�˪��������A�h����URI�O�]�t��PI�����ɹ��^�]�Υ~�����^�^�����URI�C

�@

�`�N�G[Ķ�`//�U���o�q��r���^������Ϊ��O2003�~1��23��o�����ץ�����]

�p�Gxml:base�ݩʪ��ȨS���bXML���ɹ��^���Q�������X�A�ӬO�q�L�ʬ��ݩʵ��X���ܡA�h�i��|�ɭP�@�ǷN�~�����G�C��p�A���ǰ�_�L�����XML�B�z���]non-validating XML processor�^���n��i�ण�|Ū���~�����^�����ʬ��ݩ��n���C�q�L�~�����]��pXML Schema�^��{�ݩʪ��ʬ٤]�i��|�ɭP�@�ǷN�~�����G�F�Y�����ΨϥΪ��O�@�Ӧ�������B�z���]validating processor�^�A�b�H�����]infoset�^���Ыؤ��Z�A�W�[�ʬ��ݩʷ|�ɭPxml:base�ݩ��O�H���������ݩ�[base URI]���@�P�C�Ѥ_�o�ǭ�]�Axml:base�ݩʪ������������bXML���ɹ�Ҥ����X�A�Ϊ̳q�L�bDTD�����l�����n�����ʬ��ݩʨӵ��X�C

 

5.        �@�P�ʡ]Conformance�^

�p�G�@�����ή��u���W�S�ӭp����URI�A�h���ŦXXML Base�C

A.       �ѦҸ��

IETF RFC 2119

RFC 2119: Key words for use in RFCs to Indicate Requirement Levels. Internet Engineering Task Force, 1997. (See http://www.ietf.org/rfc/rfc2119.txt)

IETF RFC 2279

RFC 2279: UTF-8, a transformation format of ISO 10646. Internet Engineering Task Force, 1998.

(See http://www.ietf.org/rfc/rfc2279.txt)

IETF RFC 2396 [Ķ�`//����\Ū]

RFC 2396: Uniform Resource Identifiers. Internet Engineering Task Force, 1995.

(See http://www.ietf.org/rfc/rfc2396.txt)

IETF RFC 2732

RFC 2732: Format for Literal IPv6 Addresses in URL's. Internet Engineering Task Force, 1999.

(See http://www.ietf.org/rfc/rfc2732.txt)

Unicode

The Unicode Standard. The Unicode Consortium.

(See http://www.unicode.org/unicode/standard/standard.html)

XML

Tim Bray, Jean Paoli, C.M. Sperberg-McQueen, and Eve Maler, editors. Extensible Markup Language (XML) 1.0 (Second Edition). World Wide Web Consortium, 2000.

(See http://www.w3.org/TR/2000/REC-xml-20001006)

XML Names

Tim Bray, Dave Hollander, and Andrew Layman, editors. Namespaces in XML. Textuality, Hewlett-Packard, and Microsoft. World Wide Web Consortium, 1999.

(See http://www.w3.org/TR/1999/REC-xml-names-19990114/)

B.       �ѦҸ�ơ]�D�W�S�ʪ��^

HTML 4.01

Dave Raggett, Arnaud Le Hors, Ian Jacobs, editors. HTML 4.01 Specification. World Wide Web Consortium, 1999. (See http://www.w3.org/TR/1999/REC-html401-19991224/.)

XLink

Steve DeRose, Eve Maler, David Orchard, and Ben Trafford, editors. XML Linking Language (XLink). World Wide Web Consortium, 2000.

(See http://www.w3.org/TR/2001/REC-xlink-20010627/.)

XML Datatypes

Paul V. Biron, Ashok Malhotra, editors. XML Schema Part 2: Datatypes. World Wide Web Consortium Working Draft. (See http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/.)

XHTML

Steven Pemberton, et al. XHTML(TM) 1.0: The Extensible HyperText Markup Language. World Wide Web Consortium, 2000. (See http://www.w3.org/TR/2000/REC-xhtml1-20000126/.)

XML Infoset

John Cowan and Richard Tobin, editors. XML Information Set. World Wide Web Consortium, 1999. (See http://www.w3.org/TR/2001/CR-xml-infoset-20010514/)

XPath

James Clark and Steven DeRose, editors. XML Path Language World Wide Web Consortium, 1999. (See http://www.w3.org/TR/1999/REC-xpath-19991116.)

XSLT

James Clark, editor. XSL Transformations. World Wide Web Consortium, 1999.

(See http://www.w3.org/TR/1999/REC-xslt-19991116.)

C.      ���L�Э㪺�v�T�]�D�W�S�ʪ��^

XML Base�w�q�F�@���bXML���ɤ��O�J���URI�H�������C��XML Base�S���w�q�@���ѧO���Ǥ��e���ݩʭȥi��t��URI�����C�u�����o�ǵ��׫����F�y�q���W�S�M���Τ~���D�o�ǫH���C

�@

XML Base���ؼЬO�G���Ӫ��W�S�M��XML���ת��׭q�ѧO�XXML���ɤ������dz����i�Q�ݧ@�OURI�A�}�糧�W�S�i��W�S�ʤޥΡA�H�̫O�۹�URI�b���XML���ɤ��Q�@�P�a�B�z�C

�@

XML Base���L�Э�]�쥻���ɵo�����鬰��^���v�T�p�U�G

l          XML 1.0 [XML]��URI�ޥΧ@�����ѥ~�����^���t�μ��Ѳš]system identifier�^�C�Ѥ_�~�����^�n���X�{�b���ɤ����]document element�^���~���]DTD�������Υ~���l�����^�A�]���o�ǥ~�����^�n������URIs���bxml:base�ݩʭȪ��@�έS�򤧤��C

l          XML Infoset[XML Infoset]���U�����H�����]element information items�^�w�q�Fbase URI�ݩʡC���F�̩w�o���ݩʪ��ȡA�̷s������Infoset�W�S����FXML Base�C�ޥΤF�o��infoset�ݩʪ����f�B���ΩM�W�S�N�۰ʤ��XML Base�C

l          XML�R�W�Ŷ��]Namespaces in XML�^[XML Names]�ϥΤFURI�ޥΡC�b���e���������A�墨�dzQ�ΨӼ��ѩR�W�Ŷ���URI�ޥΪ��ѪR�����۹�_xml:base�w�q�����URI�CXML�R�W�Ŷ��W�S���S���A�Ψ��ǸѰ��ޥΡ]dereference�^�R�W�Ŷ�URI[Ķ�`//�Y�չϡ]��p�b�s�������^�X�ݩR�W�Ŷ�URI�C���_�Ѱ��ޥΡ]dereference�^�������A�аѨ�W3C�u�@���Architecture of the World Wide Web]�����h�B�z�C���i��|�W�w�ϥ�xml:base����o����URI�ҫ��V���귽�C

l          XPath [XPath]���u�ҫ��S���O�d���URI�H���A�]�S���O�d�~�����^����ɡC�]���A�ɺ޳o�ǥ~�����^��Q���̸ѪR�A����_�䤤���۹�URI�ޥΡ]�]�Axml:base�ݩʤ����۹�URI�ޥΡ^�AXPath�o�L�k�ѪR�C

l          XSLT[XSLT]��XPath���u�ҫ��]data model�^���X�i�W�w�F�n�Q�O�d�����URI�H���A���O�o�@�H�����w�q�ƥ��F��XML Base������C���Ӫ�����XSLT�]�\�Ʊ�n�D���XML Base�C

l          XML�Ҧ� �ĤG�����G���u�����]XML Schema Part 2: Datatypes�^[XML Datatypes]�w�q�F�@��uriReference²����u�����]primitive datatype�^�CXML���u�����W�S�]�\�Q�n�D�����ѧO�o�Ӽ��u�����}�ѪR�o��URI�����ΤF��XML Base�C

l          XLink[XLink]�W�S�ݭn��XML Base������C

l          XHTML[XHTML]���ϥΪ�URI�ޥζW�X�FXLink�ҳW�w���S��C���Υi��|���uXML Base�w�q�����URI�ӸѪR�o��URI�ޥΡCXHTML�W�S�]�\�Ʊ�y�z���̹�XML Base������ŧO�C

�@

�@

�@
All contents copyright ? Los Angeles Chinese Learning Center, unless otherwise noted. Website Hosting and Promotion  Cortiloss, Cortislim, Enzyte, Ogoplex, 5 HTP, Chitosan, Stacker 2, Stacker 3, Stamina, Zantrex