我是 XSLT 的新手。我正在将 XML 文件从一种格式转换为另一种格式。我还想从元素中提取值并以粗体格式显示它们。
示例源 XML:
<Content xmlns="uuid:4522eb85">
<first xmlns="uuid:4522eb85">Hello World. This is first field</first>
<second author="XYZ">Hi iam second field</second>
</Content>
需要的输出格式:
<root>
<aaa>Hello World. This is first field</aaa>
<bbb><author>**XYZ**</author>Hi iam second field</bbb>
<root>
我无法从标签中提取属性并以样式显示(比如粗体)。
请帮忙。先感谢您。