嗨,我是编程新手,我正在创建一个简单的 xml 文档,我想在我的 xml 数据中应用 Css。我的xml是
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE Customers SYSTEM "customers.dtd">
<Employees>
<Employee>
<FirstNameLabel>FirstName:</FirstNameLabel>
<FirstNameData>Ana</FirstNameData>
<FirstNameLabel>LastName:</FirstNameLabel>
<FirstNameData>Ali</FirstNameData>
</Employee>
<Employee>
<FirstNameLabel>FirstName:</FirstNameLabel>
<FirstNameData>Ash</FirstNameData>
<FirstNameLabel>LastName:</FirstNameLabel>
<FirstNameData>Ana</FirstNameData>
</Employee>
</Employees>
我需要将结果显示为
FirstName: Ana
LastName: Ali
FirstName: Ash
LastName: Ana
FirstName 和 LastName 应该是绿色的,而 Values 应该是红色的
帮助将不胜感激谢谢