I have a number of extension elements that do things like get the system
time, etc. I would like to be able to place the extension elementes
directly in the XML and have it evaluated in the XSL.
--- xml document --
<document>
<xenos:time zone="GMT"/>
</document>
--- end of document --
The only thing I can think of to do is to define a tag and in the XSL
execute the xenos:time tag.
<document>
<time zone="GMT"/>
</document>
---- XSL
<xsl:template match="time">
<xenos:time>
<xsl:attribute name="zone"><xsl:value-of
select="@zone"/></xsl:attribute>
</xenos:time>
</xsl:template>
"Victor M. Moreno" wrote:
>
> Hello Claude
> I am using xsl extension element within xsl documents.
> I do not think you may place extension elements in the xml document.
>
> If you could tell us more about what are your needs we may help you.
>
> Regards
>
> Victor
>
> ----- Original Message -----
> From: "Claude Warren" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, October 03, 2001 5:48 PM
> Subject: extension elements
>
> > This may be the wrong place to ask but...
> >
> > Is there a way to place extension elements in the XML document and get
> > them executed during the XSL processing? Or do I need to create a
> > taglibrary to do that?
> >
> > Claude Warren