Re: [xsl] Parameters query

Subject: Re: [xsl] Parameters query
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Fri, 26 Sep 2003 22:21:15 +0200
David Pratt wrote:
1) How large a value can you pass into a parameter value? For example,
could it be a 50K block of text and not kill the processor.

Just try it. There are no general limits, except of course available memory.

2) If you were going to pass in certain types of text, I assume you
would have to use a method for escaping quotes, etc.

In general whatever you pass is interpreted as text, the same way a text node is interpreted in the XML input (in the sense of "a text node in a DOM"). No quoting necessary. Some processors allow you to pass other things than strings, for example DOM trees. This is, however, highly processor specific. If you mean by "certain types of text" XML, well, it is just treated as text and not parsed. Therefore, again, no quoting necessary.

J.Pietschmann


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread