Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

< character 1

Status
Not open for further replies.

birney29

Programmer
Oct 11, 2001
140
GB
within my xsl, i have some javaScript. part of this javaScript uses a < character, however the xsl does not allow this and says... &quot;the file is not well formed&quot;, invalid character ect. any way round this?

thanks Kenneth Birney
User Interface Programmer
Scottish Police
 
Hi,

I the < is within the Javascript itself why not place the javascript within Cdata tags

Code:
<![CDATA[ <script language=Javascript>.....</script>]]>

or if its within the xsl itself then use the string literal

Code:
<xsl:value-of select=&quot;Column[@id < 'A']&quot;></xsl:value-of>

Hope this helps

B-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top