Ah yes, but that doesn't tell me where to fetch the style sheet to
process the name space "myns."
generally speaking I think it's a mistake to assume that there is one
stylesheet per namespace, although that might be the case in some very
restricted scenarios. There are protocols for specifying resources
such as schema and stylesheets associated with namespaces, perhaps the
best known being rddl
some schema validators automatically find schemas by looking up
locations in a rddl file found at the namespace location, it wouldn't be
impossible to use something that generated a set of xsl:imports from
similar information, although personally I wouldn;t be able to use it.
There are very few sources that I have where I don't have multiple
stylesheets generating different output formats. (I generate xhtml,
html, pdf, c, C#, fortran, maple worksheets,... all from the same xml sources,
but not (all) at the same time) So there is no simple mapping between
source namespace and stylesheet to be used.
This is just a way of relating and limiting included style sheets to
if you have a schema aware xslt processor you can declare within teh xsl
that you want to limit the input to valid docuemnts to a speified schema
type, so by suitable choice of schem a that can do as you wish and limit
to specific namespaces.
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>