[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Help namespacing an attribute

Subject: Re: Help namespacing an attribute
From: "Bridger Dyson-Smith bdysonsmith@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 20 Sep 2017 17:42:45 -0000
Re:  Help namespacing an attribute
Hi Liam --

Thanks for the response!

On Wed, Sep 20, 2017 at 1:37 PM, Liam R. E. Quin liam@xxxxxx <
xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:

> On Wed, 2017-09-20 at 16:57 +0000, Bridger Dyson-Smith
> bdysonsmith@xxxxxxxxx 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.
>
> As I mentioned to Ken, I've done this on both the test transform and the
'real world' transform but the difference in serialization behavior is what
prompted the question.
Is there anything else I could try with this? Am I adding the xmlns:xlink
declaration on the wrong document element?

Liam
>
> As always, thanks for the help!
Bridger

PS I even had my shoes off for this one -- it didn't help :/

>
> --
> 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/

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.