[xsl] quoted string in select

Subject: [xsl] quoted string in select
From: Katta Rameswaram <rameswar@xxxxxxxxxxxxxxxx>
Date: Thu, 10 Oct 2002 09:31:36 +0530 (IST)
 
hai everyone,

   i am a new one to XSL. i am trying to give a quotes string in select=
in for-each tag. something like this

<xsl:for-each select="BankRec[AcctType='CD\'s and FD\'s']">

the XML is
<ListOfAccts>
<BankRec>
  <AcctType>CD's and FD's</AcctType>
  <AcctNo>1100220033<AcctNo>
</BankRec>
<BankRec>
  <AcctType>DDA and Current</AcctType>
  <AcctNo>1100220034<AcctNo>
</BankRec>
<BankRec>
  <AcctType>CD's and FD's</AcctType>
  <AcctNo>1100220035<AcctNo>
</BankRec>

But the transformer is giveing me exception as illegal quoted string
literal. any solutions....

with regards,
Rameswaram



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread