Controling size of xml
Hello
I am exporting the xml from my text layout but my xml has some extra contents due to which the size become large like if i apply the bold character property on text and after that when i will remove this bold property,the succeedind all span tags will have fontweight =normal and even in succeeding paragraphs also which doesn't needed.
I am writing a sample of text and xml produced:
normal text this is bold text this is italic text this is underlined text here the font size is 18
normal text in next paragraph
<TextFlow columnCount="inherit" columnGap="inherit" columnWidth="inherit" fontFamily="Arial" fontSize="12" lineBreak="inherit" paddingBottom="inherit" paddingLeft="inherit" paddingRight="inherit" paddingTop="inherit" verticalAlign="inherit" whiteSpaceCollapse="preserve" xmlns="http://ns.adobe.com/textLayout/2008">
<p>
<span>normal text</span>
<span fontWeight="bold">this is bold text</span>
<span fontWeight="normal"></span>
<span fontStyle="italic" fontWeight="normal">this is italic text</span>
<span fontStyle="normal" fontWeight="normal"></span>
<span fontStyle="normal" fontWeight="normal" textDecoration="underline">this is underlined text</span>
<span fontStyle="normal" fontWeight="normal" textDecoration="none"></span>
<span fontSize="18" fontStyle="normal" fontWeight="normal" textDecoration="none">here the font size is 18</span>
<span></span>
</p>
<p>
<span fontSize="12" fontStyle="normal" fontWeight="normal" textDecoration="none">normal text in next paragraph</span>
</p>
</TextFlow>
thnks.
