[XSL-LIST Mailing List Archive Home]
[Reply To This Message]
Subject: Re: strip-spaces|
From: Steven Ericsson-Zenith <steven@xxxxxxxxxxxxx>
Date: Wed, 6 Feb 2008 08:47:59 -0800
Obviously one would need to specify the target format of the
translation. There are a few formats that make sense : html, xhtml,
and pdf come to mind initially.
Thanks to the pointer to rddl - I'll check it out. And I'd like to
know more about schema validators that do this.
On Feb 6, 2008, at 8:40 AM, David Carlisle wrote:
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
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
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
that you want to limit the input to valid docuemnts to a speified
type, so by suitable choice of schem a that can do as you wish and
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.
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format