我有一个属性,其值可能是一个或多个由逗号分隔的文本字符串.我希望使用XSL将属性值转换为它们自己的元素;
例如
<post title='Hello World" tags="Test,Hello,World />
Run Code Online (Sandbox Code Playgroud)
我希望它转变为;
<post>
<title>Hello World</title>
<tag>Test</tag>
<tag>Hello</tag>
<tag>World</tag>
</post>
Run Code Online (Sandbox Code Playgroud)
这可能吗?TIA