xsl-list
[Top] [All Lists]

Re: [xsl] Help namespacing an attribute

2017-09-20 12:37:51
On Wed, 2017-09-20 at 16:57 +0000, Bridger Dyson-Smith
bdysonsmith(_at_)gmail(_dot_)com wrote:

I'm looking for

<accessCondition type="use and reproduction"
xlink:href="http://some.uri"/>;

Somewhere in your output you need to define the association between the
xlink prefix and its URI, so you need
  xmlns:xlink="http://www.w3.org/1999/xlink";

This can be on the element itself (which is what you're getting) or on
any ancestor element, e.g. the top-level element of the document.

Liam


-- 
Liam Quin, W3C, http://www.w3.org/People/Quin/
Staff contact for Verifiable Claims WG, SVG WG, XQuery WG
XML at W3C

Web slave for http://www.fromoldbooks.org/
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

<Prev in Thread] Current Thread [Next in Thread>