On Wednesday 24 April 2002 17:11, Matt Sergeant wrote:
> On 24 Apr 2002, Markus Spring wrote:
> > It seems to me that AxKit resolves entity names with absolute paths
> > relatively to the document root (which seems strange to me, as for
> > example nsgmls uses accepts this as an absolute path - I have brought
> > this topic into this mailing list last year).
> >
> > One solution seems to insert file:// in front of your filename.
> >
> > I am not content with this solution, but...
>
> How are you not content with this solution? How else would you have us
> provide web root relative uri's? The file:// solution works and it works
> universally in all applications.

hi
I tried the "file://" solution but it does not seem to work:
my xml file looks like this:

<?xml version="1.0"?>
<?xml-stylesheet href="." type="application/x-xsp"?>
<?xml-stylesheet href="login.xsl" type="text/xsl"?>
<!DOCTYPE page [
<!ENTITY subnav SYSTEM "file://subnav.xml">
<!ENTITY topnav SYSTEM "file://topnav.xml">
]>

<xsp:page
    language="Perl"
    xmlns:xsp="http://apache.org/xsp/core/v1";
    xmlns:util="http://apache.org/xsp/util/v1";
>
<xsp:structure>
<xsp:import>Apache::AxKit::Gmx</xsp:import>
<xsp:logic><![CDATA[
]]></xsp:logic>
</xsp:structure>

<page>
        <title>Login</title>
        &topnav;
        &subnav;
        <formular>
                <action>startpage.xml</action>
                <input type="text">customerno</input>
                <input type="text">password</input>
                <input type="submit">login</input>
        </formular>
</page>
</xsp:page>

any idea what could be wrong??


markus


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to