Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

178
Visualizações
Is there any way to convert svg url to <svg> tag in javascript?

I’ve been looking for the solution to convert or extract the svg from a url link svg file to html as original from the link.

e.g.

https://server/soccerball.svg (image url from server that has svg components inside with its paths etc.)

I would like to get the element from inside the link following with its paths and attributes on every elements from the link above in JavaScript. It can be in a form of actual element/string it wont matter.

For example from the link above converted to:

<svg attr…>…

Thanks in advance!

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda