Handling Line breaks in Oracle XML Publisher
Hi,
I’m developing a XML Publisher report.The data definition file has a tag which contains line breaks(\n- new line).
How to handle this logic in RTF template?
For Example:
XML tag:
<CF_LONG_TEXT>Final Adjusted Total Costs: $0.00 \n Less: Initial Billing Amount - $(1.65) - Invoice # 100000 \n \n Final Billing Amount: $0.88 \n \n Computation: \n a) Adjusted Number of Full-Time Students: 2,877 </CF_LONG_TEXT>
Desired Output:
Final Adjusted Total Costs: $0.00
Less: Initial Billing Amount - $(1.65) - Invoice # 100000
Final Billing Amount: $0.88
Computation:
a) Adjusted Number of Full-Time Students: 2,877
Thanks,
Sri.
Hi,
Please try giving this:
<xs:attribute name="space" default="preserve">
<xs:simpleType>
<xs:restriction base="xs:NCName">
<xs:enumeration value="default"/>
<xs:enumeration value="preserve"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
Regards
Suraj
Similar Messages
-
How to print Barcode data in Oracle XML Publisher Report
Hi,
We have an rdf report which prints Bar code in the starting page based on a custom procedure from MarkView. It works well with Oracle Reports.
But since the current report was a matrix report, we are changing it to a Linear report through Oracle XML Publisher Report.
We have all the things possible in the new Oracle XML Report.. But we are unable to print the Bar code data which is BLOB in the XML Report..
Can anyone help me on this? We have UAT dates around the corner..
We have an RTF Template .
Help asap.
Thanks
AbhilashHi Abhishek,
Bar code Registration Steps in XMLPublisher responsibility:
1. Go to responsibility XML Publisher Administrator
2. Open Administration
3. Open Font Files Tab
4. Create Font File
5. Give Font Name : XX_BARCODE
6. File : Browse Barcode file
7. Apply
8. Go to Font mapping Tab
9. Open Create Font Mapping Set
10. Give Mapping Name: XX_BARCODE
11. Give Mapping Code: XX_BARCODE
12. Type : FO TO PDF
13. Apply
14. Open Tab Create Font Maping
15. Font Family: Code39-Digits(This name should be exactly the font name comes in word)
16. Style: Normal
17. Weight: Normal
18. Target Font Type: Truetype
19. Continue
20. Font : XX_BARCODE
21. Apply
1. Go to Template Tab
2. Query for your template
3. Open Edit Configuration
4. Click on FO Processing
5. In Font Mapping set Give XX_BARCODE
RTF Template (word):
1.Design the RTF template
2.Insert the barcode against reqd field
3.Make sure to put an * before and after the barcode so that scanner understands the beginning and end
Please send your rtf ,xml file if you are still facing issues.
Rgds, -
Oracle XML Publisher 5.6.2
Dear All,,
How to integrate Oracle XML Publisher 5.6.2 report with ADF appication,including passing report parameters.
thankshttps://metalink.oracle.com/metalink/plsql/f?p=130:14:5396698038376187095::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,367394.1,1,1,1,helvetica
MetaLink Note ID: 367394.1 -
Some RTF commands not working in Oracle XML Publisher Desktop 5.6.3
Hello,
I am using Oracle XML Publisher Desktop 5.6.3 (Patch 5887917) and seems like some of the RTF command are not working. I am following Tim Dexter's blog (http://blogs.oracle.com/xmlpublisher/2007/10/here_are_my_terms_conditions.html ) and could not make the "new" commands from his blog, work in my template.
<?section:force-page-count;'end-on-even-layout'?> -- even with this on the template, I'm still getting output with odd total numpages
<?section:xdofo:blank-on;'even-skip-page-count'?> -- cannot suppress the NUMPAGES value of MS Word
Do I need to apply additional patch(es) on top of Patch 5887917 for the MS Word add-on? Could you please tell me what am I missing?
Thanks.Hello,
I am trying to install the latest version but getting the error below when performing Preview.
ConfFile: C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\config\xdo.cfg
Font Dir: C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts
Run XDO Start
Template: C:\Documents and Settings\rmembrere\My Documents\MyDelorme\XML Publisher Project\CONVERSIONS\templates\DEL_POs\DEL\PO_TEST_AGAIN.rtf
RTFProcessor setLocale: en-us
RTFProcessor setConfig: C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\config\xdo.cfg
FOProcessor setData: C:\Documents and Settings\rmembrere\My Documents\MyDelorme\XML Publisher Project\CONVERSIONS\templates\DEL_POs\DEL\PO_Sample_2020870.xml
FOProcessor setLocale: en-us
FOProcessor setConfig: C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\config\xdo.cfg
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at oracle.apps.xdo.common.xml.XSLT10gR1.invokeProcessXSL(Unknown Source)
at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
at oracle.apps.xdo.common.xml.XSLTWrapper.transform(Unknown Source)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
at oracle.apps.xdo.template.FOProcessor.createFO(Unknown Source)
at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source)
at RTF2PDF.runRTFto(RTF2PDF.java:629)
at RTF2PDF.runXDO(RTF2PDF.java:439)
at RTF2PDF.main(RTF2PDF.java:289)
Caused by: oracle.xdo.parser.v2.XPathException: Variable not defined: '_XDONFSEPARATORS'.
at oracle.xdo.parser.v2.XSLStylesheet.flushErrors(XSLStylesheet.java:1534)
at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:521)
at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:489)
at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:271)
at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:155)
at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:192)
... 15 more
Anybody who has used the commands (page suppression) provided by Tim in his blog? May I know from what version you have done it? The blog was posted back in 2007.
Thanks! -
Sort Date format in Oracle XML Publisher
Hi All,
I have a requirement like trx_date sort. i have taken trx_date in dd-mon-yyyy format. now i given sort option like this..
<?for-each:G_TRX_ORDER_NUMBER?><?sort:TRANSACTION_TYPE?><?sort:DUE_DATE;'ascending';data-type=date?> <?sort:TRX_NUMBER?>
now i have 3 dates
07-NOV-10
20-MAY-11
20-DEC-10
using above sort option.. this dates are not coming as per the ascending order.
Can any one tell me what i have to ?
ThanksWhat is your application release?
Does the sort work for other data types?
What if you change "<?sort:DUE_DATE;'ascending';data-type=date?>" to "<?sort:DUE_DATE;'ascending';data-type='date'?>", does it make any difference?
Few examples about the sort can be found in these docs/links.
How to Group Data Dynamically at Runtime in a BI/XML Publisher RTF Template? [ID 1062816.1]
Sorting Data In eText Template [ID 1263511.1]
Oracle XML Publisher User's Guide
http://download.oracle.com/docs/cd/B25516_18/current/acrobat/115xdoug.zip
Thanks,
Hussein -
Oracle XML Publisher Template Builder 5.5
I have seen references to this word plug-in in various XML Publisher demos and presentations, but cannot find where to download the plug-in. Could anyone please provide some insight?
Thanks,
BrettBrett,
The patch number given in your reply doesn't seems to exist. Here is the patch number I found in Metalink.
Patch 4239263
Description XDO/ORACLE XML PUBLISHER TEMPLATE BUILDER PATCH 1.0.0
Product XML Publisher
Release Applications 11i
Platform or Language -------- Platforms --------Microsoft Windows (32-bit)
Last Updated 14-MAR-2005
Size 31M (32764293 bytes)
Thanks, Anbu Kuppusamy -
How to handle line break embeded inside CSV column
Hi there,
I am under the pressure to make it work. I already put this question on APEX forum, but on second thought, I think it relates more to PL/SQL rather than APEX since APEX 4.1 already have utility to handle CSV Upload.
If you read it already in APEX forum, please ignore.
I am sorry for that. Thanks for reading.
I need to develop an app that allows user to upload CSV file to a interface table.
The APEX version at my workplace is 4.0.2.
I used the code from
http://dbswh.webhop.net/htmldb/f?p=BLOG:READ:0::::ARTICLE:11000346061523
It all works well till recently I find out
If a column in a CSV file cotain a line break (or new line) e.g. (The tester copy and paste this text which has line break into a column in a spreadsheet)
This is the first sentence.
This is the second sentence.
It will break the “This is the second sentence”. To a new column.
The contents of the CSV viewed in Notepad look as below
Assessment Date,Scheduled Date,Assessment Provider,Assessor Name,Court,First Name,Middle Name,Last Name,PRN Person Record Number,NHI Number,Defendant Attended Y/N,Is Dependent Y/N,Notes,Primary Ethnicity,"Ethnicity Other, please specify",Gender,Currently in Treatment Y/N,Substance of Concern 5,Other Substance Specified
22/09/2012,,Provider Co Name,Warren Edgley,Wellington,,,Salty,2545554,dgsdf,ergerg,,"This is the first sentence.
This is the second sentence.",Japanese,,Female,b,,
Here is the code from the CSV UTIL, please help me to find out how can I replace the line break to a space so that the uploading process is correct.
CREATE OR REPLACE PACKAGE BODY "CSV_UTIL"
AS
--strip the beginning and the end quotes, then replace double quotation with single
FUNCTION de_quote (p_str IN VARCHAR2, p_enc_by IN VARCHAR2)
RETURN VARCHAR2
IS
v_str VARCHAR2(32767) := p_str;
BEGIN
IF (p_enc_by IS NULL)
THEN
RETURN p_str;
ELSE
IF SUBSTR(p_str,-1) = p_enc_by THEN
v_str := SUBSTR(p_str,1,LENGTH(p_str)-1);
END IF;
IF SUBSTR(p_str,1,1) = p_enc_by THEN
v_str := SUBSTR(v_str,2);
END IF;
RETURN REPLACE (v_str,
p_enc_by || p_enc_by,
p_enc_by
END IF;
END de_quote;
PROCEDURE parse (p_str IN VARCHAR2, p_enc_by IN VARCHAR2, p_sep IN VARCHAR2)
IS
l_n NUMBER DEFAULT 1;
l_in_quote BOOLEAN DEFAULT FALSE;
l_ch NCHAR (1);
l_len NUMBER DEFAULT NVL (LENGTH (p_str), 0);
BEGIN
IF (l_len = 0)
THEN
RETURN;
END IF;
g_words := g_empty;
g_words (1) := NULL;
FOR i IN 1 .. l_len
LOOP
l_ch := SUBSTR (p_str, i, 1);
IF (l_ch = p_enc_by)
THEN
l_in_quote := NOT l_in_quote;
END IF;
IF (l_ch = p_sep AND NOT l_in_quote)
THEN
l_n := l_n + 1;
g_words (l_n) := NULL;
ELSE
g_words (l_n) := g_words (l_n) || l_ch;
END IF;
END LOOP;
g_words (l_n) := de_quote (g_words (l_n), CHR(10));
g_words (l_n) := de_quote (g_words (l_n), CHR(13));
FOR i IN 1 .. l_n
LOOP
g_words (i) := de_quote (g_words (i), p_enc_by);
END LOOP;
END parse;
Author: Oleg Lihvoinen
Company: DbSWH
Changes:
10.02.2011, There was a miscalculation of the file line last position in case it is the end of file
PROCEDURE upload (p_file_name VARCHAR2, p_collection_name VARCHAR2, p_enc_by IN VARCHAR2, p_sep_by IN VARCHAR2, p_rows NUMBER)
IS
v_blob_data BLOB;
v_clob_data CLOB;
v_clob_len NUMBER;
v_position NUMBER;
v_char NCHAR (1);
c_chunk_len NUMBER := 1;
v_line VARCHAR2 (32767) := NULL;
v_data_array vcarray;
v_rows NUMBER := 0;
n_seq NUMBER := 1;
dest_offset NUMBER := 1;
src_offset NUMBER := 1;
amount INTEGER := DBMS_LOB.lobmaxsize;
blob_csid NUMBER := DBMS_LOB.default_csid;
lang_ctx INTEGER := DBMS_LOB.default_lang_ctx;
warning INTEGER;
l_sep VARCHAR2(100) := CASE WHEN p_sep_by = '\t' THEN chr(9) ELSE p_sep_by END;
BEGIN
htmldb_collection.create_or_truncate_collection
(p_collection_name => p_collection_name);
-- Read blob from wwv_flow_files
SELECT blob_content
INTO v_blob_data
FROM wwv_flow_files
WHERE NAME = p_file_name;
v_position := 1;
DBMS_LOB.createtemporary (lob_loc => v_clob_data,
CACHE => TRUE,
dur => DBMS_LOB.SESSION
DBMS_LOB.converttoclob (v_clob_data,
v_blob_data,
amount,
dest_offset,
src_offset,
blob_csid,
lang_ctx,
warning
v_clob_len := DBMS_LOB.getlength (v_clob_data);
IF v_clob_len = 0 THEN
RETURN;
END IF;
WHILE (v_position <= v_clob_len + 1)
LOOP
v_char := DBMS_LOB.SUBSTR (v_clob_data, c_chunk_len, v_position);
v_line := v_line || v_char;
v_position := v_position + c_chunk_len;
-- When the whole line is retrieved and not end of file or end of file
IF v_char = CHR (10) AND v_position < v_clob_len OR v_position = v_clob_len + 1
THEN
parse (p_str => v_line, p_enc_by => p_enc_by, p_sep => l_sep);
v_data_array := g_words;
FOR i IN 1..g_words.count LOOP
IF i <= 50 THEN
v_data_array(i) := g_words(i);
ELSE
exit;
END IF;
END LOOP;
FOR i IN g_words.count + 1..50 LOOP
v_data_array(i) := null;
END LOOP;
v_rows := v_rows + 1;
-- exit if uploaded specified number of rows
IF p_rows IS NOT NULL AND v_rows > p_rows THEN
EXIT;
END IF;
-- Store data to collection
n_seq :=
htmldb_collection.add_member
(p_collection_name => p_collection_name,
p_c001 => v_data_array
(1),
p_c002 => v_data_array
(2),
p_c003 => v_data_array
(3),
p_c004 => v_data_array
(4),
p_c005 => v_data_array
(5),
p_c006 => v_data_array
(6),
p_c007 => v_data_array
(7),
p_c008 => v_data_array
(8),
p_c009 => v_data_array
(9),
p_c010 => v_data_array
(10),
p_c011 => v_data_array
(11),
p_c012 => v_data_array
(12),
p_c013 => v_data_array
(13),
p_c014 => v_data_array
(14),
p_c015 => v_data_array
(15),
p_c016 => v_data_array
(16),
p_c017 => v_data_array
(17),
p_c018 => v_data_array
(18),
p_c019 => v_data_array
(19),
p_c020 => v_data_array
(20),
p_c021 => v_data_array
(21),
p_c022 => v_data_array
(22),
p_c023 => v_data_array
(23),
p_c024 => v_data_array
(24),
p_c025 => v_data_array
(25),
p_c026 => v_data_array
(26),
p_c027 => v_data_array
(27),
p_c028 => v_data_array
(28),
p_c029 => v_data_array
(29),
p_c030 => v_data_array
(30),
p_c031 => v_data_array
(31),
p_c032 => v_data_array
(32),
p_c033 => v_data_array
(33),
p_c034 => v_data_array
(34),
p_c035 => v_data_array
(35),
p_c036 => v_data_array
(36),
p_c037 => v_data_array
(37),
p_c038 => v_data_array
(38),
p_c039 => v_data_array
(39),
p_c040 => v_data_array
(40),
p_c041 => v_data_array
(41),
p_c042 => v_data_array
(42),
p_c043 => v_data_array
(43),
p_c044 => v_data_array
(44),
p_c045 => v_data_array
(45),
p_c046 => v_data_array
(46),
p_c047 => v_data_array
(47),
p_c048 => v_data_array
(48),
p_c049 => v_data_array
(49),
p_c050 => v_data_array
(50)
-- Clear the line
v_line := NULL;
END IF;
END LOOP;
END;
END;In my apps, I save these straight into a table rather than an APEX collection because the number of columns can be longer than 50.
I want to find out how can replace these line break inside a column to a space.
If any one has any ideas, please let me know.
Thanks a lot in advance.
AnnAnn586341 wrote:
I think the code split the whole thing by this line
-- When the whole line is retrieved and not end of file or end of file
IF v_char = CHR (10) AND v_position < v_clob_len OR v_position = v_clob_len + 1
THEN
Yes, exactly. That piece of code believes all CHR(10) occurences are record delimiters.
It is not smart enough to recognize that a CHR(10) within quotation marks are part of the data.
Optimally a solution should keep the CHR(10) rather than replacing with spaces, but that will be a bigger rewrite of the UTL_CSV code ;-)
If you are happy with replacing with spaces, a "simple" solution could be something like:
Declare a boolean variable in upload procedure:
v_within_text_column boolean := false;And use it like this:
WHILE (v_position <= v_clob_len + 1)
LOOP
v_char := DBMS_LOB.SUBSTR (v_clob_data, c_chunk_len, v_position);
IF v_char = '"' THEN
v_within_text_column := NOT v_within_text_column;
ELSIF v_char = CHR(10) AND v_within_text_column THEN
v_char := ' ';
END IF;
v_line := v_line || v_char;
v_position := v_position + c_chunk_len;
-- When the whole line is retrieved and not end of file or end of file
IF v_char = CHR (10) AND v_position < v_clob_len OR v_position = v_clob_len + 1
THEN
v_within_text_column := false; -- To be safe always set this on "true" linebreaks
{code}
+(This is untested code just written here in the text editor.)+
It should work by toggling a flag whether you are "within" the quotes or not and then replacing CHR(10) with a space if you are within a text column.
This way we avoid having to go through the clob more than once (it is enough that this code walks the clob one character at a time...)
It will not handle if the clob contains situations like:
{code}
abc,123,"This is a text with a quote from a man who said \"To Be,
or Not To Be\" some hundred years ago",123,xyz
{code}
Escaped quotes would need separate attention ;-) -
Oracle XML Publisher Java API's showing arabic characters as question marks
Hi All,
I have created a custom xml publisher report. All the setups in xdo.cfg and the fonts have been installed. When i run the report as concurrent program using the XDODTEXE as the executable this report executes fine displaying the arabic characters in the PDF output.
I have integrated this xml report to a OAF page where am getting the output of the arabic characters as ???????
Following is the java code i have used to generate the blob for the xml publisher report.
pageContext.writeDiagnostics(this,"Inside process Template",4);
AppsContext appsContext = ((OADBTransactionImpl)pageContext.getRootApplicationModule().getOADBTransaction()).getAppsContext();
String applicationShortName = dataDefApplication;
String dataSourceCode = dataDefCode;
OutputStream os = new ByteArrayOutputStream();
try {
DataTemplate dataTemplate = new DataTemplate(transaction.getAppsContext(), dataDefApplication, dataDefCode);
//Get Parameters
ArrayList parameters = dataTemplate.getParameters();
//set Parameter Values as ArrayList of oracle.apps.xdo.dataengine.Parameter
Iterator it = parameters.iterator();
while (it.hasNext())
Parameter p = (Parameter) it.next();
pageContext.writeDiagnostics(this,"Processing Parameters "+p.getName(),4);
if (p.getName().equals("P_AUCTION_HEADER_ID"))
if(AuctionHeaderId != null)
p.setValue(AuctionHeaderId);
else
p.setValue(null);
dataTemplate.setOutput(os);
dataTemplate.processData();
System.out.println(os.toString());
} catch (SQLException e) {
System.out.println("SQLException occurred.");
} catch (XDOException e) {
System.out.println("XDOException occurred.");
} catch(Exception e){
System.out.println("Exception (other) occurred.");
byte[] xmlb = os.toString().getBytes();
BlobDomain blob = new BlobDomain(xmlb);
return blob;
Kindly let me if i had missed something.
Thanks
AnoopOn a related note, I am seeing a couple of different types of 'incorrect' characters based on different NLS_LANG settings.
If it is set to AMERICAN_AMERICA.UTF8, I get characters like this:
رقم الموظ�
If it is set to ARABIC_UNITED ARAB EMIRATES.AR8MSWIN1256, I get characters like this:
ÑÞã ÇáãæÙÝ
Do any of you know what these characters are?
Thanks for any insight. -
Patch 5027437 Oracle XML Publisher Desktop 5.6.2
Hi
Did any body download the New Desktop XML Publisher Patch (5.6.2)?
I can not find at meta link. Is this available?
Thanks
ASIMhttps://metalink.oracle.com/metalink/plsql/f?p=130:14:5396698038376187095::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,367394.1,1,1,1,helvetica
MetaLink Note ID: 367394.1 -
What is the current Version of Oracle XML Publisher
Hi,
This is S.V.Ramana Rao from india pls let me know following Details please, presently iam using XML Publisher Release 5.6.2, this is the current verions?. if it is a free version. where should i contact full version. for further details in india
1.what is the Current versin of XML Publisher.
2.can i deploy the in the server so that, access multuple clents? is it possible?
3. what is the system requirments to deploy.
Please Give me Details.
Thank you,
S.V.Ramana Rao.Hi ,
Thanks for all you helping.
I have got question on this, if xmlp 5.6.3 is recent version, then what about oracle BI publisher (formerly known as xmlp) 10.1.3.0 version came out and most of the clients started using this.So to the best of my knowledge this is the latest version.
Please correct me if think wrong,
--skbi -
Remove line breaks within a xml element
Hi,
I have a xml element that contains a long text string with multiple line breaks. something like this:
text
text
text text
text
text text text
text
How can I remove all line breks except one, i e I still want a line brek after each text line:
text
text
text text
text
text text text
text
Thanks for you help!
MagnusThis is a media object (BLOB) in a JDE report. But we have now modified the report to get the xml file correct from start instead.
/Magnus -
VSTO: How to set line break in Ribbon Xml?
Hi All,
I have a button in Ribbon.xml. it looks like:
<group label="myLabel" id="View">
<checkBox id="cbView" label="ViewViewviewviewview" getPressed="cbView_Pressed"/>
</group>
The result is shown as:
The checkbox is too long. My question is : How to set line break in checkbox's label.
Thanks a lot,
By the way, in Ribbon Xml. How to add RadioButton?Hello Ricky,
The Fluent UI (aka Ribbon UI) doesn't provide any attribute or callback for that. You can try to use an escape sequence "\n\r", but I am not sure whether it helps. Also you may consider placing a text block below the check box control.
You can read more about the Ribbon UI in the following series of articles:
Customizing the 2007 Office Fluent Ribbon for Developers (Part 1 of 3)
Customizing the 2007 Office Fluent Ribbon for Developers (Part 2 of 3)
Customizing the 2007 Office Fluent Ribbon for Developers (Part 3 of 3) -
Does Oracle XML Publisher version 5.6.2 integrate with Oracle Portal?
We want to know if XMLP is just an external application to Oracle Portal or if
it integrates with Oracle Portal.Shaun,
How did get World Sales report work? What did you put on URL? I put:
http://Sever name:15101/xmlpserver/Sales Manager/World Sales/WorldSales.xml
It always showed error message to me.
Please help, Thanks.
- Jessie -
Link To Download Oracle XML Publisher 5.6.2
Hi Every Body
You Can Download A Standlone Version of XMLP 5.6.2 from this link
http://edelivery.oracle.com/EPD/Download/get_form?egroup_aru_number=8430763
My RegardsXML Publisher 5.6.2 API may be used in JDeveloper 11g by importing the Oracle JDBC library definition from JDeveloper 10.1.3. Instead of the Oracle JDBC library in JDeveloper 11g create a Oracle JDBC library from the JDeveloper 10.1.3 Oracle JDBC library JAR files.
-
Urgent !!! Line breaks using Oracle email option
Dear All,
I need an urgent help. My query is some what confusing so please do let me know if you need any clarification.
What I want to do is that I am using the Oracle email option. when I perform a backup the server sends an email to all the concerned authorities. It is fine till this stage. Infact that message that I am sending in the email is a TWO row query in the database. To display this message on SQL prompt is ok as it will appear in TWO lines. But in the email these two rows appear to have concated.
What i want to achieve is that each row should appear in separate line in the email as well. just like using the HTML tag <BR>, the next line is displayed in the next line. Is there any SQL command which I can use to solve my problem.
I would appreciate an urgent response as I am already short of time.
With best regards.
Khurram.I used to declare a varchar variable for end of line like this:
EOL VARCHAR2(10) := CHR(13) || CHR(10);
Then I have concatenated this variable any time when I needed like this.
'First line'||EOL||'Second line'
Take care, email RFC specifies that a new line is composed from a carriage return a new line "\r\n", so you must use both CHR(13) and CHR(10), Oracle equivalent for \r and \n.
Andrei
Maybe you are looking for
-
Implementing data access/security in OBI EE
Hi Everyone I have got a requirement to introduce data level security in OBI sitting on two data sources : SQL Server and ESSBASE. The requirement is as such that if a user has access to region ASIA he can see only ASIA data but the problem is the AS
-
Well, I finally have PHP embedded within HTML working however the directory structure is totally confusing me. I place files is /MAMP/htdocs and yet nothing works unless I add /MAMP/htdocs/htdocs and place the index and other php files ALSO in there
-
How can I Suscribe and use FormsCentral from Venezuela?
Is it possible to suscribe from United Kindom and access my account to use it from and in Venezuela?
-
Error in connection string...
Hi All, When I try to connect with Database(10g) through SQL*Plus, I generally login with sysdba user (like sqlplus "/as sysdba") there could be number of ways we can login to sql tool. normally I follow this ... sqlplus "/as sysdba" but for my appli
-
Possible to use swf or other screen capture files with RH8
Or am I limited to image files. Wish I could transition to HTML but not an option right now. Thanks for your help.