xsl-list
[Top] [All Lists]

Re: What effect does DOCTYPE have

2006-01-31 07:03:39
Thanks for the help. I removed the DOCTYPE declaration and still received the out of memory error. I discovered the problem, although I can't find it documented anywhere. It seems that when you create variables containing strings, you have to use two sets of quotes around them. For example,

<xsl:variable name="find" select="hide"/>
<xsl:variable name="replace" select="show"/>

gives me the out of memory errors. But when I use this

<xsl:variable name="find" select="'hide'"/>
<xsl:variable name="replace" select="'show'"/>

the stylesheet works fine. Thanks.

Rick


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



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