The XSLT 1.0 spec is quite explicit on the point: "The html output method should not escape < values occurring in attribute values". Why do you want it escaped?

Michael Kay
Software AG

-----Original Message-----
From: [] On Behalf Of Gabriel McGoldrick
Sent: 28 June 2002 14:37
Subject: [saxon] Problem with entities in attributes

    I have attribute content that contains entities....
     <xsl:element name="meta">
      <xsl:attribute name="name">
      <xsl:attribute name="content">
       <xsl:text>blah &lt; &gt;blah </xsl:text>
The output is...
<meta name="Figures" content="blah < &gt;blah ">
Is there some way I can avoid the '<' character being output in the attribute value?
Saxon Version 6.5.2, Windows 2000
Gabriel McGoldrick.