When the xlink:href is clicked, it links to the correct page but it ignores the code that it was supposed to run, and the css styling of that page.
Background Info: Coding on a mobile app with ionic framework.
Codes to display SVG on HTML Page.
<object id="svgImage" type="image/svg+xml" data="img/Floor Plan SVG.svg">
Your browser does not support SVG
</object>
Codes in .svg file
<a
xlink:href="../templates/QRCode.html"
transform= (removed to ease viewing)
id= (removed to ease viewing)
target="_blank">
<path
style= (removed to ease viewing)
d= (removed to ease viewing)
id= (removed to ease viewing)
inkscape:connector-curvature="0" />
</a>
<a
transform= (removed to ease viewing)
id= (removed to ease viewing)
target="_blank"
xlink:href="../templates/RoomInformation.html">
<path
style= (removed to ease viewing)
d= (removed to ease viewing)
id= (removed to ease viewing)
inkscape:connector-curvature="0" />
</a>