That is unfortunately, out of my hands.  I'm currently exploring different
options for a client that wishes me to supply them with XSL stylesheets to
present that XML data files.  A co-worker is currently hosting/running
AxKit, and I'm trying it out.  I simply place my xml/xsl file in a directory
a try to fetch the xml file.  This works great for simple XML/XSL files, but
fails on these two instances.  I thought perhaps it was my syntax or the
AxKit/Sablotron use a different syntax.  These problem with not being able
to include multiple xsl stylesheets is a big one ... the problem with not
being able to use document ( URI ) is not as big but will force me to
embedded layout with my stylesheets.

I guess what I'm trying to say is that my environment allows me to only
fetch and watch.  I can't see errors (although I do a test transformation
with msxml first)


Darren Hill
Intermediate Software Engineer
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
(416) 535-4222, ext. 2256
http://www.extend.com
ExtendMedia
190 Liberty Street
Toronto, ON  Canada  M6K 3L5


-----Original Message-----
From: Kaiserovi [mailto:[EMAIL PROTECTED]]
Sent: August 3, 2000 1:15 PM
To: Sablotron Mailing List
Cc: Sablotron support
Subject: Re: [Sab] Problems


Darren,

this is strange; what happens if you use sabcmd to do the transform? If
I use the following for test2.xml:

<something><x/><y/></something>

then running sabcmd on your files produces

<html><head><meta http-equiv="Content-Type" content="text/html;
charset=UTF-8"><title>Test</title></head><body><B>something</B></body></html
>

which is as expected, isn't it? Can't the problem be in AxKit's
interface to Sablotron?

Tom


Darren Hill wrote:
> 
> This doesn't work when I fetch the test.xml using AxKit
> 
> test.xml
> --------
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <?xml-stylesheet href="test.xsl" type="text/xsl"?>
> <Test>
> </Test>
> --------
> 
> test.xsl
> --------
> 
> <?xml version="1.0"?>
> <xsl:stylesheet version="1.0"
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
> 
> <xsl:template match="/">
>         <xsl:variable name="layout" select="document('test2.xml')"/>
>         <html>
>         <head>
>                 <title>Test</title>
>         </head>
> 
>         <body>
>                 <B><xsl:value-of select="name($layout/*)"/></B>
>         </body>
>         </html>
> 
> </xsl:template>
> 
> </xsl:stylesheet>
> ---------------
> 
> Darren Hill
> Intermediate Software Engineer
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> (416) 535-4222, ext. 2256
> http://www.extend.com
> ExtendMedia
> 190 Liberty Street
> Toronto, ON  Canada  M6K 3L5

=?UTF-8?B?RGFycmVuIFRob21hcyBIaWxsIChFLW1haWwpLnZj?==?UTF-8?B?Zg==?=

Reply via email to