Re: [xsl] Matched content should be in commented in Output XML

Subject: Re: [xsl] Matched content should be in commented in Output XML
From: Ronan Klyne <ronan.klyne@xxxxxxxxxxx>
Date: Mon, 14 Jul 2008 13:31:30 +0100
V.Ramkumar wrote:
Hi,

Matched content should be in commented text in Output XML.
Or
How to insert comments in XML through XSL transform (<!-- -->).

Ex: Input XML;

<externallink type="pubmed" id="9417081"></externallink>

Output XML;

<!-- <externallink type="pubmed" id="9417081"></externallink> -->


You want to use: <xsl:comment> Your content goes here.... </xsl:comment>


And please read this extract from the message you replied to:


PS
Incidentally, please when starting a new thread start a new message,
don't just reply to a different message and change the title, as that
messes up the archive threading.


Ronan

--
Ronan Klyne
Business Collaborator Developer
Tel: +44 01189 028518
ronan.klyne@xxxxxxxxxxx
www.groupbc.com

Current Thread