RE: [xsl] Detecting presence of attributes

Subject: RE: [xsl] Detecting presence of attributes
From: DPawson@xxxxxxxxxxx
Date: Tue, 6 Feb 2001 12:15:31 -0000
> >> It has the advantage that you can deal with bad values (e.g. if
> >> 'blort' wasn't actually allowed) within the stylesheet - if that's
> >> an advantage.
> >
> > Fortunately the whole point of making them entities is so that only
> > the ones declared in the DTD can be used. This is to prevent J.
> > Random Student running amok with unnecessary stuff.

I wonder if this is a job for Schematron Peter?

run the source xml through the generated Schematron stylesheet,
and it will tell you where its 'wrong', going further than a parser.
Even point out the line numbers!


 XSL-List info and archive:

Current Thread