Archive of UserLand's first discussion group, started October 5, 1998.
validator1.countTheAngleBrackets
Author: Dave Winer Posted: 6/1/2000; 12:46:27 PM Topic: scriptingNews outline for 6/1/2000 Msg #: 17524 (In response to 17523) Prev/Next: 17523 / 17525
OK, so here's a first-cut at how the validator for this might work.validator1.countTheAngleBrackets (string) returns string
This handler takes a single parameter, a string, that contains any number of left and right
. Your handler must return a string, a sentence in exactly this form: There are 12 s. To validate, the numbers must be correct and the angle brackets correctly encoded in the response, according to the XML 1.0 specification.
This page was archived on 6/13/2001; 4:55:17 PM.
© Copyright 1998-2001 UserLand Software, Inc.