I actually need to keep the tags. Also I don't know what tags will be in the clob so I can't search for it then append it later.
Any thoughts on how to have webfocus bring back the xml tags?This message has been edited. Last edited by: Kerry,
Dev, SIT, UAT, Production:7.6.6 Dev Sandbox:7.6.11
Dev Studio - 7.6.6
September 01, 2010, 01:56 PM
slfmr
So what I ended up doing was this (if anyone needs the same info):
-SET &RPLC = '< B>&' || 'lt;< /B>'; (with no spaces after the < )
Then did a replace in sql on my output:
replace (myfield, '<', '&RPLC')
and that printed fine so that it is not a < but an '& lt;' [again no spaces) with break tags.
Dev, SIT, UAT, Production:7.6.6 Dev Sandbox:7.6.11
Dev Studio - 7.6.6
September 01, 2010, 06:01 PM
Waz
Was this an HTML report ?
If so, the tags will be interpreted as HTML tags, and removed.
Waz...
Prod:
WebFOCUS 7.6.10/8.1.04
Upgrade:
WebFOCUS 8.2.07
OS:
Linux
Outputs:
HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!
September 02, 2010, 10:43 AM
WF_IL
Hi
If you have the XML schema (xsd) for the XML and you are also licensed to the Webfocus XML adaptor you could report directly against the CLOB field, each XML tag would become a field in the master file. This is documented in the adaptors manual,under the XML adaptor, How to Access XML Data From an RDBMS .
(You create a master file against the xml document using xsd or directly against the XML itself and then combine it with the master you created against the Oracle table which contains the CLOB field )