xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] separate white space and show in combo individually


Subject: [xsl] separate white space and show in combo individually
From: himanshu padmanabhi <himanshu.padmanabhi@xxxxxxxxx>
Date: Thu, 12 Feb 2009 17:36:11 +0530

Perl code

<CODE>
$str=$in{'values_separated_by_space'};
my $results = $stylesheet->transform($source, arg  => "'$str'",val => "'1'");
</CODE>

"$arg" contains any number of space separated values say "abcd pqrwr
xyz dd3 24322" and I want these values in a combo box individually
using xsl file.What should I do?

I only know this much code..:(

<xsl:for-each select=(till values are there)>
 <select>
     <option>
           <xsl:value-of select="substring-before($arg,
' ')"/>
     </option>
 </select>
</xsl:for-each>


Current Thread
Keywords
xsl
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor