I'm probably being dense but I can't work out how to add the second
line:

<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="style.xsl"?>
<catalogue>
...
...
</catalogue>


I can get the first line using:

saveXML(xml$value(), prefix='<?xml version="1.0"?>',
encoding="ISO-8859-1")

Any ideas?

Thanks.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to