hi,
Help me pls. My task is to replace "&" and "<" so the input XML file becomes well formed. I have 32,000 XML files to work on.
Files look like this :
<book>
.
.
.
.<Abstract>
<AbstractText> this book explains formula a<0.01 and some basic science.</AbstractText>
</Abstract>
.
.
.<source>Texas A & M University</source>
.
.
</book>
I want to replace special characters like < and & with < and & in all files. Can anyone pplease suggest me how this can be achieved? I tried to use XSLT but it only accepts well formed documents. please help me out !!
Thanks.
VJ
Help me pls. My task is to replace "&" and "<" so the input XML file becomes well formed. I have 32,000 XML files to work on.
Files look like this :
<book>
.
.
.
.<Abstract>
<AbstractText> this book explains formula a<0.01 and some basic science.</AbstractText>
</Abstract>
.
.
.<source>Texas A & M University</source>
.
.
</book>
I want to replace special characters like < and & with < and & in all files. Can anyone pplease suggest me how this can be achieved? I tried to use XSLT but it only accepts well formed documents. please help me out !!
Thanks.
VJ