J
johanneskrueger
Hello,
I'm currently using <xsl:copy-of select="document(...)/svg:svg"/> to
embed an SVG file into an XHTML file. I already defined the SVG
namespace and assigned svg as its prefix in my XSLT 1.0 sheet.
What commands instead of copy-of could I use in order to get the
prefix with every element from the external file, e.g. <svg:svg>,
<svg:line> etc. instead of just <svg> and <line>, as it is noted in
the external file?
I tried to create new elements and assign everything, but it didn't
work out so far.
Thank you for any helpful suggestion!
Regards,
Johannes
I'm currently using <xsl:copy-of select="document(...)/svg:svg"/> to
embed an SVG file into an XHTML file. I already defined the SVG
namespace and assigned svg as its prefix in my XSLT 1.0 sheet.
What commands instead of copy-of could I use in order to get the
prefix with every element from the external file, e.g. <svg:svg>,
<svg:line> etc. instead of just <svg> and <line>, as it is noted in
the external file?
I tried to create new elements and assign everything, but it didn't
work out so far.
Thank you for any helpful suggestion!
Regards,
Johannes