Register  Login       Search  
Forum  
 
  
 
Forum  Forum     
 
SearchForum Home
  XML Lab Products  nxslt  Problem with ex...
 Problem with exsl:document
 
LeslieCauston
1 posts
Joined
4/30/2006

Problem with exsl:document
Posted: 30 Apr 06 11:14 AM (N/A)
I'm having trouble getting exsl:document to work.
I'm trying to modify the example from  http://www.cogx.com/ctw/
(long island sea creatures).
I've replaced  the <redirect:write select=""> with

<xsl:variable name="filename" select="concat(@id,'.html')"/>
    <exsl:document href="{$filename}" >
    ......
    </exsl:document>

and the header inludes
xmlns:exsl="http://exslt.org.common"
       extension-element-prefixes="exsl"

when I run it with version 1.6.4 using the -mo option I still get a single file.
With version 2.0.1 I get "document is not a recognised extension element"

Am I missing something obvious here ?

Regards
Leslie
olegt
85 posts
www.xmllab.net
Joined
2/25/2005

Re: Problem with exsl:document
Posted: 30 Apr 06 12:55 PM (N/A)
It's "http://exslt.org/common", not "http://exslt.org.common".


Oleg Tkachenko, Microsoft MVP for XML, MCPD
http://www.XmlLab.Net | http://blog.tkachenko.com
lewism
1 posts
www.inmedius.com
Joined
9/18/2007

Re: Problem with exsl:document
Posted: 18 Sep 07 5:09 AM (United Kingdom) Modified By lewism  on 9/18/2007 5:09:49 AM)

Hi, I have the same problem using 1.6.4 and 2.3: I get multiple output with 1.6.4 but I get 'document' is not a recognised extension element with 2.3.

Thx

Lewis

olegt
85 posts
www.xmllab.net
Joined
2/25/2005

Re: Problem with exsl:document
Posted: 02 Oct 07 3:40 AM (Israel)
Don't use extension-element-prefixes attribute. exsl:document isn't implemented as a real extension element. Looks like .NET 2.0 is a bit picky and checks this attribute. Just omit it.
Oleg Tkachenko, Microsoft MVP for XML, MCPD
http://www.XmlLab.Net | http://blog.tkachenko.com
  XML Lab Products  nxslt  Problem with ex...
Forum Home  Search