嗨,我是編程新手我正在創建一個簡單的xml文檔,我想在我的xml數據中應用Css。我的XML是簡單的xml文檔與Css
<?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
,顯示效果雖然名字和姓氏應該是綠色的,而價值觀應該是紅色
幫助,將不勝感激感謝
但我想我的結果像 標籤應該是綠色的,值應該是紅色的 – user1073794
問題解決了,謝謝你們 – user1073794