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

Subject: [xsl] Matched content should be in commented in Output XML
From: "V.Ramkumar" <V.Ramkumar@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 14 Jul 2008 18:01:24 +0530

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

Input XML;

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

Output XML;

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

I am using saxon9. xslt2.0 for transform.


-----Original Message-----
From: David Carlisle [mailto:davidc@xxxxxxxxx] 
Sent: Monday, July 14, 2008 5:51 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] How to match very first entry from multiple entry

> I am doing XML to XML only. I understand the below your code
> 'match="tbody/row/entry[1]"'

that will match the first entry in each row, not the first in the table.


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.

The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 

Current Thread