xsl-list
[Top] [All Lists]

Re: Re: [xsl] Thought i knew this but i guess not

2011-02-22 16:01:57
On Tue, Feb 22, 2011 at 4:55 PM,  <russurquhart1(_at_)verizon(_dot_)net> wrote:

The filter value can be of a form filter="filter1,filter10, filter17, 
filter23" something like that, so i need to do a little more testing.


That's pretty nasty.  I'd suggest you use semantic names for your
filters, and constrain them somewhat (no spaces, alphanumerics,
dashes, and underscores only) like "print-version", "mobile-version",
"for-margaret" -- that kind of thing.  You should also constrain the
delimiters -- just use whitespace for delimiters, not commas.  So, for
example:
  filter="print-version for-margaret"

--~------------------------------------------------------------------
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>
--~--