Subject: [xsl] String manipulations with quotes From: Betty Harvey <harvey@xxxxxxxxxx> Date: Thu, 10 Apr 2003 17:52:38 -0400 (EDT) |
I am trying to grab text within quotes. XSLT is not being cooperative. Does anyone have any tricks to grab the quote. I would expect it would see the double quote in the single quote as 'text' and not a delimiter. However, it sees it as a closing quote. I tried the 'old vi backslash trick'but it didn't work. If it helps, here is my 'snippet'. <xsl:variable name="name1"> <xsl:value-of select="substring-after ($definition, '"')"/> </xsl:variable> <xsl:variable name="name2"> <xsl:value-of select="substring-before ($name1, '"')"/> </xsl:variable> TIA. Betty /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ Betty Harvey | Phone: 410-787-9200 FAX: 9830 Electronic Commerce Connection, Inc. | harvey@xxxxxxxxxx | Washington,DC XML Users Grp URL: http://www.eccnet.com | http://www.eccnet.com/xmlug /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/ -- XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] An eseay question., Rick Taylor | Thread | Re: [xsl] String manipulations with, J.Pietschmann |
Re: [xsl] How to render TEI <div*>s, James J. Ramsey | Date | RE: [xsl] String manipulations with, David Christiansen |
Month |