Subject: Re: [xsl] String manipulations with quotes From: Betty Harvey <harvey@xxxxxxxxxx> Date: Thu, 10 Apr 2003 18:35:46 -0400 (EDT) |
Thanks! That worked. Sorry David - I misunderstood what you were telling me to do. Thanks everyone for your help. As always you helped! Betty On Fri, 11 Apr 2003, J.Pietschmann wrote: > Betty Harvey wrote: > > 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. > > There is no backslash escaping in XML/XPath. > Try > <xsl:variable name="name1"> > <xsl:value-of select="substring-after ($definition, '"')"/> > </xsl:variable> > > BTW you could write this as > <xsl:variable name="name1" select="substring-after($definition, '"')"/> > > > > J.Pietschmann > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > -- XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] String manipulations with, J.Pietschmann | Thread | Re: [xsl] String manipulations with, Wendell Piez |
RE: [xsl] Replacing leading zero wi, Michael Kay | Date | RE: [xsl] How to use an xml Element, Michael Kay |
Month |