hy,
so the first step is done and I get AxKit the first time running (thanks J�rg).
So now I try the following application:
My intention is to transform xml documents via xsl to an xsp with PerFrom tags wich is
evaluated and then send to the browser but
with a problem about the ns .
---------------------------------------
xml-file:
<root><directory name="DIRNAME"></directory>...<root>
---------------------------------------
to transform this file i write an xsl-file
------------------
xsl-file: (with lg as ns for the PerForm)
<xsl:stylesheet xmlns:"the right thing"..>
<xsl:template match="//directory">
<lg:submit name="{@name}" etc....>
<xsl:apply-template/>
</xsl:template>
<xsl:template match="root-element">
<xsp:page ..declaration>
...declaration of the callbacks...
<xsl:apply-templates/>
</xsl:template>
-------------
the declaration of .htaccess is
<Files dir.xml>
AxAddPlugin Apache::AxKit::Plugin::Session
AxAddXSPTaglib AxKit::XSP::PerForm
AxAddProcessor text/xsl thefile.xsl
AxAddProcessor application/x-xsp .
AxAddProcessor application/x-xpathscript transformtohtml.xps
</Files>
--------------
Now my question:
if I run this application I will run in trouble because the lg-ns in the
xsl-file would not tranformed, I get <submit..> without ns=lg.
If I try the testXSLT programm from libxml there is a warn about this
but the transforming document contains <lg:submit ...>
and then after xsp <lg:submit_button ..>
when I declare the ns in the xsl file i get the right document too.
What is right in the therms of the w3c ?
Is this the best way to do such a translation or is there any better way?
thanks
ulrich
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]