CARVIEW |
Select Language
HTTP/2 200
date: Tue, 15 Jul 2025 06:27:37 GMT
content-type: text/html; charset=utf-8
content-location: xlink11-implementation.html
vary: negotiate,Accept-Encoding
tcn: choice
last-modified: Wed, 21 Apr 2010 16:50:16 GMT
cache-control: max-age=21600
expires: Tue, 15 Jul 2025 12:27:37 GMT
x-backend: www-mirrors
x-request-id: 95f731e9295bc177
strict-transport-security: max-age=15552000; includeSubdomains; preload
content-security-policy: frame-ancestors 'self' https://cms.w3.org/ https://cms-dev.w3.org/; upgrade-insecure-requests
cf-cache-status: BYPASS
set-cookie: __cf_bm=8tDZkhhshwi1s8BvOUUsDntgxopzboPRonDj33Ei6Vs-1752560857-1.0.1.1-eY48VZg1bBfgBQX2RpN8QhJ85NJli1U8jLUgIRw4jCE9B1hUFwFMM7F5pTvNCPdA.VzVMljLuLhQsphgdN6JzRHp7HhytVXGWsVwltd4x5c; path=/; expires=Tue, 15-Jul-25 06:57:37 GMT; domain=.w3.org; HttpOnly; Secure; SameSite=None
server: cloudflare
cf-ray: 95f731e9295bc177-BLR
content-encoding: gzip
alt-svc: h3=":443"; ma=86400
Implementation Report for XLink 1.1
Implementation Report for XLink 1.1
XML Core Working Group
9 February 2010
Abstract
This document lists preliminary implementation feedback about XLink 1.1 implementations known by the XML Core Working Group at this time.
All XLink 1.0 documents are conforming XLink 1.1 documents
All existing documents that use XLink 1.0 (RDDL, XBRL, METS, …) are also conforming XLink 1.1 documents.
All XLink 1.1 documents can be trivially transformed to XLink 1.0 documents
The following XSLT stylesheet transforms any XLink 1.1 conforming document into an XLink 1.0 conforming document.
<?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet xmlns:xsl="https://www.w3.org/1999/XSL/Transform" xmlns:xlink="https://www.w3.org/1999/xlink" version="1.0"> <xsl:preserve-space elements="*"/> <xsl:template match="/"> <xsl:apply-templates/> </xsl:template> <xsl:template match="*[@xlink:href]"> <xsl:copy> <xsl:copy-of select="@*"/> <xsl:if test="not(@xlink:type)"> <xsl:attribute name="xlink:type">simple</xsl:attribute> </xsl:if> <xsl:apply-templates/> </xsl:copy> </xsl:template> <xsl:template match="*"> <xsl:copy> <xsl:copy-of select="@*"/> <xsl:apply-templates/> </xsl:copy> </xsl:template> <xsl:template match="comment()|processing-instruction()|text()"> <xsl:copy/> </xsl:template> </xsl:stylesheet>
DocBook
The DocBook Standard and its implementations already default the xlink:type attribute to “simple”.
SVG
The SVG Recommendation and its implementations already default the xlink:type attribute to “simple” as discussed in its generic description of xlink:type attribute.
Test Suite
There is also an XLink 1.1 Test Collection which contains additional examples.