[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Xalan question

Subject: RE: Xalan question
From: "Aron Bock" <aronbock@xxxxxxxxxxx>
Date: Sun, 31 Jul 2005 15:22:51 +0000
RE:  Xalan question
You need to bind the xalan prefix. Google "xalan node-set" for an example. For details on "write", see http://xml.apache.org/xalan-j/apidocs/org/apache/xalan/lib/Redirect.html ; here the prefix used is "redirect"

--A

From: "Karl Koch" <TheRanger@xxxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: "Mulberry list" <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Subject:  Xalan question
Date: Sun, 31 Jul 2005 17:14:28 +0200 (MEST)

I am using Xalan J Version 2.5.2. I want to run the following stylesheet:

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
  <xsl:output method="xml" omit-xml-declaration="yes"/>
  <xsl:template match="book">
    <xsl:variable name="a"><xsl:number/></xsl:variable>
    <xalan:write file="{concat($a,'.xml')}">
      <xsl:copy-of select="*" />
    </xalan:write>
  </xsl:template>
</xsl:stylesheet>

I run Xalan with the following commandline:

set CLASSPATH=D:\xalan.jar;D:\bsf.jar
java org.apache.xalan.xslt.Process -IN input.xml -XSL SplittingUp.xslt

I get as an output: The prefix "xalan" for element "xalan:write" is not
bound.

What does that mean? Does somebody here use Xalan for processing with XSLT
extension. I am despeatly looking for a solution....

Karl

_________________________________________________________________
Dont just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.