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

(Corrected) Re: XSL Translations using Java Servlets / JSP

  • From: Rick JELLIFFE <ricko@g...>
  • To: xml-dev@x...
  • Date: Mon, 01 May 2000 15:03:29 +0800

jsp inline
 
 (Oops missing not in first para. Resend. Sorry).


 
Paul Tchistopolskii wrote:
 
> The <?xml-stylesheet provides some way of binding.
> But this way is not scalable. The scalable way should
> allow:
> 
> rendering any document with any stylesheet without
> changing the document itself an any point of processing.
> 
> ( validating any document with any DTD without changing
> the document itself  - but that's not as important as it is
> with the stylesheets ).

On the other hand, scalability is a universal criterion for ajudging
merits of a technology, in the same way that "simplicity" and "power"
are not virtues except in particular contexts.   Is a RAID disk array
too simple? Is it too powerful (overkill)?  Without some context
information those questions are unanswerable.

If I want to publish one particular type of document with one particular
style, then the xml-stylesheet PI is fine.  

Isn't this just our old question of when embedded markup is appropriate
(e.g., see Ted Nelson's article in the XML Journal put out by OReilly
editid by Dan Connolly, for one instance of this argument, which goes
further than it needed to to make its point) rather than out-of-line and
external markup?

Our question re-appears with linking, with stylesheets, with
multilingual documents, with schemas; the patterns may be thoguht of as
"inline markup" versus "out-of-line markup". But there is more: there
are scoping levels each of which can represent a decision point for
"inline" versus "out-of-line".  Viewing at the document-level scope, a
spreadsheet PI represents use of "inline markup" (i.e. within the same
document) rather than "out-of-line markup" (i.e. in some other
document). However, viewing at the element-level scope, that spreadsheet
PI is "out-of-line" rather than "inline".  

In XML we can distinguish four nested boundaries where the
"inline/in-band" versus "out-of-line/out-of-band" scoping can be seen:
  * element scopes
  * entity scopes
  * document scopes
  * global (i.e., everything else)
though there is clearly some need to split the last into some
package/bundle versus global system (I guess relative URLs are being
used to do this at the moment).  (And SGML would have some level of
GROVE above document, I guess: is the re-serialization of a GROVE a
package?)

SGML 86 was very heavy on allowing document scoping: on the other hand,
it did allow elements to directly contain documents (SUBDOC) to allow
nested scoping (e.g. of identifiers, document type, etc). HTML tried the
opposite extreme and pretty much only had element scoping.  Which one is
simpler? which one is more powerful?  You cannot tell without context;
without seeing the particular problems being solved and the particular
skills and technologies available.



Rick Jelliffe

***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************

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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.