xlink Questions
2
Solved
Here is a codepen and at the bottom of this question is the actual code. Although the code works fine in Chrome, for some reason image elements in an svg element are not loading in Firefox. I've te...
Obscurity asked 19/1, 2019 at 0:43
1
Solved
I've an svg content that looks a bit like this:
<svg height="1000" preserveaspectratio="xMidYMid meet" style="width: 100%; height: 100%; transform: translate3d(0px, 0px,...
1
I am using the <use xlink:href> to reference my svg file.
It works fine on my local but throws an error (CORS) when I reference it from a CDN. It looks as though the xlink:href doesn't allow ...
Cropland asked 21/9, 2016 at 12:55
2
Solved
I have simple code that includes svg icon with <use> tag into web-component created with stencjiljs (tsx syntax). However, when I add xlink:href attribute to <use> tag I get error Ident...
Alcoholicity asked 18/4, 2018 at 6:56
3
Solved
Given:
<body>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<a xlink:href="url"></a>
</svg>
</body>
Is it possible to...
Emlen asked 12/4, 2014 at 18:17
3
Solved
Does anyone know how to select a XML element by xlink:href attribute with CSS?
See here for the usage, however it doesn't explain how to select it with CSS.
<book title="XQuery Kick Start">...
Rimbaud asked 22/2, 2014 at 6:32
1
For my use it would be convenient for me to have a list of SVG symbols centered on zero, making their placement with use easier. For example a symbol which is simply a circle would have its center ...
1
I'm trying to add an svg image with '.svg' extension to my chart (another svg image created with d3).
This is the code:
d3.select("#chart1 svg")
.append("svg:image")
.attr("xlink:href", "img/ic...
Electronic asked 5/3, 2013 at 16:29
1
Solved
I am dynamically creating SVG elements from JavaScript. It's working fine for visual objects like a rectangle, but I'm having trouble producing functioning xlinks. In the example below the first re...
Tally asked 2/10, 2013 at 8:1
1
Solved
I have a construction:
<div id="div">
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" id="svg">
<image x="2cm" y="2cm" width="5cm" height="5cm" id="img" xlink:href="pic.jpg"...
1
I have the following file, image.svg, along with a file bitmap.png in the same spot on a server:
<?xml version="1.0" ?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org...
2
Solved
I'm building an SVG document which contains various image tags. The xlink:href (source URL) attributes for the images contain query strings with ampersands. If I escape them as %26 or the ascii enc...
Rachelrachele asked 2/8, 2011 at 16:7
1
Solved
What I tried is this
<a xlink:target="http://ponyoverflow.com">
<text class="text" x="20" y="718" text-anchor="start">Mail Order Ponies</text>
</a>
and variations with h...
1
© 2022 - 2024 — McMap. All rights reserved.