tyoshikawa1106のブログ

- Force.com Developer Blog -

SFDC:Visualforce開発とSVGのuse要素

Visualforce開発ではSVGのuse要素は利用できないみたいです。使おうとしたところ次のエラーメッセージが表示されました。

Error: The prefix "xlink" for attribute "xlink:href" associated with an element type "use" is not bound.

f:id:tyoshikawa1106:20150712000012p:plain

追記

利用する方法ありました。次の宣言を行えばいいみたいです。

<html xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">


f:id:tyoshikawa1106:20150827010135p:plain