我正在努力将这个xml解析为Java对象几个小时。无法通过示例找到足够的教程。
<smil
xmlns="http://www.w3.org/2001/SMIL20/Language">
<head>
<meta name="title" content="b3144064-dee8-4757-b081-a20f4c51e3b9" />
<meta name="httpBase" content="https://a.akamaihd.net/" />
<meta name="vod" content="true"/>
</head>
<body>
<switch id="b3144064-dee8-4757-b081-a20f4c51e3b9">
<video src="b3144064-dee8-4757-b081-a20f4c51e3b9_150.mp4" system-bitrate="150000"/>
<video src="b3144064-dee8-4757-b081-a20f4c51e3b9_550.mp4" system-bitrate="550000"/>
<video src="b3144064-dee8-4757-b081-a20f4c51e3b9_1500.mp4" system-bitrate="1500000"/>
<video src="b3144064-dee8-4757-b081-a20f4c51e3b9_2000.mp4" system-bitrate="2000000"/>
</switch>
</body>
</smil>