[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: using traslate function to replace strings
I think you have completely misunderstood what the translate function does. Take a look at the FAQ under "replace". Michael Kay > -----Original Message----- > From: kotes mog [mailto:kotesm@xxxxxxxxx] > Sent: 06 August 2004 22:36 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: using traslate function to replace strings > > Hi, > > I am trying to use translate to change > > "${VITRIA}" to "dependency". The following code is > changing "${VITRIA}" to "dependenc". Please let me > know if there is any better way to change the strings > > <xsl:attribute name="VALUE"> > <xsl:value-of > select="translate(@VALUE,'${VITRIA}','dependency')"/> > </xsl:attribute> > > thanks for the help > > --kotes > > > > > __________________________________ > Do you Yahoo!? > New and Improved Yahoo! Mail - Send 10MB messages! > http://promotions.yahoo.com/new_mail
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|