Subject: Re: [xsl] How to generate an XML log using xsl:message? From: George Cristian Bina <george@xxxxxxx> Date: Mon, 27 Dec 2004 12:58:21 +0200 |
<xsl:template match="/"> <xsl:message> <xsl:text disable-output-escaping="yes"><log></xsl:text> </xsl:message>
<xsl:message> <test>sample</test> </xsl:message>
<xsl:message> <xsl:text disable-output-escaping="yes"></log></xsl:text> </xsl:message> </xsl:template> </xsl:stylesheet>
<log> <test>sample</test> </log>
Best Regards, George --------------------------------------------------------------------- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com
Hi all,
I would like to generate an XML log using xsl:message instructions. The problem is that I am not able to generate well formed XML. Each xsl:message instruction can generate an element in the output. Yet, I am not able to enclose the output of the various xsl:message instructions inside a document root element.
Does anyone have a solution for this problem? At the moment I can only think about concatenating the output with a starting "<root>" and ending "</root>".
Thanks for your attention, Stefan Wachter
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] How to generate an XML lo, Colin Paul Adams | Thread | [xsl] proper usage of disable-outpu, M. David Peterson |
Re: [xsl] How to generate an XML lo, Colin Paul Adams | Date | [xsl] proper usage of disable-outpu, M. David Peterson |
Month |