Need Color to generate XML linking to graded shots.
Hi
I have a project which I left rendering overnight. Alas we had a powercut so the the project didn't finish. Although the first 120 shots were rendered ok, Color doesn't think they have been rendered so when I Send to FCP or export an XML, the resulting sequence links to to original footage.
I have changed the status flag in the shot list, but it makes no difference.
Also I always render with autosave off as it corrupts frames during the render.
Short if relinking every clip manually, which I am not keen on doing, does anyone have any bright ideas.
cheers
Toby
Hi
Thanks for the tips. However, after rendering the remaining shots, saving the projcte, closing and reopening Color I successfully sent back to FCP and all the graded clips were linked into the sequence, I didn't have to rerender or relink anything it just worked.
thanks anyhow
Similar Messages
-
I'm a total newbie in XML DB and need advice on generating XML from database.
The situation is the following: there is a legacy web application which uses an XML document as a configuration file. This document conforms to some well-defined schema. For instance:
<config>
<title value="TITLE" />
<subtitle value="SUBTITLE" />
<style url="default.css" />
<widgets>
<widget id="1" opened="true" />
<widget id="2" opened="false" />
</widgets>
</config>
It contains portions of static data which are common for all users as well as dynamic personal data.
Dynamic data comes from two sources:
1) security considerations (for instance, not all widgets are available for some users) - thus the "master" configuration content must be filtered, but not otherwise modified;
2) user preferences (for instance, user can set widget2 to be opened by default) - thus values of some attributes must be different for each user. When the user saves her preferences, the entire document with new values is posted back to server.
We want to try to store user preferences, apply security and generate personalized configuration documents using XML DB.
So we need advice on storage models and generation procedures - which should be more efficient and easy to support or extend.
Please note, that there is no requirement to actually store data as XML.
Thanks in advance!
P.S.: Sorry for the incomplete initial post.
Edited by: WxD on 27.09.2010 11:45Hi,
See this link for more details
http://www.stanford.edu/dept/itss/docs/oracle/10g/appdev.101/b10790/xdb13gen.htm -
Generating XML for an instance of a custom type
I apologize for a silly question...
How do I use the codec object that <autotype> generates for a custom type?
The schema and WSDL files are written by hand, <autotype> generates java representation
of the types along with serializer/deserializer classes for nested types and the
main codec class fine. Now I need to manually generate XML for a particular instance
of my custom type (at runtime). The codec class declares XML_TYPE as a private
variable while it seems to be exactly what needs to be passed to codec’s serialize(),
and the codec class is a final class... so how’s this class supposed to be used?
Same with de-serialization.
Any help will be greatly appreciated!
Dmitriyalso see http://edocs.bea.com/wls/docs81/webserv/customdata.html#1052981
Bruce Stephens wrote:
>
Hi Dimtriy,
I've attached an example using a custom codec with clientgen. If you
could take a look and see if this ser/deser can provide you with some
guidelines on what is required. Also, if you could bundle a small
example that illustrates your custom type, it would be helpful.
Thanks,
Bruce
Dmitriy Myaskovskiy wrote:
I apologize for a silly question...
How do I use the codec object that <autotype> generates for a custom type?
The schema and WSDL files are written by hand, <autotype> generates java representation
of the types along with serializer/deserializer classes for nested types and the
main codec class fine. Now I need to manually generate XML for a particular instance
of my custom type (at runtime). The codec class declares XML_TYPE as a private
variable while it seems to be exactly what needs to be passed to codec’s serialize(),
and the codec class is a final class... so how’s this class supposed to be used?
Same with de-serialization.
Any help will be greatly appreciated!
Dmitriy------------------------------------------------------------------------
Name: custom_codec.zip
custom_codec.zip Type: Zip Compressed Data (application/x-zip-compressed)
Encoding: base64 -
How to change the Hyper links color in the XML form
HI SDNs
Do u have any idea how to change the hyperlink color in the xml form. My requirement is as follows.I have created xml form by using xml template and i displayed this xml form by using Km document iview. I need tochange the hyper link color in the xml form content. I dont want to go for manual process by editing the xml form. because i have several hundreds of xml forms.
Appreciate if you give suggestion.
Thanks
RamanaHi Ramana,
The most convenient way to change the hyper links is by using the Theme Editor. Go to System Administration --> Portal Display --> Select Theme --> Component-Specific Styles --> Links --> Function/Result Link.
Hope this helps.
Kind regards,
Joost -
Need to generate XML based on Data template
Hi,
I'm unable to submit (the second submit) my request using the demo links (XDO 5.6.3 or XDO 5.7) provided in http://bipublisher.us.oracle.com/?tab=samples&header=dataTemplate to generate the XML based on the data template.
Heard that these links are available for Oracle EBS internal use. I work with EBS-CRM. I need to generate XML based on a data template and use the XML in the template. Data template has two queries for a template.
Pls help.
Thanks,
ImphaImpha
Please use the internal mailing list for your questions the forum is meant for external customers. If you do not know the ML name - drop me a mail
Tim -
Hi I need this asap... "Java code to generate XML File from XML Schema"
Hi all....
I need this asap... "Java code to generate XML File from XML Schema i.e XML Schema Definition, XSD file".
Thankz in advance...
PS: I already posted in the afternoon... this is the second posting.take look at :
http://sourceforge.net/projects/jaxme/
this might help... -
Need to prevent special character in generated XML file
Hello,
I am using E-business Suite 12.1.3 and XML version 5.6.3.
My XML file is ending up with a special character (a Latin capital letter U with circumflex) at the end, after the final closing tag.
Due to this the concurrent program that needs to output the XML is ending with warning.
My XML file is produced using a PL/SQL procedure, as follows (I've simplified it):
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<?xml version="1.0" encoding="UTF-8" ?>');
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<DOCS>');
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<LETTER>');
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<EMP_NAME>Michaela Hart</EMP_NAME>');
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'</LETTER>');
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'</DOCS>');
But when I run the concurrent request that creates the output then try to view the output in Internet Explorer I get the following error:
Invalid at the top level of the document. Error processing resource 'http://servername.domain...
</DOCS>
If I view the source of the page in Internet Explorer it shows a square after </DOCS> indicating the special character that has been added.
I checked this by looking at the output file in unix (cat -v o7766582.req) and it showed up the Latin U character.
I realise it could be to do with the character set I am using. I checked what we had on the server:
> echo $NLS_LANG
American_America.UTF8
I would have thought that corresponded with the XML declaration character set but I'm not sure.
Does anyone have any other ideas about why I have this special character, and how it could be removed?
Thanks in advance,
HazelHi AlexAnd,
thanks very much for your reply.
I'm now unable to recreate the problem since dbms_xmlgen worked. If I switch back to my previous method it works fine!
I'm not sure your suggestion would help, as there were no special characters in the data, the special character was added after the last tag I output. I hard coded the data (as in my example) for testing purposes so there was no SQL in use and the special character was still added at the end of the XML output. But I will definitely give it a try if I get the problem again.
I had the idea that maybe I should have been using FND_FILE.PUT rather than FND_FILE.PUT_LINE but now the error is gone I can't tell if that would have solved the problem either.
I appreciate your input.
Regards
Hazel -
Generate XML output using DBMS_XMLGEN.getxmltype and not from rdf
Hi,
I have a requirement to display output from a particular table in XL format. Out of all the known possible options, I am planning to use the XML publisher to generate XL output.
For the data source, instead of using the conventional way of creating XML data using rdf,I am planning to use DBMS_XMLGEN.getxmltype pl/sql procedure to generate the XML output. And from the output, call the template to generate the required Excel output.
Now, I am using the following code to generate XML output but am not sure how to proceed from here. I need to first print the XML data in the FND Output file after which I was planning to call the 'XML Report Publisher' (XDOREPPB) program and use the current request id to get the excel output but I am not able to find the way to print the XML data in the output file as:
fnd_file.put_line (fnd_file.output, l_xml_type); - is throwing an error as l_xml_type is an XML data output.
PROCEDURE xml_main (
errbuf OUT VARCHAR2
,retcode OUT VARCHAR2
,p_project_from IN VARCHAR2
,p_project_to IN VARCHAR2
AS
l_xml_type XMLTYPE;
BEGIN
SELECT DBMS_XMLGEN.getxmltype
('SELECT fnd_global.conc_request_id
,TO_CHAR (segment1)
,to_char(start_date,''MM/DD/RRRR'')
,to_char(xxmcc_project_details_pkg.current_profit_projection
(project_id),''999,999,990.90'')
,to_char(xxmcc_project_details_pkg.cost_to_date (project_id),''999,999,990.90'')
,''1''
FROM pa_projects_all
WHERE segment1 BETWEEN NVL (p_project_from, segment1)
AND NVL (p_project_to, segment1)')
INTO l_xml_type
FROM DUAL;
fnd_file.put_line (fnd_file.output, l_xml_type);
END xml_main;
Can anyone point me as to how to publish XML output using a PL/SQL procedure (DBMS_XMLGEN.getxmltype)
Thanks.Pl see if the example included in this presentation helps http://www.oracle.com/technology/products/applications/Events/OOW-2006/EBS/S281401_Sridhar_Bogelli.pdf
Also, you do not need to explicitly call XDOREPPB in later versions of XML Publisher. If you set up everything correctly (as described in the presentation above and the link below) the Output Post Processor is called automatically after the XML file is generated successfully.
Another excellent tutorial is at http://www.oracle.com/technology/obe/fusion_middleware/fusion/bi/xmlp_ebiz/index.html
HTH
Srini -
Generated XML doc file contains comments from MFC source code
Hello, in my project I use the option /doc to generate XML doc file from my source codes but unfortunately in the output XML file there are mixed also comments from original MFC source codes, see the part of generated xml file:
Is there a solution to ignore these MFC cpp files?
Many thanks
Regards
Petr Stejskal
<?xml version="1.0"?>
<style xmlns="http://www.w3.org/1999/xhtml">@namespace html url(http://www.w3.org/1999/xhtml); :root { font:small Verdana; font-weight: bold; padding: 2em; padding- } * { display: block; padding- } html|style { display: none; } html|span, html|a
{ display: inline; padding: 0; font-weight: normal; text-decoration: none; } html|span.block { display: block; } *[html|hidden], span.block[html|hidden] { display: none; } .expand { display: block; } .expand:before { content: '+'; color: red; } .collapse
{ display: block; } .collapse:before { content: '-'; color: red; } </style><doc><assembly><assembly>
"Console" </assembly></assembly><members><members><member name="T:_RS"><member
name="T:_RS">Reed-Solomon codec control block</member></member><member name="M:MMask_makeMask(System.Int32,System.Byte*,System.Int32,QRecLevel)"><member
name="M:MMask_makeMask(System.Int32,System.Byte*,System.Int32,QRecLevel)">Mode indicator. See Table 2 in Appendix 1 of JIS X0510:2004, pp.107.</member></member><member
name="M:CMFCControlRenderer.IsScaled"><member
name="M:CMFCControlRenderer.IsScaled"><summary><summary>Tells whether this control
renderer works with scaled (resized) images.</summary></summary><returns><returns>Returns TRUE if this control
renderer works with resized (scaled) images.</returns></returns></member></member><member name="M:CMFCControlRenderer.SmoothResize(System.Double)"><member
name="M:CMFCControlRenderer.SmoothResize(System.Double)"><summary><summary>
Smoothly resizes images.</summary></summary><param name="dblScale" /><param
name="dblScale"> Scale ratio.</param><returns><returns>
TRUE if resize succeeds; otherwise FALSE.</returns></returns></member></member><member name="M:CDrawingManager.CreateBitmap_32(HBITMAP__*,System.UInt32!System.Runtime.CompilerServices.IsLong)"><member
name="M:CDrawingManager.CreateBitmap_32(HBITMAP__*,System.UInt32!System.Runtime.CompilerServices.IsLong)"><summary><summary>
Creates a 32 bit bitmap from the specified bitmap.</summary></summary><returns><returns> A handle to created
bitmap, or NULL, if creation fails.</returns></returns><param name="bitmap" /><param
name="bitmap"> A handle to the original bitmap.</param><param name="clrTransparent"
/><param
name="clrTransparent"> An RGB value specifying transparent color of the original bitmap.</param></member></member><member
name="M:CDrawingManager.CreateBitmap_32(CSize!System.Runtime.CompilerServices.IsConst*!System.Runtime.CompilerServices.IsImplicitlyDereferenced,System.Void**)"><member
name="M:CDrawingManager.CreateBitmap_32(CSize!System.Runtime.CompilerServices.IsConst*!System.Runtime.CompilerServices.IsImplicitlyDereferenced,System.Void**)"><summary><summary>
Creates an empty 32 bit bitmap.</summary></summary><returns><returns> A handle to created bitmap, or NULL,
if creation fails.</returns></returns><param name="size" /><param
name="size">Specifies bitmap size.</param><param name="pBits" /><param
name="pBits">When the function returns contains a pointer to bitmap bits.</param></member></member><member
name="M:CDrawingManager.DrawRotated(CRect,CDC*!System.Runtime.CompilerServices.IsImplicitlyDereferenced,System.Int32)"><member
name="M:CDrawingManager.DrawRotated(CRect,CDC*!System.Runtime.CompilerServices.IsImplicitlyDereferenced,System.Int32)"><summary><summary>Rotates
a source DC content inside the given rectangle by +/- 90 degrees</summary></summary><param name="rectDest" /><param
name="rectDest">Destination rectangle</param><param name="dcSrc" /><param
name="dcSrc">The source device content.</param><param name="bClockWise"
/><param
name="bClockWise">TRUE - rotate +90 degrees, FALSE - 90.</param></member></member><member
name="M:AfxRegDeleteKey(HKEY__*,System.Char!System.Runtime.CompilerServices.IsConst*,ATL.CAtlTransactionManager*)"><member
name="M:AfxRegDeleteKey(HKEY__*,System.Char!System.Runtime.CompilerServices.IsConst*,ATL.CAtlTransactionManager*)"><summary><summary>Deletes
the specified registry key.</summary></summary><returns><returns> If the function succeeds, the return
value is ERROR_SUCCESS. If the function fails, the return value is a nonzero error code defined in Winerror.h</returns></returns><param name="hKey" /><param
name="hKey">A handle to an open registry key.</param><param name="lpSubKey"
/><param
name="lpSubKey">The name of the key to be deleted.</param><param name="pTM" /><param
name="pTM">Pointer to CAtlTransactionManager object</param></member></member><member
name="M:AfxRegOpenKeyEx(HKEY__*,System.Char!System.Runtime.CompilerServices.IsConst*,System.UInt32!System.Runtime.CompilerServices.IsLong,System.UInt32!System.Runtime.CompilerServices.IsLong,HKEY__**,ATL.CAtlTransactionManager*)"><member
name="M:AfxRegOpenKeyEx(HKEY__*,System.Char!System.Runtime.CompilerServices.IsConst*,System.UInt32!System.Runtime.CompilerServices.IsLong,System.UInt32!System.Runtime.CompilerServices.IsLong,HKEY__**,ATL.CAtlTransactionManager*)"><summary><summary>Opens
the specified registry key.</summary></summary><returns><returns> If the function succeeds, the return
value is ERROR_SUCCESS. If the function fails, the return value is a nonzero error code defined in Winerror.h</returns></returns><param name="hKey" /><param
name="hKey">A handle to an open registry key.</param><param name="lpSubKey"
/><param
name="lpSubKey">The name of a key that this function opens or creates.</param><param name="ulOptions"
/><param
name="ulOptions">This parameter is reserved and must be zero.</param><param name="samDesired" /><param
name="samDesired">A mask that specifies the desired access rights to the key.</param><param
name="phkResult" /><param
name="phkResult">A pointer to a variable that receives a handle to the openedkey.</param><param
name="pTM" /><param
name="pTM">Pointer to CAtlTransactionManager object</param></member></member></members>Hi stejsky,
Thank you for posting in MSDN forum.
>>In my project I use the option /doc to generate XML doc file from my source codes but unfortunately in the output XML file there are mixed also comments from original MFC source codes.
Based on your issue, could you please tell me how you use the option /doc to generate XML doc file from your source codes?
If you use the option /doc to generate the XML doc file by right-click the your MFC project->Properties->Configuration Properties->C/C++->Output file->set the Generate XML document files as Yes(/doc) like the following screen shot.
(1)If yes, since we could not reproduce your issue in mu side, so if possible, I suggest you could share me your MFC project so that we will further help you support this issue.
You could upload your MFC project to the OneDrive and then copy link here.
(2)If no, please try the above way to generate XML doc file and then check if you still get same issue.
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How do I generate XML using internal variables in a procedure
I know there is a way to generate XML inside a procedure by querying the database such as
SELECT XMLELEMENT("Emp",
XMLFOREST(e.employee_id, e.last_name, e.salary))
"Emp Element"
FROM employees e WHERE employee_id = 204;
Emp Element
<Emp>
<EMPLOYEE_ID>204</EMPLOYEE_ID>
<LAST_NAME>Baer</LAST_NAME>
<SALARY>10000</SALARY>
</Emp>
What I have unsuccessfully been trying to do is to basically do the same thing except using internal variables like
DECLARE
l_keytype CONTACTINFO.KEYTYPE%TYPE;
l_keyvalue CONTACTINFO.KEYVALUE%TYPE;
l_pricetag CONTACTINFO.PRICATEG%TYPE;
l_xmlout CLOB;
BEGIN
l_keytype := '1';
l_keyvalue := '3333';
l_pricetag := '10';
SELECT XMLELEMENT("ParamSet", .........................this is line 13
XMLFOREST(l_keytype as "keytype", l_keyvalue as "keyvalue", l_pricetag as "pricetag"))
"ParamSet Element"
INTO l_xmlout FROM DUAL;
DBMS_OUTPUT.PUT_LINE('l_xmlout = ' || l_xmlout);
end;
What I'd like it to generate is
<ParamSet>
<KEYTYPE>1 </KEYTYPE>
<KEYVALUE>3333</KEYVALUE>
<PRICETAG>100</PRICETAG>
</ParamSet>
But what I get is a compile error
Error report:
ORA-06550: line 13, column 19: (line 13 is SELECT XMLELEMENT("ParamSet", )
PL/SQL: ORA-00932: inconsistent datatypes: expected NUMBER got -
ORA-06550: line 13, column 1:
PL/SQL: SQL Statement ignored
06550. 00000 - "line %s, column %s:\n%s"
*Cause: Usually a PL/SQL compilation error.
*Action:
Also, I've been told that one issue with XMLFOREST is that if the value is null it won't generate the XML for it. Not good. I will still need the XML even if it is empty. Please help.Darn, Marc beat me. Here was my answer showing an alternative for returning an XMLType, since that is what the query returns as he said.
DECLARE
l_keytype VARCHAR2(5);
l_keyvalue VARCHAR2(5);
l_pricetag VARCHAR2(5);
l_xmlout CLOB;
l_xmltype XMLTYPE;
BEGIN
l_keytype := '1';
l_keyvalue := '3333';
l_pricetag := '10';
SELECT XMLELEMENT("ParamSet",
XMLFOREST(l_keytype as "keytype",
l_keyvalue as "keyvalue",
l_pricetag as "pricetag")).getClobVal()
INTO l_xmlout
FROM DUAL;
DBMS_OUTPUT.PUT_LINE('l_xmlout = ' || l_xmlout);
SELECT XMLELEMENT("ParamSet",
XMLFOREST(l_keytype as "keytype",
l_keyvalue as "keyvalue",
l_pricetag as "pricetag"))
INTO l_xmltype
FROM DUAL;
DBMS_OUTPUT.PUT_LINE('l_xmlout = ' || l_xmltype.getClobVal());
end;Here is a link to Oracle's on-line documentation
http://www.oracle.com/technetwork/indexes/documentation/index.html
so that you can pick your version and search for XMLElement and XMLForest to see their difference as well as listening to us. -
EBS-R12 Generate XML (with data) from Embedded Data Definition
Hi
I'm new to running XMLP/BIP in EBS.
I have found the extensive set of data definitions and templates in EBS and they work great out of the box.
I, however, need to make template modifications.
To this end, a correctly structured XML data template - containing all the data fields - is needed for loading into the template-builder in Word.
If for example I take the embedded R12 data definition - XLAJELINESRPT.xml - for Posted Payable Invoices, and load it into the template builder, it provides the structure of the data template and not the structure of the output XML data.
I have tried several ways to run the Data definition through XMLP using the concurrent manager attempting to intercept the generated XML (with data) but it either completes the process and uses the linked output template - producing the PDF - or other output - or if I remove the (output template altogether) it fails with an error.
Maybe I'm missing an obvious step, but there has to be a way of taking the very comprehensive Data Definitions embedded in R12 EBS and using them in custom report templates.
If I've totally missed the point, please give me the steps to follow.
Many thaks in anticipation.
Mike MacMurrayHI Mike,
You cannot load your Data Template into the MS Word Template Builder plugin, as it cannot be run to generate XML this way.
You have two options to get the data from an XML Publisher Report run as a concurrent program in EBS.
1) Using the XML Publisher Administrator responsibility, set an end date for both the Data Defintion and Template Definitions associated with the XLAJELINESRPT report.
2) Leave the concurrent program, Data Defintions and Template Definitions exactly as they are and run the report. Once the report has completed, select the Concurrent Request, click "Diagnostics" then click "View XML". This will open the XML in a new browser window. You can then right click, View Source and then save this document locally.
You can then load this XML into the MS Word Template Builder and start building your template.
I hope this helps.
Regards,
Cj -
Issues in generating xml from Report Builder as per XSD provided
Hi,
We are provided with XSD's for each report. Now we need to generate XML's from report that are as per the XSD's provided to us.
But the problem come's when we have to define hirearchies.
Like for example
1. Our Report is based on the following query:
SELECT DISTINCT '' as DUMMY
, fil.file_number
, TO_CHAR (TO_DATE (RTRIM (LTRIM (fil.processing_date)), 'YYDDD'),'DD-MM-YY') Processing_Dt
, rp_bsu.service_user_number
, rp_bsu.service_user_name
, rp_ac.account_number
, rp_ac.account_name
, rp_ac.account_type
, rp_ac.sortcode
, NVL(ovr_lmt.account_section_value,0) AS
account_section_value
, NVL(ovr_lmt.overlimit_amount,0) AS overlimit_amount1
, (NVL(ovr_lmt.overlimit_amount,0) - NVL(ovr_lmt.account_section_value,0)
) value_to_date
, (NVL(ovr_lmt.overlimit_amount,0) -
NVL(lmt_usg.limit_amount,0)
) amount_overlimit
, ovr_lmt.over_limit_id, NVL(lmt_usg.limit_amount,0) AS
limit_amount
, lmt_usg.period_type,lmt_usg.currency
FROM v_rp_bacs3day_service_user rp_bsu,
v_rp_bacs_service_office rp_bso,
v_rp_account rp_ac,
t_file fil,
t_over_limit ovr_lmt,
t_limit_usage lmt_usg
WHERE rp_bso.handling_bank_code = :p_scheme_member
AND rp_bsu.sponsoring_bank_code = rp_bso.owning_bank_code
AND rp_ac.service_user_number = rp_bsu.service_user_number
AND rp_bsu.service_user_number = fil.originator
AND fil.status <> 'R'
AND fil.processing_date = (SELECT cycle_date
FROM t_cycle
WHERE status = 1)
AND lmt_usg.account_id = rp_ac.account_id
AND ovr_lmt.limit_usage_id = lmt_usg.limit_usage_id
AND TO_CHAR (ovr_lmt.exceeded_date, 'DD-MM-YYYY') =
(SELECT TO_CHAR (TO_DATE (RTRIM (LTRIM (cycle_date)),
'YYDDD'),'DD-MM-YYYY')
FROM t_cycle
WHERE status = 1)
2.The hierarchy as per xsd that we need to define is :
<ServiceUserAccount>
<ServiceUser>
<Name></Name>
<Number></Number>
</ServiceUser> <SortCode></SortCode>
<AccountNumber></AccountNumber>
<NearOrOverLimitDetail>
<AccountType></AccountType>
<ProcessingDate></ProcessingDate>
..(there is a list of elements below it)
</NearOrOverLimitDetail>
</ServiceUserAccount>
In the xsd for the complex element type ServiceUser we need to display Service User Name and Number. For this I created a separate query Q2 in reports and joined it using data link with the parent Q1(which has data grouped on processing date) . So that it can be displayed as a separate element parallel to other elements like Sort code ,Account Numbers. But when we generate XML for this, then tags for Q2 query donot appear in xml.
And we get this hierarchy with missing Service User element
<ServiceUserAccount>
<SortCode></SortCode>
<AccountNumber></AccountNumber>
<NearOrOverLimitDetail>
<AccountType></AccountType>
<ProcessingDate></ProcessingDate>
..(there is a list of elements below it)
</NearOrOverLimitDetail>
</ServiceUserAccount>
Please let me know if you have any solution to implement this ASAP as its very urgent.
Thanks & Regds
Anuradha.Hi,
We are provided with XSD's for each report. Now we need to generate XML's from report that are as per the XSD's provided to us.
But the problem come's when we have to define hirearchies.
Like for example
1. Our Report is based on the following query:
SELECT DISTINCT '' as DUMMY
, fil.file_number
, TO_CHAR (TO_DATE (RTRIM (LTRIM (fil.processing_date)), 'YYDDD'),'DD-MM-YY') Processing_Dt
, rp_bsu.service_user_number
, rp_bsu.service_user_name
, rp_ac.account_number
, rp_ac.account_name
, rp_ac.account_type
, rp_ac.sortcode
, NVL(ovr_lmt.account_section_value,0) AS
account_section_value
, NVL(ovr_lmt.overlimit_amount,0) AS overlimit_amount1
, (NVL(ovr_lmt.overlimit_amount,0) - NVL(ovr_lmt.account_section_value,0)
) value_to_date
, (NVL(ovr_lmt.overlimit_amount,0) -
NVL(lmt_usg.limit_amount,0)
) amount_overlimit
, ovr_lmt.over_limit_id, NVL(lmt_usg.limit_amount,0) AS
limit_amount
, lmt_usg.period_type,lmt_usg.currency
FROM v_rp_bacs3day_service_user rp_bsu,
v_rp_bacs_service_office rp_bso,
v_rp_account rp_ac,
t_file fil,
t_over_limit ovr_lmt,
t_limit_usage lmt_usg
WHERE rp_bso.handling_bank_code = :p_scheme_member
AND rp_bsu.sponsoring_bank_code = rp_bso.owning_bank_code
AND rp_ac.service_user_number = rp_bsu.service_user_number
AND rp_bsu.service_user_number = fil.originator
AND fil.status <> 'R'
AND fil.processing_date = (SELECT cycle_date
FROM t_cycle
WHERE status = 1)
AND lmt_usg.account_id = rp_ac.account_id
AND ovr_lmt.limit_usage_id = lmt_usg.limit_usage_id
AND TO_CHAR (ovr_lmt.exceeded_date, 'DD-MM-YYYY') =
(SELECT TO_CHAR (TO_DATE (RTRIM (LTRIM (cycle_date)),
'YYDDD'),'DD-MM-YYYY')
FROM t_cycle
WHERE status = 1)
2.The hierarchy as per xsd that we need to define is :
<ServiceUserAccount>
<ServiceUser>
<Name></Name>
<Number></Number>
</ServiceUser> <SortCode></SortCode>
<AccountNumber></AccountNumber>
<NearOrOverLimitDetail>
<AccountType></AccountType>
<ProcessingDate></ProcessingDate>
..(there is a list of elements below it)
</NearOrOverLimitDetail>
</ServiceUserAccount>
In the xsd for the complex element type ServiceUser we need to display Service User Name and Number. For this I created a separate query Q2 in reports and joined it using data link with the parent Q1(which has data grouped on processing date) . So that it can be displayed as a separate element parallel to other elements like Sort code ,Account Numbers. But when we generate XML for this, then tags for Q2 query donot appear in xml.
And we get this hierarchy with missing Service User element
<ServiceUserAccount>
<SortCode></SortCode>
<AccountNumber></AccountNumber>
<NearOrOverLimitDetail>
<AccountType></AccountType>
<ProcessingDate></ProcessingDate>
..(there is a list of elements below it)
</NearOrOverLimitDetail>
</ServiceUserAccount>
Please let me know if you have any solution to implement this ASAP as its very urgent.
Thanks & Regds
Anuradha. -
Hi,
I am new to Jaxb, currently working on it.
I need to Create a java code using JAXb which should load an existing schema and generate xml out of that schema having some values harcoded in the xml.
I have created a java code which will create an xml having some values hardcoded in it.
can any one suggest me the simple way to load an existing schema and create an xml out of that..
If do you have any links, Please do share it..
Thanks-Try "SJIS"
-
Generate xml source file for Oracle Order Capture Print Quote
Hi,
I am new to xml and need to work on creating templates for Print Quote.
I am trying to generate the xml source file for which I enabled the report in system administrator and set the output to XML and assigned to Quoting Reports responsiblity. I then assigned XML Report Publisher to the same responsiblity.
I ran the report (Print Quote) and then I am trying to run the XML Report Publisher but I cannot get the request id in the list of values.
I am able to generate xml source file for other reports like Printed Purchase Order etc.,
The view output for the (Print Quote) report is as follows:
<?xml version="1.0" ?>
- <!-- Generated by Oracle Reports version 6.0.8.26.0
-->
<ASOPQTER />
How do I get the xml source file? Or are there seeded templates that I can use to create more templates? Any help would be appreciated. Thanks RaviHi, I am in the same position - did this issue ever ger resolved by anyone. I have done a few XMLP reports successfully now using the Word add-in, but customising the Quote output differs from other standard reports.
If you look at the data definition for Quote it is a 'dummy' definition and has no XML file attached. Does anyone know how I can get the XML format for the report output?
Also the template uses XSL-FO ?!?!?! rather than RTF - not sure how to work with this, the Oracle docs are not very helpful in this regard either.
Has anyone successfully managed to customise the Quote print report? Many thanks,
Roger -
Unable to generate XML's for BLOB datatypes from Concurrent program
Hi All,
I've a requirement to print images on rtf layout. Images are uploaded by end user through attahments men
there are getting stored in fnd_lobs tables.
for printing blob images we need to convert them into CLOB and generate XML's.
I've done the conversion through a function and calling the function in the select query which is generating XML when i run it from toad.
SELECT xmlgen.getXml(
'SELECT file_id,mob_getbase64String(file_data) photo
FROM fnd_lobs
WHERE file_id = 2490481'
,0
) FROM dual;
But the same thing we i registered as concurrent program (SQL*Plus) the program is running into error.
Output file
The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
Invalid at the top level of the document. Error processing resource 'https://dbtdev5i.oracleoutsourcing.com/OA_CGI/FNDWRR.e...
Input truncated to 17 characters
^
Log file
Concurrent Manager encountered an error while running SQL*Plus for your concurrent request 10868311.
Review your concurrent request log and/or report output file for more detailed information.
Can anyone help me through on how to bypass this error and generate XML's.
Thanks in Advance
JanaHi Priya..,
I have changed the query and registered in apps and now i am able to generate XML's of the blob image and the same is getting printed on the tempate..
DECLARE
v_colb CLOB;
v_query VARCHAR2(1000);
BEGIN
v_query := 'SELECT file_id,mob_getbase64String(file_data) photo
FROM fnd_lobs fl,
fnd_documents_vl fd
WHERE fd.media_id = fl.file_id
AND (fd.end_date_active IS NULL
OR fd.end_date_active > SYSDATE)
AND fd.security_type = 2
AND fd.security_id = fnd_profile.value(''GL_SET_OF_BKS_ID'')';
--FND_FILE.put_line( FND_FILE.LOG,v_query);
v_colb := xmlgen.getxml (v_query, 0);
--DBMS_OUTPUT.put_line (v_query);
FND_FILE.put_line( FND_FILE.OUTPUT,v_colb);
END;
/
Maybe you are looking for
-
Copy/paste full row, full column, a cell on datagrid using MVVM?
What is the best way to implement on datagrid? As I am new on this, I had some researches but I am confused because there are some complicated implementations and easy ones? I try to understand the best way. Adding simply selection mode and selection
-
WRT54G Incoming Log Destination Port 520
I am trying to understand why an [Incoming Log Table] entry that recurs, i.e. in the page that presents itself when I navigate to the [Administration] Panel / [Log] Tab, and then click the [Incoming Log] button: ================================= Inco
-
Switching devices and saving apps
I'm switching my 928 to a replacement 928. How do I make sure my apps come with me?
-
"To" field unresponsive in iOS4
I have noticed this in iOS4 both on a 3GS and an iPhone 4. When you choose to email a link or article to someone using the email option within the article, the "To" field in the email becomes unresponsive and you have to tap in the field multiple tim
-
I had my DV8 laptop for many years. Suddenly, it would just plain not power up. 3 flashes of the lightning bolt light then nothing... Fast forward 45 days. Not being able to boot up my laptop, I have ordered a new ENVY and want to transfer all of