词条 | XLink |
释义 |
The XLink specificationXLink 1.1 is a W3C recommendation[2] and the successor of XLink 1.0, which was also a W3C recommendation.[3] [4]Linking with XLinkXLink defines a set of attributes that may be added to elements of other XML namespaces. XLink provides two kinds of hyperlinking for use in XML documents. Simple links connect only two resources, similar to HTML links. Extended links can link an arbitrary number of resources. Simple linksA simple link creates a unidirectional hyperlink from one element to another via a URI. Example: Extended linksExtended links allow multiple resources, either remote or local, to be connected by multiple arcs. An arc is information about the origin, destination and behavior of a link between two resources. The origin and destination resources are defined by labels. By using one or more arcs, an extended link can achieve specific sets of connections between multiple resources. For example, if all resources in an extended link were given the label A, then an arc within that link declaring Extended links do not need to be contained in the same document as the elements they link to. This makes it possible to associate metadata or other supplementary information with resources without editing those resources. XLink also supports richer information about link types and the roles of each resource in an arc. Support for XLinkWithin other specificationsSVGHypertext links in Scalable Vector Graphics can currently be defined as simple XLinks.[5] The working draft of SVG 1.2 proposes using extended XLinks as well.[6] In the SVG 2 specification, XLink was deprecated in favor of non-namespaced equivalent attributes.[7] RDDLThe Resource Directory Description Language, an extension to XHTML Basic that is used to describe XML Namespaces, uses simple XLinks.[8] XBRLThe eXtensible Business Reporting Language has used simple and extended XLinks since the XBRL 2.0 specification was published in 2001.[9] Most large XBRL taxonomies contain extensive linkbases. As of 2009, XBRL is probably the most extensive use of XLink in production systems. METSThe Metadata Encoding and Transmission Standard, supported and maintained by the Library of Congress for describing file aggregations, uses simple XLinks in pointing to file locations as well as linkbases which describe relationships among external files (though these restrict GMLGeography Markup Language uses simple XLinks to implement referencing. In particular, GML uses xlink:href to support a graph model for geospatial information. GML's graph model is essentially the same as RDF, on which early versions of GML were based. The GML specification constrains the semantics of XLinks to be essentially the same as rdf:resource (from the RDF/XML syntax) i.e. the referent can logically be placed in-line and the data is still valid. ImplementationsMozilla FirefoxMozilla Firefox has supported simple XLinks since version 1.5, but only for SVG and MathML documents. It is unsupported in other XML documents.[12] Only thexlink:href , xlink:show , xlink:target and xlink:title attributes are supported.[13]Prince XMLPrince XML supports simple XLinks.[14]References1. ^{{citation |url=http://www.w3.org/TR/NOTE-xlink-req/ |title=XML XLink Requirements |publisher=W3C |date=1999-02-24 |last=DeRose |first=Steven J.}} 2. ^{{citation |url=http://www.w3.org/TR/xlink11/ |publisher=W3C |title=XML Linking Language (XLink) Version 1.1 |date=May 6, 2010}} 3. ^{{citation |url=http://www.w3.org/TR/xlink/ |publisher=W3C |title=XML Linking Language (XLink) Version 1.0 |date=June 8, 2006}} 4. ^{{cite web|url=http://www.dblab.ntua.gr/~bikakis/XML%20and%20Semantic%20Web%20W3C%20Standards%20Timeline-History.pdf |title=XML and Semantic Web W3C Standards Timeline}} 5. ^{{citation |url=http://www.w3.org/TR/SVG11/linking.html#hyperlinking-mod |publisher=W3C |title=Scalable Vector Graphics (SVG) 1.1 Specification: Linking |date=June 8, 2006}} 6. ^{{citation |url=http://www.w3.org/TR/2004/WD-SVG12-20041027/extendedlinks.html |publisher=W3C |title=Extended Links (SVG 1.2) |date=June 8, 2006}} 7. ^{{Cite web|url=https://www.w3.org/TR/SVG2/linking.html#XLinkRefAttrs|title=Linking — SVG 2|website=www.w3.org|access-date=2016-09-18}} 8. ^{{citation |url=http://www.rddl.org/#attributes |title=Resource Directory Description Language (RDDL) |first1=Jonathan |last1=Borden |first2=Tim |last2=Bray |date=2002-02-18 |publisher=The Open Healthcare Group, Antarcti.ca Systems}} 9. ^{{citation |url=http://www.xbrl.org/Specification/XBRL-2.1/REC-2003-12-31/XBRL-2.1-REC-2003-12-31+corrected-errata-2013-02-20.html#_3.5 |title=Extensible Business Reporting Language (XBRL) 2.1 - XLink in XBRL |publisher=XBRL International Inc.}} 10. ^{{citation |url=https://www.loc.gov/standards/mets/METSOverview.v2.html |title=METS: An Overview & Tutorial |publisher=Library of Congress}} 11. ^{{citation |url=https://www.loc.gov/standards/mets/METS%20Documentation%20final%20070930%20msw.pdf |title=Metadata Encoding and Transmission Standard: Primer and Reference Manual |publisher=Library of Congress |format=PDF |date=September 2007 |pages=133}} 12. ^{{citation |url=https://developer.mozilla.org/en/XLink |title=XLink - MDC |publisher=Mozilla}} 13. ^{{citation |url=https://developer.mozilla.org/en/SVG_in_Firefox |title=SVG in Firefox |publisher=Mozilla}} 14. ^{{citation |url=http://www.princexml.com/doc/7.0/xml-input/ |title=Prince: XML Input |publisher=YesLogic}} External links
4 : Markup languages|XML-based standards|World Wide Web Consortium standards|Hypertext |
随便看 |
|
开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。