Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is it possible to validate text in xsl

Status
Not open for further replies.

xwb

Programmer
Jul 11, 2002
6,828
GB
I'm only about 20% on XSD/XSL stuff. I have an xs:string of up to 250 characters that is of the format

something#something#something

something is variable length and there are # signs in between the somethings. At the moment, I'm extracting this string and validating it in C++ on the server but what I'd like to do is to validate it at the client end using xsd. Is this possible?

Yes or no would suffice - if it is yes, I'll read the rest of the book and try to work out how to do it. A well thumbed 500 pg book on XML isn't exactly easy to read.
 
Found it: it is xs:pattern with a weird syntax regular expression.

Good way to force yourself to read a book.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top