XSL escape character

r3a1's picture

He has: 28 posts

Joined: Aug 2005

I have XSL file that is taking in XML and I'm having hopes of outputting as SVG. The problem is that I need some type of escape character so that the SVG code doesn't get confused in the XSL code. ugh. I have been looking online and w3schools seems to be a bit to basic, while others don't seem to address the problem I'm looking for. I'm sure such an animal exist to escape out of the XSL code, I just don't know the verbage to reference it.

ps. For those interested it is creating a graph for testing data ran on a research project.
____________________________________________________________

<?xml version="1.0" encoding="ISO-8859-1"?>

<------- **** escape markup needed here! ****
<?xml version="1.0" standalone="no"?>

<------- **** escape markup needed here! ****
"
y= ""
width="300"
height= " "
style="
fill:rgb(0,0,255);
stroke-width:1;
stroke:rgb(0,0,0)"/>

r3a1's picture

He has: 28 posts

Joined: Aug 2005

Well I got it figured out ... though I'm still very new to this technology. I'm going to post my solution to this with the hopes that it might help someone else out.
__________________________________________________________________

<?xml version="1.0" encoding="UTF-8"?>

Output of Test Results:

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.