[x3d-public] XSLT with text as entities that contain entities

John Carlson yottzumm at gmail.com
Sun Aug 1 17:53:45 PDT 2021


All this well and good, but it does not handle the case where xsl:text and
xsl:value-of nodes are reordered.   If an entity could be defined as XSL,
that might be superior.

gettext() with parameters in Python still seems superior.   Hmm.

Help!

John

On Sun, Aug 1, 2021 at 7:19 PM John Carlson <yottzumm at gmail.com> wrote:

> So I’ve been considering how to make a single Xslt file which will produce
> X3DJSAIL, X3DPSAIL, autoclass files for foreign type interfaces, schemas,
> fieldTypes.js, mapToMethod.js, c,c++,c#, etc.   what I’ve figured out so
> far is we can put entities inside the stylesheet for portability and for
> different orderings, we can put entities inside entity definitions.   The
> first step is to translate the text in one of the stylesheets to entities,
> then put the entities and the text into a DTD file.   Then we can translate
> the entity strings in the DTD file to a different language in another DTD
> file, possibly using other entities for different orderings in entity
> definitions.
>
> After that, we can tackle the X3dToFoo.xslt code pile similarly.
>
> We can also generate target stylesheets with an entity resolver.
>
> In my serializers, I may be able to use something like gettext() to
> achieve different target languages.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20210801/95d2632a/attachment-0001.html>


More information about the x3d-public mailing list