Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Multiple output types and embedded documentation

From: David Carlisle <davidc@--------->
To:
Date: 7/3/2000 12:29:00 PM
> Kinda neat!
> 
> Anone else think this sounds like the best approach yet for the weave
> 
> solution?

Note that the original "write in web, tangle to pascal" approach was
designed not only to allow documented "literate" sources, but to avoid
many of the syntactic restrictions of pascal, such as variables needing
to be declared before use.

While the simple sketch I posted just toggles in or out choices like
out_1 you could spec out an input language that differs substantially
from XSL, together with a transform to XSL as required.

This would allow for example:

  boolean queries on the options
  include this code if this or this or this,

  automatic conversion of some if-then-else syntax to xsl:choose

  automatic conversion to the verbose parameter passing syntax from
  something more friendly,

  translation of extension element calls from some generic syntax to the
  vendor specific namespace and syntax required.

but beware the further you go along this route the more you are starting
to define a new language. WEB is not pascal-with-comments it is a
different language, the first stage of the compilation of which is to
transform to pascal (or these days, C). Similarly while the example
stylesheet was still recognisably XSL + documentation + oprional XSLish
statements, the smarter the "code extraction" stylesheet gets, the
further the input input language gets from XSL.

David


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent