Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/gwt/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_Xslt_Tokenize - Fatal编程技术网

循环字符串并获取值xslt

循环字符串并获取值xslt,xslt,tokenize,Xslt,Tokenize,我有一个html输入文件,我需要它来处理样式信息和设计XSLT <div style="width: 3%; min-width: 10px; padding: 0px; border-color: black; vertical-align: top; word-wrap: break-word; box-sizing: border-box;"></div> 我可以在XSLT变量中获得样式值,如下所示 不需要“循环字符串”。使用:

我有一个html输入文件,我需要它来处理样式信息和设计XSLT

<div style="width: 3%; min-width: 10px; padding: 0px;  border-color: black; vertical-align: top; word-wrap: break-word; box-sizing: border-box;"></div>

我可以在XSLT变量中获得样式值,如下所示


不需要“循环字符串”。使用:


<xsl:value-of select="substring-before(substring-after(@style, 'width: '), ';')"/>