xsl-list
[Top] [All Lists]

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

2008-07-14 05:34:19
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(_dot_)klyne(_at_)groupbc(_dot_)com
www.groupbc.com

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--