xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Morrison <d...@es.co.nz>
Subject Re: xsl question
Date Wed, 12 Apr 2000 08:25:23 GMT
Michael Lepine wrote:

> I currently have tags like these in my xsl template so I can create
> corresponding html form tags for the named element:

<xsl:template match="element[@name='fname']">
        <xsl:call-template name="build_element"/>
</xsl:template>

UIML eh?
I had a look at that recently. Personally I don't think much of the
structure. It looks very biased in the direction of C/C++ engineers, as
opposed to the encapsulated way XML is more suited to. I hate to have
the properties of an object declared somewhere other that the object
itself. The 'lookup table' way that UIML marks its classes bugs me. 
I'd advise having a look at XwingML, which although it has its own bias
towards Java, is a much nicer structure.
I'm currently working on a (PERL) UI manager that is close to both
UIML's shortcut syntax and XwingML. It's fun 'skinning' those old ugly
HTML forms, and giving my CGIs an easy interface API.


Sorry I dunno about Xalan, but in some parsers you can do it

 <xsl:template match="element">
        <xsl:call-template name="{@name}"/>
</xsl:template>

.dan.

:=====================:====================:
: Dan Morrison        : The Web Limited    :
:  http://here.is/dan :  http://web.co.nz  :
:  dman@es.co.nz      :  danm@web.co.nz    :
:  04 384 1472        :  04 495 8250       :
:  025 207 1140       :                    :
:.....................:....................:
: If ignorance is bliss, why aren't more people happy?
:.........................................:

Mime
View raw message