Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/xslt/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Xslt 在XSL中操纵字符串_Xslt_String_Char_Character - Fatal编程技术网

Xslt 在XSL中操纵字符串

Xslt 在XSL中操纵字符串,xslt,string,char,character,Xslt,String,Char,Character,我在xsl中有一个字符串变量-我希望能够获取该字符串中的第一个字符。是否有一种“剪切”方法可用于检索此值? <xsl:value-of select="substring($string,1,1)"/> 是,请参见此处的子字符串用法示例:

我在xsl中有一个字符串变量-我希望能够获取该字符串中的第一个字符。是否有一种“剪切”方法可用于检索此值?


 <xsl:value-of select="substring($string,1,1)"/>

是,请参见此处的子字符串用法示例: