Re: [xsl] Alternative of XSL:document in XSLT 2.0

Subject: Re: [xsl] Alternative of XSL:document in XSLT 2.0
From: Abel Braaksma <abel.online@xxxxxxxxx>
Date: Tue, 29 May 2007 12:46:28 +0200
J. S. Rawat wrote:
Thanks David!!! Just extending the topic.
I am developing a conversion tool from one DTD coded files to another DTD coded files which is almost finished. I want to generate a error.log as shown below. I am able to generate the error.log file with single message but I am not able to append the message within error.log.


Error.log
1. <JTL> is not found in the input file
2. <ISSN> is not found in the input file
2. Process has been terminated because require <JTL> is not found in the input

What do you mean by "not able to append"? XSLT creates a result tree, which is then serialized. You cannot append. Unless perhaps with xsl:message and a MessageListener or something. Or with an extension function. Or with a document('http://appendme.do?xyz=zyx') call (which will need a different URI each time it is called to succeed), where the action behind appendme.do is the appending program.


-- Abel

Current Thread