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>
	. . .
<p>
	I like <insert-snippet name="s1" />, but I hate <insert-snippet
name="s2" />.
</p>


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

Thanks,

Oliver.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread