RE: calling external functions

Subject: RE: calling external functions
From: Pieter Rijken <pieter.rijken@xxxxxx>
Date: Fri, 17 Dec 1999 10:38:48 +0100

> is there any way to call external functions from withing DSSSL, most
> perferably perl scripts or similar.

I don't think so. Since DSSSL is side-effect this is not possible.

> I repeatedly run over problems where I have to insert some information
> into a SGML document which cannot be computed (at reasonable 
> cost) from
> within Jade. Lots of things like the URL of the "next" 
> document, things
> might be passed into variables, but sometime the result has 
> to be computed
> from context data which is only accessible to jade. 
> Transforming text only
> inside specific elements is such an example.
> I would like to do that without having to mess with the jade source
> code.
> Any ideas?

You might consider writing a c++ program using the SP library and
have this program read the SGML file, insert the calculations and
write the result SGML file. The resulting SGML file can be parsed
by DSSSL since all the necessary calculations have been done.



Pieter Rijken                          E-mail: pieter.rijken@xxxxxx

CMG Telecommunications and Utilities B.V.
Division Advanced Technology
Nieuwekade 1-19
P.O. Box 8038                 Phone: +31 30 2339300
3503 RA Utrecht               Fax:   +31 30 2339495
The Netherlands

DISCLAIMER: This statement is not an official statement from, nor
            does it represent an official position of, CMG
            Telecommunications and Utilities B.V.


 DSSSList info and archive:

Current Thread