<html>
<head>
</head>
<body class='hmmessage'><div dir='ltr'>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
<div dir="ltr">
<meta name="Generator" content="Microsoft SafeHTML">
<style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}
</style>Hello everyone,<br> <br>I'm trying to use s-xml in my Lisp program (through quicklisp), but I'm running into two problems:<br> <br>1) When I print xml like this:<br>(print-xml '(:p "Interesting stuff at " ((:a :href "<a href="http://slashdot.org" target="_blank">http://slashdot.org</a>") "SlashDot")))<br><br>I get:<br><p>Interesting stuff at <a href="<a target="_blank">http://slashdot.org">SlashDot</a></p</a>><br>#\><br> <br>Notice the "#/>" at the end, instead of "nil". This gives me trouble when trying to transform this back using <em>parse-xml</em>. Since it gives me this with the examplecode (from <a href="http://common-lisp.net/project/s-xml/" target="_blank">http://common-lisp.net/project/s-xml/</a>), I guess it is something within s-xml (maybe quicklisps version?). Could you perhaps help me with this?<br> <br> <br>2) The second problem is that s-xml translates ampersands automatically into "&". However I use custom entities in my xml and so these get translated as follows:<br>"&custom;test" >> "&custom;test"<br>How can I circumvent this and make it output it as "&custom;test"? Can I escape the ampersand maybe?<br> <br><br>Regards,<br> <br>Noldus<br> <br></div>
</div></body>
</html>