[xsl] Split the content of a variable (xpath 1.0)

Subject: [xsl] Split the content of a variable (xpath 1.0)
From: "Silvia Liberto" <SLiberto@xxxxxx>
Date: Fri, 3 Mar 2006 12:03:28 +0100 (MET)
Hi all,

I have a variable "Keywords" with several keywords inside.
They are seperated with ;.
so i want per xslt to split this content into single keywords,
like this:

<keywordset>
  <keyword>Keyword1</keyword>
  <keyword>Keyword2</keyword>
  <keyword>Keyword3</keyword>
  <keyword>Keyword4</keyword>
  <keyword>Keyword5</keyword>
</keywordset>

xml:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<wordDocument>
	<DocumentProperties>
		<Title>Titel</Title>
		<Subject>Subtitel</Subject>
		<Author>AutorVorname AutorNachname</Author>
		<Keywords>Keyword1; Keyword2; Keyword3; Keyword4; Keyword5;
Keyword6</Keywords>		
	</DocumentProperties>
</wordDocument>


In the string functions (xpath 1.0) i can4t find an adequate function!?
have someone an idea?

Thanks,
Silvia



-- 
"Feel free" mit GMX FreeMail!
Monat f|r Monat 10 FreeSMS inklusive! http://www.gmx.net

Current Thread