My bad, I was using 0.41...this works perfect in 0.42...
Thanks!
-derek
-----Original Message-----
From: jim cox [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 28, 2000 2:07 PM
To: Sablotron Mailing List
Subject: Re: [Sab] Bug report.
Perhaps you're using an older version of Sablot? Using
v 0.42 on Windows I get:
<utml:content-requests
xmlns:utml="http:/www.utml.com/">
<DescribeNewsBox RequestId="1" numLevels="all">
<Id>4198e8b05da211d4864bcb8f549a3858</Id>
</DescribeNewsBox>
</utml:content-requests>
--- "Sayeau, Derek" <[EMAIL PROTECTED]> wrote:
> Hi,
>
>
> When I declare multiple namespaces in a stylesheets
> I get very strange
> results,
> the namespace I declare is created on all
> subelements, which is strange, but
> what's
> even stranger is that it's created twice!
>
> Anyone have any ideas?
>
>
> -derek
>
> A simple style sheet is:
>
> <?xml version="1.0" encoding="iso-8859-1"
> standalone="yes"?>
> <xsl:stylesheet
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> version="1.0">
> <xsl:output method="text"/>
> <xsl:variable select="''"
> name="depth-text"/>
> <xsl:template match="/">
> <utml:content-requests
> xmlns:utml="http:/www.utml.com/">
> <xsl:if test="/root/name = 'fred'">
> <DescribeNewsBox RequestId="1" numLevels="all">
> <Id>4198e8b05da211d4864bcb8f549a3858</Id>
> </DescribeNewsBox>
> </xsl:if>
> </utml:content-requests>
> </xsl:template>
> </xsl:stylesheet>
>
>
> xml document:
>
> <?xml version="1.0" encoding="iso-8859-1"
> standalone="yes"?>
> <root>
> <name>fred</name>
> </root>
>
>
> the result is:
> <utml:content-requests
> xmlns:utml="http:/www.utml.com/">
> <DescribeNewsBox xmlns:utml="http:/www.utml.com/"
> xmlns:utml="http:/www.utml.com/"
> RequestId="1" numLevels="all">
> <Id xmlns:utml="http:/www.utml.com/"
> xmlns:utml="http:/www.utml.com/"
>
xmlns:utml="http:/www.utml.com/">4198e8b05da211d4864bcb8f549a3858</Id>
> </DescribeNewsBox>
> </utml:content-requests>
>
>
>
>
>
>
> ATTACHMENT part 2 application/octet-stream
name=nstest.xsl
> ATTACHMENT part 3 application/octet-stream
name=nstest.xml
__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/