This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
qname + uri
- To: xsl-list at lists dot mulberrytech dot com
- Subject: [xsl] qname + uri
- From: Dave Pawson <daveP at dpawson dot freeserve dot co dot uk>
- Date: Tue, 02 Jan 2001 18:18:05 +0000
- Reply-To: xsl-list at lists dot mulberrytech dot com
In a testing application I'm writing, I have a need to
1.validate a given ID value as being a valid qname.
I had hoped that I could do a quick excursion to java and
use the stuff that saxon/xt use, but they appear to need objects
rather than strings. Is it a viable option? Given a large file,
it would certainly be quicker than a recursive 'contains()' check.
2. I also need to validate a uri + fragment as being valid.
Guessing its going to be more tricky than at first appears,
is this possible by the same approach please?
Any assistance from those more familiar with the java interface than
I would be appreciated.
Ideally a single string parameter, with a boolen return value.
Can it be done?
TIA, DaveP
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list