Lists Home |
Date Index |
> -----Original Message-----
> From: m batsis [mailto:firstname.lastname@example.org]
> Sent: Sunday, September 29, 2002 3:49 AM
> To: Thomas B. Passin; email@example.com
> > Ah, I see. For some reason I was thinking that the value of
> > declaration attributes also had to be an NCNAME. I don't
> know where I
> > got that idea but now I see it was wrong (maybe because
> IDREFs have to
> > be NCNAMES).
> I was thinking about that too, when noticing that xsl's
> exclude-result-prefixes attribute has the same type (NCNames).
> Why isn't there an anyURIs (derived by list from anyURI)?
A.) Because there was no xs:anyURI type when the XSLT 1.0 recommendation
and more importantly
B.) Prefixes are NCNames not namespace names.
On the other hand, if you are asking why XSLT decided to use prefixes
instead of namespaces (thus the attribute would have been called
exclude-result-namespaces) I assume they did this for brevity so users
don't have to create unweildy lists of namespaces.
PITHY WORDS OF WISDOM
Don't think of it as being outnumbered and surrounded, think of it as a
really low risk of ammunition wastage.
This posting is provided "AS IS" with no warranties, and confers no