阅读背景:

save()在每个XElement上添加不需要的名称空间

来源:互联网 

I have the following XML :

我有以下XML:

<?xml version="1.0" encoding="UTF-8"?>
<tt xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance"     
    xmlns="https://www.w3.org/ns/ttml" 
    xmlns:tt="https://www.w3.org/ns/ttml"     
    xmlns:tts="https://www.w3.org/ns/ttml#styling"
    xmlns:ttp="https://www.w3.org/ns/ttml#parameter" xml:lang="fr-FR"
    ttp:timeBase="smpte" ttp:frameRate="24" ttp:frameRateMultiplier="999 1000" ttp:dropMode="nonDrop">
  <head>
    <styling>
      <style xml:id="normal" tts:fontFamily="sansSerif" tts:fontWeight="normal" tts:fontStyle="normal" tts:color="white" tts:fontSize="100%"/>
      <style xml:id="bold" tts:fontFamily="sansSerif" tts:fontWeight="bold" tts:fontStyle="normal" tts:color="white" tts:fontSize="100%"/>
      <style xml:id="italic" tts:fontFamily="sansSerif" tts:fontWeight="normal" tts:fontStyle="italic" tts:color="white" tts:fontSize="100%"/>
      <style xml:id="bolditalic" tts:fontFamily="sansSerif" tts:fontWeight="bold" tts:fontStyle="italic" tts:color="white" tts:fontSize="100%"/>
    </styling>
<?xml v



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: