Inserting snippets

Subject: Inserting snippets
From: Oliver Cope <Oliver.cope@xxxxxxxxxx>
Date: Thu, 20 Jan 2000 09:42:01 -0000
Hi everyone,

I'm new to XML/XSL and I've got an XML document that looks like this:

<snippet name="s1">apples</snippet>
<snippet name="s2">bananas</snippet>
	. . .
	I like <insert-snippet name="s1" />, but I hate <insert-snippet
name="s2" />.

...and I'm looking for an XSL transformation that will give me this:
'<p>I like apples, but I hate bananas.</p>"

Can this be done using XSL?



 XSL-List info and archive:

Current Thread