xsl-list
[Top] [All Lists]

quoted string in select

2002-10-09 21:01:36
 
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



<Prev in Thread] Current Thread [Next in Thread>