Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8944

Re: XSLT Help

$
0
0

Hi Aaron

 

Not sure if there is an existing adapter module for this.

 

My two cents would be to have a Java mapping after the graphical mapping (cos I'm more familiar with Java than XSLT)

 

Here's the approach for the Java mapping:

i) Convert input Stream to a String

ii) Use replaceAll() method of String to replace all occurrences of the escape sequence to normal XML format, i.e. &gt to >, &lt to <, etc

iii) Convert modified String to output Stream

 

There are only a handful of special characters, so logic shouldn't be too complex.

 

Rgds

Eng Swee


Viewing all articles
Browse latest Browse all 8944

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>