I need to get rid of white space using DOM if that is possible. I was told to use DOM.
HOw do I do the string manipulation with DOM???
I know that XSLT has some string manipulation functions I could use.
But how do I parse the XML file and recreate XML file using XSLT??
I used ignore white space attribute and didn't work with my XML files..
Can someon guide me how I need to do this??
Example)
<to>John W. Smith, Tom J. Sanders, Drew J. Taylor</to>
I need to get rid of these white spaces between words.
I need either like this
<to>John W. Smith, Tom J. Sanders, Drew J.Taylor</to>
or
<to>John W. Smith</to>
<to>Tom J. Sanders</to>
<to>Drew J.Taylor</to>
HOw do I do the string manipulation with DOM???
I know that XSLT has some string manipulation functions I could use.
But how do I parse the XML file and recreate XML file using XSLT??
I used ignore white space attribute and didn't work with my XML files..
Can someon guide me how I need to do this??
Example)
<to>John W. Smith, Tom J. Sanders, Drew J. Taylor</to>
I need to get rid of these white spaces between words.
I need either like this
<to>John W. Smith, Tom J. Sanders, Drew J.Taylor</to>
or
<to>John W. Smith</to>
<to>Tom J. Sanders</to>
<to>Drew J.Taylor</to>