Subject: Re: Moving (promoting) XML elements through XSL
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 30 Jun 2006 12:46:19 +0100
|
> Great idea, drkm. Here it is:
on that input ,using the stylesheet I posted yesterday I get the
following which is what you wanted, isn't it?
$ saxon ind.xml ind.xsl
<?xml version="1.0" encoding="utf-8"?>
<topic>
<prolog>
<metadata>
<keywords>
<indexterm>Software Requirements</indexterm>
</keywords>
</metadata>
</prolog>
<title>
Software Requirements
</title>
<body>
<p>Some sample text</p>
</body>
</topic>
|