Closed zme1 closed 6 years ago
@djbpitt @ebeshero I changed all the namespace declarations so that I'm just generating SVG on it's own, and that fixed it...
@zme1 Great! I am glad you remembered the old adage, “it’s always a namespace issue”. But you can output SVG within HTML, and I think you just need to include more namespaces for the output up in the <xsl:stylesheet>
element, and they need to be prefixed, just as you see the xmlns:xs
definition for XMLSchema included by default there . (I bet I can find an example lying around In our files somewhere...)
If you are pulling data from your TEI files, you will need to set an xpath-default-namespace to the TEI namespace.
I have no idea why my SVG is not rendering properly here. All I'm trying to do is make a normal x and y axis, but the program won't cooperate. My code is below:
The line does render, but it's only visible when I give the line a monstrously huge
stroke-width
value. I have not a clue why it's not cooperating with me... @djbpitt @ebeshero Am I missing something obvious here?