我正在研究 XML 转换。我必须提取元素的元素并以粗体/斜体/列表显示它们。来源:
<content>
<bodyParagraphText>
ABCD<strong xmlns="http://www.w3.org/1999/xhtml">:<dynamicVariable name='BOLD'></dynamicVariable></strong>
</bodyParagraphText>
</content>
1.输出要求1(粗体):
<aaa>
ABCD **BOLD**
</aaa>
2.输出所需1(列表):
<aaa>
ABCD
- BOLD
</aaa>
3.输出要求1(下划线):
<aaa>
ABCD BOLD(underlined)
</aaa>
我对它完全陌生。我没有任何想法可以解决。请帮忙。先感谢您。