[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] xml data in a param?


Subject: Re: [xsl] xml data in a param?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 1 May 2008 22:08:48 +0100

an xslt stylesheet has to be well formed XML, otherwise it will be
rejected by the XML parser before it is ever passed to the XSLT engine.

XML does not allow the < character in attributes. It does not allow
<?xml _anywhere_ except the first 5 characters in the file.

Since you are using xlst2 you can use

<xsl:param name="sideIDString">
<favs>
<site....
</favs>
</xsl:param>



David


Current Thread
Keywords