[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: strip-spaces

Subject: Re: strip-spaces
From: Steven Ericsson-Zenith <steven@xxxxxxxxxxxxx>
Date: Wed, 6 Feb 2008 08:47:59 -0800
Re:  strip-spaces
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.

With respect,
Steven


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
http://www.rddl.org/
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
namespaces.

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.




David


________________________________________________________________________ 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.
________________________________________________________________________

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.