我正在嘗試在 xml 檔案的 url 標簽中添加一個 url,當我在瀏覽器上測驗它是否打開 xml 頁面時,它無法加載

這是xml內容
<?xml version="1.0" standalone="yes"?>
<rss xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle" version="2.0">
<channel>
<title>Zen Mode</title>
<item>
<title>1.0</title>
<pubDate>Sun, 13 Mar 2022 12:44:47 0530</pubDate>
<sparkle:version>1</sparkle:version>
<sparkle:shortVersionString>1.0</sparkle:shortVersionString>
<sparkle:minimumSystemVersion>12.0</sparkle:minimumSystemVersion>
<enclosure url="https://firebasestorage.googleapis.com/v0/b/zen-mode-a3f5b.appspot.com/o/Zen mode.zip?alt=media&token=b683691f-ea05-4eeb-b055-b3fac38d7390" length="1759048" type="application/octet-stream" sparkle:edSignature="aogXf4IHVLwxqhH/qweqe YLpm3 E6QLL1QKfr9ESN4 eApwz5AA=="/>
</item>
</channel>
</rss>
我嘗試在 vscode 中進行除錯,例如它是否顯示任何錯誤,檔案已打開但上面有一個紅色標志&

我的目標是 xml 應該在瀏覽器上打開而沒有任何決議問題。注意:我嘗試用其他網址替換例如:https : //google.com
uj5u.com熱心網友回復:
用。。。來代替 &
& 符號的 XML 物體。
這里的作業代碼: -
<enclosure url='https://firebasestorage.googleapis.com/v0/b/zen-mode-a3f5b.appspot.com/o/Zen mode.zip?alt=media&token=b683691f-ea05-4eeb-b055-b3fac38d7390' length="1759048" type="application/octet-stream" sparkle:edSignature="aogXf4IHVLwxqhH/qweqe YLpm3 E6QLL1QKfr9ESN4 eApwz5AA=="/>
轉載請註明出處,本文鏈接:https://www.uj5u.com/ruanti/443192.html
