Unwanted text in XSL output
Posted: Fri Feb 19, 2010 2:39 pm
It seems that when I start feeling confident in my XSL coding abilities I stumble on a "simple" problem like this. I am trying to generate an SVG file from an XML source file and everything looks great except I get extra text at the top of the output file...
<?xml version="1.0" encoding="UTF-8"?> Tartrazin, 1.1944mg/100mlNaNKExported PE IR WinLab Data File<!DOCTYPE svg
PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010 ... /svg10.dtd">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 600">
The source and xsl files are in the folder linked below. Can anyone advise me what I am doing wrong? (using Saxon-HE 9.2.0.3 in oXygen 11.1)
http://chalk.coas.unf.edu/ftp/
Stuart Chalk
<?xml version="1.0" encoding="UTF-8"?> Tartrazin, 1.1944mg/100mlNaNKExported PE IR WinLab Data File<!DOCTYPE svg
PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010 ... /svg10.dtd">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 600">
The source and xsl files are in the folder linked below. Can anyone advise me what I am doing wrong? (using Saxon-HE 9.2.0.3 in oXygen 11.1)
http://chalk.coas.unf.edu/ftp/
Stuart Chalk