XML File Tags Validation Using Oracle.
Dear Forum Members,
I have a doubt regarding XML File Tags Validation.
First I will explain My Requirement.
1. I have to generate an XML File in a Predefined Format.
2. User will add some data in the elements, or he may copy the same elements and change to some data like
<Emp><Empno>10</Empno></Emp>
The above tag will be generated by the application.
User will copy the same and change to
<Emp><Empno>20</Empno></Emp>.
Now he want to Upload the Changed XML File to the Database table. This is done by parsing the XML File.
The Creation and Parsing section is over. But before Parsing I want to check for the Validation of the XML Tag. i.e. whether the tag he has copied <Emp><Empno>10</Empno></Emp> is chaned by mistake to
<Emp><Empno>10</Empno></Emps> or some other Mistakes.
What I have to Do..
Regards
Madhu K
I still think that my previous response is valid:
If you e.g. include (concat) your DTD in your XML it will be validated against it!
See e.g.:
michaels> select xmltype (xml_dtd || your_xml) your_validated_xml
from (select '<SSDDATA>
<KEY><![CDATA[6707]]></KEY>
<FINISHED><![CDATA[This is a Finished data ]]></FINISHED>
<DEFAULT></DEFAULT>
<MIN></MIN>
<MAX></MAX>
<UNIT></UNIT>
<FORMULA></FORMULA>
<FORMULA></FORMULA>
<FORMULA-DESC></FORMULA-DESC>
<ADVANCED-FORMULA></ADVANCED-FORMULA>
<INTERNAL-ADAPT-DESC></INTERNAL-ADAPT-DESC>
<DATA-DESC-REPORT></DATA-DESC-REPORT>
<REV-DESC></REV-DESC>
</SSDDATA>' your_xml,
'<?xml version="1.0"?>
<!DOCTYPE SSDDATA [
<!ELEMENT SSDDATA (KEY,FINISHED,DEFAULT,MIN,MAX,UNIT,(FORMULA)+,FORMULA-DESC,ADVANCED-FORMULA,INTERNAL-ADAPT-DESC,DATA-DESC-REPORT,REV-DESC)>
<!ATTLIST SSDDATA xmlns CDATA #FIXED "">
<!ELEMENT KEY (#PCDATA)>
<!ATTLIST KEY xmlns CDATA #FIXED "">
<!ELEMENT FINISHED (#PCDATA)>
<!ATTLIST FINISHED xmlns CDATA #FIXED "">
<!ELEMENT DEFAULT EMPTY>
<!ATTLIST DEFAULT xmlns CDATA #FIXED "">
<!ELEMENT MIN EMPTY>
<!ATTLIST MIN xmlns CDATA #FIXED "">
<!ELEMENT MAX EMPTY>
<!ATTLIST MAX xmlns CDATA #FIXED "">
<!ELEMENT UNIT EMPTY>
<!ATTLIST UNIT xmlns CDATA #FIXED "">
<!ELEMENT FORMULA EMPTY>
<!ATTLIST FORMULA xmlns CDATA #FIXED "">
<!ELEMENT FORMULA-DESC EMPTY>
<!ATTLIST FORMULA-DESC xmlns CDATA #FIXED "">
<!ELEMENT ADVANCED-FORMULA EMPTY>
<!ATTLIST ADVANCED-FORMULA xmlns CDATA #FIXED "">
<!ELEMENT INTERNAL-ADAPT-DESC EMPTY>
<!ATTLIST INTERNAL-ADAPT-DESC xmlns CDATA #FIXED "">
<!ELEMENT DATA-DESC-REPORT EMPTY>
<!ATTLIST DATA-DESC-REPORT xmlns CDATA #FIXED "">
<!ELEMENT REV-DESC EMPTY>
<!ATTLIST REV-DESC xmlns CDATA #FIXED "">
]>' xml_dtd
from dual)
YOUR_VALIDATED_XML
<?xml version="1.0"?>
<!DOCTYPE SSDDATA [
<!ELEMENT SSDDATA (KEY,FINISHED,DEFAULT,MIN,MAX,UNIT,(FORMULA)+,FORMULA-DESC,ADVANCED-FORMULA,INTERNAL-ADAPT-DESC,DATA-DESC-REPORT,REV-DESC)>
<!ATTLIST SSDDATA xmlns CDATA #FIXED "">
<!ELEMENT KEY (#PCDATA)>
<!ATTLIST KEY xmlns CDATA #FIXED "">
<!ELEMENT FINISHED (#PCDATA)>
<!ATTLIST FINISHED xmlns CDATA #FIXED "">
<!ELEMENT DEFAULT EMPTY>
<!ATTLIST DEFAULT xmlns CDATA #FIXED "">
<!ELEMENT MIN EMPTY>
<!ATTLIST MIN xmlns CDATA #FIXED "">
<!ELEMENT MAX EMPTY>
<!ATTLIST MAX xmlns CDATA #FIXED "">
<!ELEMENT UNIT EMPTY>
<!ATTLIST UNIT xmlns CDATA #FIXED "">
<!ELEMENT FORMULA EMPTY>
<!ATTLIST FORMULA xmlns CDATA #FIXED "">
<!ELEMENT FORMULA-DESC EMPTY>
<!ATTLIST FORMULA-DESC xmlns CDATA #FIXED "">
<!ELEMENT ADVANCED-FORMULA EMPTY>
<!ATTLIST ADVANCED-FORMULA xmlns CDATA #FIXED "">
<!ELEMENT INTERNAL-ADAPT-DESC EMPTY>
<!ATTLIST INTERNAL-ADAPT-DESC xmlns CDATA #FIXED "">
<!ELEMENT DATA-DESC-REPORT EMPTY>
<!ATTLIST DATA-DESC-REPORT xmlns CDATA #FIXED "">
<!ELEMENT REV-DESC EMPTY>
<!ATTLIST REV-DESC xmlns CDATA #FIXED "">
]><SSDDATA>
<KEY><![CDATA[6707]]></KEY>
<FINISHED><![CDATA[This is a Finished data ]]></FINISHED>
Similar Messages
-
can the "mode" tag in vhost.xml file be edited using getconfig() and setconfig()?
You can create client and have following code in it: (But before that Admin Server is running on the machine which you want make edge server programatically)
var admin_nc = new NetConnection();
sendCommand.enabled = false; // where sendCommand is button on stage with "sendCommand" as instance name
admin_nc.onStatus = function(info) {
if (info.code == "NetConnection.Connect.Success")
sendCommand.enabled = true;
sendBtn.addEventListener("click", callAdminAPI);
function callAdminAPI() {
admin_nc.call("setConfig2",new Result1(),"Proxy/Mode","remote","Adaptor:_defaultRoot_/VHost:_defaultVHost_");
function Result1() {
this.onResult = function(info) {
if (info.code == "NetConnection.Call.Success" ) {
admin_nc.call("startServer",new Result2(),"restart"); // you can might as well use restartVHost
function Result2(){
this.onResult = function(info) {
if (info.code == "NetConnection.Call.Success" ) {
trace("Server started successfully);
admin_nc.connect("rtmp://<your Edge Server IP>:1111/admin","admin","admin"); //here admin/admin is userid/password of Admin of server -
XML validation using Oracle XML parser v2
Not sure if this is the right forum for this question as I didn't found any.
I had a tough time trying to build an XMLSchema (Oracle XML Parser V2) object from the input schema having include/import. Actually I am working on a Java program to validate the input xml with input schema using Oracle XML parser v2 api.
The issue is that the code doesn't work for schema that has some "include" in it. The code is working fine for the schema without any import/include. Here is the lines of code -
XSDBuilder builder = new XSDBuilder();
schema = builder.build(new InputSource(xsdReader));
I am writing this in JDeveloper. The error is -
oracle.xml.parser.schema.XSDException: Can not build schema 'http://www.fpml.org/2005/FpML-4-2' located at 'xsd\FpML42\xml\fpml-fx-4-2.xsd'
I also tried creating the EntityResolver to specify the path of included schema. But that doesn't solves the problem.
I am not sure whether parser is able to locate the included schema or not.The main schema and included schema are all in same folder. The included schema is perfectly fine and has no errors.
Please help if you have encountered this issue and resolved it. I will really appreciate any pointers or clue to solve this issue.
Thanks.Thanks for the reply. But it does not seem to be working. Am I missing something
I put <TrxDate xsi:nil="true"/> but still getting error.
Here's my xsd:
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified">
<xsd:element name="TrxDate" type="xsd:date" nillable="true" />
XML:
<?xml version="1.0" encoding="UTF-8" ?>
<ServiceRequest>
<TrxDate nil="true"/>
</ServiceRequest> -
Reading an xml file in actionscript using flex3
plzz tell me how to read an xml file in actionscript using flex3.......
One possible option to parse an xml-file to a flex XML object:
public function parseConXML(source:String):void
xmlLoader = new URLLoader();
xmlLoader.load(new URLRequest(source));
// Eventlistener: if URL loaded --> onLoadComplete function
xmlLoader.addEventListener(Event.COMPLETE, xmlLoadComplete);
public function xmlLoadComplete(evt:Event):void{
var xml:XML = new XML();
// ignore comments in XML-File
XML.ignoreComments = true;
//ignore whitespaces in XML-File
XML.ignoreWhitespace = true;
// XML-Objekt erstellen
xml = new XML(evt.target.data);
//AFTERWARDS use your xml as your wish -
Convert XML file into DTD using Java
Hi All,
I want to do convert the xml file into DTD using Java.
I read the DOM package but didnt get clear idea.
Anyone of you have an idea please share the coding with me.
Any suggestions greatly appreciated.
Thanks
VeeraHi All,
I want to do convert the xml file into DTD using Java.
I read the DOM package but didnt get clear idea.
Anyone of you have an idea please share the coding with me.
Any suggestions greatly appreciated.
Thanks
Veera -
How do I upload an XML file to salesforce using BULK API?
Hi There,
Please let me know how do we upload an XML file to salesforce using Bulk API?
Thanks,
ETHi,
I think that this is a more SalesForce.com question and think you will have more chance looking at SOAP API Developer's Guide for salesforce. Sending a SOAP request from the API Server is very straight forward and there are several tutorials and well documented about this.
Cheers,
Stefan -
XML file opening error using CV03N in ECC6
Experts, I am getting below error while opening an XML file in ECC6 using transaction CV03N. File was generated in 4.6C and system is upgraded to ECC6.
" The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
A name contained an invalid character. Error processing resource 'file:///C:/temp/ABC.xml'. Line 1, Position 35 "Experts, I am getting below error while opening an XML file in ECC6 using transaction CV03N. File was generated in 4.6C and system is upgraded to ECC6.
" The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
A name contained an invalid character. Error processing resource 'file:///C:/temp/ABC.xml'. Line 1, Position 35 " -
How to align a raw Xml file tag by tag using java
Hi All,
Can any one please help me in writing a java code(jdk1.3) ,which will format a raw xml file and keep the formated data in a string object.Ex File:
<POSBasket><Keyword>1|51|7|4116</Keyword><LastUpdated>2008-03-31T19:01:08+01:00</LastUpdated><MajorVersion>1</MajorVersion><MinorVersion>0</MinorVersion><BasketType>Sale</BasketType><State>Processed</State><Header><DateTimeCreated>2008-03-31T18:41:51+01:00</DateTimeCreated><OriginatedBy><DeviceID>ALL.MAT.51.TILL7</DeviceID><CashierID>051ROD</CashierID><CompanyID>1</CompanyID><StoreID>51</StoreID><BranchID>51</BranchID><TerminalNumber>7</TerminalNumber><TransactionNumber>4116</TransactionNumber></OriginatedBy><TaxMethodID>1</TaxMethodID><CustomerNumber>022578200260577</CustomerNumber><CustomerPan>022578200260577</CustomerPan><LoyaltyAccountNumber>022578200260577</LoyaltyAccountNumber><BasketLanguageID>en</BasketLanguageID><BasketCountryID>GB</BasketCountryID><BasketCurrencyID>GBP</BasketCurrencyID></Header></POSBasket>
expected format:
<POSBasket>
<Keyword>1|51|7|4116</Keyword>
<LastUpdated>2008-03-31T19:01:08+01:00</LastUpdated>
<MajorVersion>1</MajorVersion>
<MinorVersion>0</MinorVersion>
<BasketType>Sale</BasketType>
<State>Processed</State>
<Header>
<DateTimeCreated>2008-03-31T18:41:51+01:00</DateTimeCreated>
<OriginatedBy>
<DeviceID>ALL.MAT.51.TILL7</DeviceID>
<CashierID>051ROD</CashierID>
<CompanyID>1</CompanyID>
<StoreID>51</StoreID>
<BranchID>51</BranchID>
<TerminalNumber>7</TerminalNumber>
<TransactionNumber>4116</TransactionNumber>
</OriginatedBy>
<TaxMethodID>1</TaxMethodID>
<CustomerNumber>022578200260577</CustomerNumber>
<CustomerPan>022578200260577</CustomerPan>
<LoyaltyAccountNumber>022578200260577</LoyaltyAccountNumber>
<BasketLanguageID>en</BasketLanguageID>
<BasketCountryID>GB</BasketCountryID>
<BasketCurrencyID>GBP</BasketCurrencyID>
</Header>
</POSBasket>
Can anyone help me on preparing logic using core java ??? -
XML File Generation Issues using DBMS_XMLGEN
Hi,
I am using DBMS_XMLGEN package in a stored procedure to generate an XML file on Oracle 10 G R2 .But, the problem is the format in which the file is generated.
CREATE OR REPLACE TYPE "state_info" as object (
"@product_type" Number
CREATE OR REPLACE TYPE prod_tab as TABLE OF "state_info";
CREATE OR REPLACE TYPE state_t as object (
"state_code" CHAR(2),
"state_info" prod_tab
CREATE OR REPLACE PROCEDURE get_xml_serviced_state (p_clob OUT clob)
IS
v_xmlctx DBMS_XMLGEN.ctxhandle;
v_str VARCHAR2 (1000);
BEGIN
v_str := 'SELECT state_t(a.st_cd,CAST(MULTISET(select veh_type_id from svcd_st where st_cd =a.st_cd)as prod_tab)) as "state_info"
from svcd_st a where a.st_cd in (select distinct st_cd from svcd_st) group by a.st_cd having count(*)>=1';
v_xmlctx := DBMS_XMLGEN.newcontext (v_str);
DBMS_XMLGEN.setrowsettag (v_xmlctx,'serviced_state');
DBMS_XMLGEN.setrowtag (v_xmlctx,NULL);
p_clob := DBMS_XMLGEN.getxml (v_xmlctx);
printclobout(p_clob);
EXCEPTION
WHEN NO_DATA_FOUND
THEN
NULL;
WHEN OTHERS
THEN
RAISE;
END;
SHOW ERRORS
Output :
<serviced_state>
<state_info state_code="VA">
<state_info>
<state_info product_type="2"/>
<state_info product_type="5"/>
<state_info product_type="9"/>
</state_info>
</state_info>
<state_info state_code="AB">
<state_info>
<state_info product_type="2"/>
<state_info product_type="5"/>
<state_info product_type="9"/>
</state_info>
</state_info>
</serviced_state>
Required it in below format:
<serviced_state>
<state_info state_code="VA">
<state_info product_type="2"/>
<state_info product_type="5"/>
<state_info product_type="9"/>
</state_info>
<state_info state_code="AB">
<state_info product_type="2"/>
<state_info product_type="5"/>
<state_info product_type="9"/>
</state_info>
</serviced_state>
I just need to put in all the rows under one single tag.Appreciate your early responses.
Thanks.Your wanted XML output is NOT VALID...(try it yourself on http://tools.decisionsoft.com/schemaValidate/)
-
XML data into Oracle Tables. XML file on Application Server.Oracle Apps R12
Hi All,
My Database version : 11.2.0.2.0
I have an XML file which needs to be loaded into the Database Tables. How ever i do not want to use the XMLTYPE as given below
insert into test1 (
SELECT PrcDate, PmtType, PmtStatus, PmtTypeCount, PmtTypeAmt
FROM XMLTABLE(
'/WFPaymentAck/RejectedDom1ACH'
PASSING XMLTYPE( BFILENAME('ECX_UTL_LOG_DIR_OBJ','wf_test_xml.XML'), NLS_CHARSET_ID('UTF8') )
COLUMNS
PrcDate VARCHAR2(2000) PATH '@PrcDate' ,
PmtType VARCHAR2(2000) PATH '@PmtType' ,
PmtStatus VARCHAR2(100) PATH '@PmtStatus' ,
PmtTypeCount VARCHAR2(100) PATH 'PmtTypeCount' ,
PmtTypeAmt VARCHAR2(100) PATH 'PmtTypeAmt'
Because this way the XML file needs to reside on the DB server.
I am looking into other option of loading the XML file into a CLOB column of a table and reading it from that column.
I did a couple of tests and feel that this way also the XML file has to reside on the Database Server itself. I am not sure if this is correct or if there is any problem with our TEST instance.
++Can anyone let me know if i need to have the XML file on the DB server instead of the Application server to load into a CLOB column of table ??++
++Or++
++Is there any other workaround for me to load XML into Oracle Tables, while having the XML file on Application Server.++
Your immediate help is appreciated. I need to get past this ASAP.
Thanks in Advance.
VJ1) Are you asking me to create a folder on Database directory which points to a folder on the Apps server ?I suggest creating an Oracle directory object (a database object) pointing to a real location (folder) on Application server.
we DONOT want a hand shake between the DB Server and the APPS server.I don't see where the problem is.
I'm not familiar with Apps R12 but there's no doubt the two servers are already communicating, at least App server should be able to access the DB for the whole thing to run.
As I said :
One way or another, the data has to make its way to the database, there's no workaround to that.How do you imagine the data will end up in a database table if it doesn't come to the DB server?
There's no magical method out there, both servers have to communicate at some point.
About client-server approaches (client being here the App server), you can read about accessing the XML DB repository in the XML DB Developer's Guide : http://download.oracle.com/docs/cd/E11882_01/appdev.112/e23094/toc.htm
Other option : SQL*Loader can load a CLOB, or an XMLType column too
Edited by: odie_63 on 19 déc. 2011 20:22 -
Datalink sequence method (XML file generation problem using Rdf)
Hi All
I want to Generate XML File using RDF , Here i used 4 datablocks and i lilnked each datablock with datalink like 1 to 2, 1to 3 and 1 to 4 respectively. while executing the report it choosing only one link like 1 to 2 and writting the data in the file for the same. its not touching 3rd and 4th datablocks I need to have data for all the blocks that are available.
One more thing i want to close each blockonce the data is written in the file.But in this case the tags get open wites data goes to the other block write the data for this block come back to the first block and closes the block.
eg: <Start>
<First block>
<Second block>
<Third Block>
</Third block>
</second block>
</First block>
</Start>
My requirment is
<start>
<First block>
</First block>
<Second block>
</Second block>
<Third Block>
</Third block>
</Start>You might want to look at the SQL/XML operators XMLAGG, XMLELEMENT, XMLFOREST, XMLATTRIBUTES. They provide you with fine grained control over the XML generated.
-
On our Oracle Server there are multipe XML files that I have to read and put the data into an ORACLE 10 table.
I have to threath these XML files one by one.
In the XML there is also een base64-stream (alwasys a WORD-document) . This base64-stream exists of 1.000.000 characters.
How can I read this base64-stream from the XML-file into a BLOB-column of my ORACLE 10 table
ORACLE 10
1 XML = +/- 1 MB
PL/SQL
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<slo xmlns="http://www.myschema.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SZEn0uO0Ayz
pQQAALNCCQAAAA==</Doc>
</slo>If I understand your question correctly, the discussion in this thread
ORA-31167: 64k size limit for XML node
shows you do not have a lot of options.
As you are needing to extract the contents of a node from an XML document, and that node is > 64K, you are going to need to treat the entire XML as a CLOB and use CLOB functionality (aka INSTR, SUBSTR) to find and extract what you need.
Once your DB version is 11.1 or greater, then you can use the built-in that Billy mentions.
Note: mdrake is Mark Drake from Oracle. -
Example XML file - tags, metadata, etc??
Hi;
Again, I apologize for being so obnoxious.
When you specify the fileNameNoExt.xml by adding the -xml to your request, I am to assume that this overrides the config files at the packaging server, correct?
So, on that note, I do not really see which XML tags I would need to add or edit.
Where would I find a list of all of the accepted XML tags that I would use? The reason that I ask is that I do not see an XML tag that would indicate a Media Server location an/or URL.
Maybe I just cannot see the forest through the trees.
If someone has an example XML file that shows the location and src of the uploaded publication, would they PLEASE post it?
That is all I would need. I just want to know what tags to put around these parameters. I am having a hell of a time finding that information.
Thanks
GlenHi;
Again, I apologize for being so obnoxious.
When you specify the fileNameNoExt.xml by adding the -xml to your request, I am to assume that this overrides the config files at the packaging server, correct?
So, on that note, I do not really see which XML tags I would need to add or edit.
Where would I find a list of all of the accepted XML tags that I would use? The reason that I ask is that I do not see an XML tag that would indicate a Media Server location an/or URL.
Maybe I just cannot see the forest through the trees.
If someone has an example XML file that shows the location and src of the uploaded publication, would they PLEASE post it?
That is all I would need. I just want to know what tags to put around these parameters. I am having a hell of a time finding that information.
Thanks
Glen -
Error while posting xml file to URL using URLConnection
Hello everyone,
I am facing an issue from long time related to URLConnection. If this would be resolved by your help then I would be very grateful to you.
One application which posts xml file to URL hangs and after waiting for 5 mins it throws 504 error:
java.io.IOException: Server returned HTTP response code: 504 for URL: http:hostname.
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:715)
Same application is running fine without error on another environment from last 5 years. But on another env it is erroring out from the day 1.
We have many workarounds in place none worked.
I tried to use HttpClient from apache but that too hanged at URLConnection.getInputStream() method call.
App is running on iPlanet web server 6.1 using JDK 1.4.0_03
We still dont know why this program hangs at that particular line in only one env but many times it runs fine. That means 30% of the times it posts xml file without error but 70% times it errors out. So our program logic is to retry until post is successful.
Once this issue is resolved we will remove the logic of trying again and agian.
Please provide inputs.
Thanks,
NitinThe HTTP response 504 means that the server, acting as a gateway, has not received a response from an upstream server in the time it expected.
I think this is problem is due to the remote server that receives the XML and takes too long to return a response to the local application that posted the XML.
Try HttpClient and set the timeout variable of the HttpClient instance used.
Here http://svn.apache.org/viewvc/jakarta/commons/proper/httpclient/trunk/src/examples/PostXML.java?revision=480424&view=markup
a Post XML sample.
NB: HttpClient > setTimeout method is deprecated. See : http://jakarta.apache.org/commons/httpclient/apidocs/index.html for an alternative
Hope That Helps -
Generate XML file from RFC using Web Services
Hi,
I am trying to save an RFC enabled Function Module output to an XML file using ABAP web services.
I could able to create Web Service and release it using WSCONFIG/WSADMIN. I can actually get the output in XML file when i launch the web service home page. But I need this to be done in the ABAP program itself. So If i run the RFC I could able to create,release web service and capture the Generated XML file by SOAP runtime.
Any FM available?
Thanks,
Ram Sanjeevwhich version of WAS you are on .
if you are on WAS6.40 check the following weblog on how to consume webservice using the wsdl file.
/people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap
lower version of WAS use class cl_http_client.
if this case you have to manually build the soap message.
/people/durairaj.athavanraja/blog/2004/09/20/consuming-web-service-from-abap
Regards
Raja
Maybe you are looking for
-
The tabs were working fine, but now tabs will not open when I click on the 'open a new tab + ' button, or if I go to 'file, new tab'. A new tab only opens when I click a link, but I cannot open a tab at will to start a new page. I used your troublesh
-
Custom field in ESS Bank Information Screen in wrong location
We created two custom fields for WD-ESS Bank Information (1.41). These were added to the iView using Personalization. Now it is apparent that the Statement text field needs to be above the Checkbox field in order for these to work correctly. I have
-
Load or import custom style mapping in link options – is that possible somehow?
Hi Everyone, I'm working with Instructions for Use and Technical Manual documents in InDesign. I'm constantly fine-tuning our templates, and now I have to refresh them again, because of a brand refresh. I'm using the Custom Style Mapping in the Link
-
"9iAS Forms/Reports version" vs "9iAS Java Version"
Everybody knows that Oracle pushing for the JDeveloper 9i and 9iAS. The new "9iAS Java Version" for 5,000 dollars per CPU is a great price. When Oracle is going to release a "9iAS Forms/Reports Version", which will include 5 developer licenses for Fo
-
Can't run wallet manager to generate certificate request
Hi! I'm having some trouble running the wallet manager to generate a security certificate on a live application server box. No matter what I do from the GUI I can't set the display variable correctly. I have tried EVERYTHING. It won't be set. And I c