Jump to content
  • 0

XML тэги в svg файле


Kosty@n
 Share

Question

Здравствуйте уважаемые посетители форума. Нужна Ваша помощь.

Есть SVG файл в котором находятся как xml так и svg тэги.

Задача - отобразить в браузере тэг <g>, который находится внутри xml тэга <XXX:Signal>.

Данная задача вообще решаема?


<svg width="600px" height="400px" viewBox="0 0 600 400" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
<YYY>
<XXX:Signal>
<link linkFrom='LINK_SIGNAL_TO'/>
<g class='xxx:signal-class' transform="translate(270, 300)">
<circle fill='#00bf00' stroke='#bfbfbf' stroke-width='1' cx="32.00" r="9.00" cy="8.00"></circle>
</g>
</XXX:Signal>
</YYY>
</svg>

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Убрать лишнее:


<svg width="600px" height="400px" viewBox="0 0 600 400" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
<g transform="translate(270, 300)">
<circle fill='#00bf00' stroke='#bfbfbf' stroke-width='1' cx="32.00" r="9.00" cy="8.00"></circle>
</g>
</svg>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy