xsl-list
[Top] [All Lists]

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

2008-07-14 05:29:46
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> -->


I am using saxon9. xslt2.0 for transform.

Regards,
Ramkumar


-----Original Message-----
From: David Carlisle [mailto:davidc(_at_)nag(_dot_)co(_dot_)uk] 
Sent: Monday, July 14, 2008 5:51 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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.

David

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.



________________________________________________________________________
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. 
________________________________________________________________________

--~------------------------------------------------------------------
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>
--~--




--~------------------------------------------------------------------
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>
--~--