Sub templates with Locale - BIP 10G
Hi,
Does BI Publisher and desktop 10G support use of sub templates with locale information being passed while calling them ?
Many thanks
Rohit
Hi,
Does BI Publisher and desktop 10G support use of sub templates with locale information being passed while calling them ?
Many thanks
Rohit
Similar Messages
-
Using Sub-Template with BI Publisher
Hi,
I'm having a hard time dealing with the integration of sub-template :(
I've export the following
<?import:file:///C:\DevSuiteHome_1\j2ee\home\default-web-app\common_template_v01.rtf?>
<?call-template:header?>
for-each ROW
CODE
end ROW
common_template_v01.rtf
<?template:header?>
Rep_title 10/6/2010 15:59
<?end template?>
<?template:footer?>
1 of 1
<?end template?>I think you need to use forward slash in your import command.
eg:
<?import:file:///d:/temp/tctemplates.rtf?>
Regards
Nishka -
Java Error while executing the excel template in the BIP 10g report server
Hello Gurus,
While we are executing the excel template we are getting the following java error and the report cannot be rendered to user who triggers the report. Where as the same excel template is generating output when user run it against the same data locally.
"oracle.apps.xdo.servlet.scheduler.ProcessingException: [ID:652] Document file to deliver not found : C:\Oracle\bipublisher\oc4j_bi\j2ee\home\applications\xmlpserver\xmlpserver\xdo\tmp\xmlp3307tmp
at oracle.apps.xdo.servlet.scheduler.XDOJob.deliver(XDOJob.java:1172)
at oracle.apps.xdo.servlet.scheduler.XDOJob.execute(XDOJob.java:495)
at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)"
We have tried with designing the .rtf template for this report and we are able to generate the report form the server. Please let us know the cause for this error in the server and way to rectify the exception from the report server.
Thanks,
Kamath."oracle.apps.xdo.servlet.scheduler.ProcessingException: [ID:652] Document file to deliver not found : C:\Oracle\bipublisher\oc4j_bi\j2ee\home\applications\xmlpserver\xmlpserver\xdo\tmp\xmlp3307tmp
imho it's about empty result file
Data are there
may be yes but is some data from all for report itself ?
in other words data can be in output ( in xml ) but report can filters data and so report doesn't have appropriate data to representation ( it's assumption for error )
Data are there, when we are using rtf template, it is generating the output.
if you sure about data for report and on this data report works fine by bip desktop, so no ideas, only SR
btw you can first check my assumption and try to catch "no data found" in template
also you can check data itself, is it well-formed xml -
Problem in Consistent Header and Footer with Sub Templates in BI publisher
Hi All,
I have recently started working with OBI and used Sub templates for getting Consistent Header and Footer in all of our reports. I did this in the following way
1. Created one template called HeaderFooter.rtf with Header and footer templates.
2. placed the file in web server and called in the main Template with
<?import: http://myserver.com:9704/xmlpserver/HeaderFooter.rtf?> I mean as static URL and it is working fine.
3. Now as a part of generalizing the server i have added HTTPSERVER property in xdo.cfg file which is located in
%BI_REPOSITORY%/Admin/Configuration.
4. I have checked this property by placing <?xdoxslt:getXDOProperties($_XDOCTX)? in my rtf file and HTTPSERVER property is showing same as that of static.
5. Now when i place <?import:http://{$HTTPSERVER}/HeaderFooter.rtf?> in my rtf it is ending with an error.
so can anyone please help me out in this regard?Hi User XY,
you might want to ask this in the [url http://forums.oracle.com/forums/forum.jspa?forumID=245]BI Publisher Forum
brgds,
Peter
Blog: http://www.oracle-and-apex.com
ApexLib: http://apexlib.oracleapex.info
BuilderPlugin: http://builderplugin.oracleapex.info
Work: http://www.click-click.at -
Issue with 'text box' in rtf sub template for peoplesoft XMLP
Hi all,
i have a weired problem using 'text Box' in a sub template. I am calling a sub template from my template. In my Sub template i have a text box ( i am using text box bcoz i want to justify the text not to the page margin but starting from a specific column.not sure if there is any other way with which i can do the same !!) . When i process the report (using application engine program) i get the below error
Message Log entry:
[052311_071441208][oracle.apps.xdo.common.xml.XSLTWrapper][ERROR] XSL error:
psxmlp://SUB_BMX2<Line 63, Column 191>: XML-22031: (Error) Variable not defined: '_MR'.
@Line 63 ==> </xsl:stylesheet>
[052311_071441216][oracle.apps.xdo.template.FOProcessor][EXCEPTION] java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
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 com.peoplesoft.pt.xmlpublisher.PTFOProcessor.generateOutput(PTFOProcessor.java:74)
Caused by: oracle.xdo.parser.v2.XPathException: Variable not defined: '_MR'.
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)
... 13 more
[052311_071441218][oracle.apps.xdo.template.FOProcessor][ERROR] End Memory: max=64MB, total=11MB, free=1MB
PeopleTools 8.49.27 - Application Engine
Copyright (c) 1988-2011 PeopleSoft, Inc.
All Rights Reserved
Processing started
data extraction for EMPLID:1000646332 EMPL_RCD:0 EFFDT:2009-12-28 and EFFSEQ:6
CFilem::LoadDefn(RDCRHIUTEECKNDZN2SPSRQ) : read 1 chunks
UnchunkStuff : read 1 chunks for nCharDataLen 10520 chars
CFilem::LoadDefn(RDCRHIUTEECKNDZN2SPSRQ) : after decode & decompress: 35330 bytes
Calling XMLP
Processing Report Defn:TR_BMX2
Error Executing XMLP.Error generating report output: (235,2309) PSXP_RPTDEFNMANAGER.ReportDefn.OnExecute Name:ProcessReport PCPC:51952 Statement:1163
Called from:TR_LATAM_CONTRACTS.ContractsXML.OnExecute Name:ExecuteXmlp Statement:16
Called from:TR_LAMCNTRCT.MAIN.GBL.default.1900-01-01.Step04.OnExecute Statement:20
Process 442706 ABENDED at Step TR_LAMCNTRCT.MAIN.Step04 (PeopleCode) -- RC = 22 (108,524)
Process %s ABENDED at Step %s.%s.%s (Action %s) -- RC = %s
It works fine when i remove the text box from my sub template. I tried to put the text box directly in the main template and it worked fine !! it is erroring out only when i use the text box in sub template !!
Template file:
<?import:psxmlp://SUB_BMX2?>
<?choose:?>
<?when: .//LETTER_CD=”PA4”?>
<?call: BA101?>
<?end when?>
<?otherwise:?>
Invalid Letter Code. No Sub Template Call defined for this Letter Code.
<?end otherwise?>
<?end choose?>
Sub Template:
<?template:BA101?>
Testing without text box.
Testing with text box
there is a text box with text here .. cannot be copied from word !!
<?end template?>
i got the below error when i tried to 'preview' the report from my report definition.
Error generating the report output: During calling method PTFOProcessor.generateOutput, the XDO engine throws an exception:NULL. (235,3101) (235,2309)
Error occurred during the process of generating the output file from template file, XML file, and the translation XLIFF file.
Any help would be greatly appreciated.
Edited by: Naveen Kumar on May 23, 2011 4:31 AMmisunderstood =/
Original (Coming - output): "<PAY_TXT>PAYκ Contact your bank or financial institution to make this payment from your cheque, savings, debit or transaction account.</PAY_TXT>"
it's in output but what is data in database ?
sorry but without knowing about source data for forming the xml i haven't ideas about your problem
in db it's "TM " or "™" or ... ?
Original (Coming - output): "<PAY_TXT>PAYκ Contact your bank or financial institution to make this payment from your cheque, savings, debit or transaction account.</PAY_TXT>"
Something like XAE or "K" after PAY Value in the xml tag and continued the text value. (Tag value is not getting copied exactly here - i am sorry for that )
that's ok. i need to see the problem not the data as is
Expected (output): "Here it needs to produce the "PAY TM" (Here "TM" should be super scripted to "PAY" Value in tag).
as super scripted in xml?
as idea - you can have <PAY_TXT>PAY TM</PAY_TXT> and in publisher set TM as super
Designing XSL Subtemplates - 11g Release 1 (11.1.1) -
Re:Bursting control file with multiple sub templates
Hi
Can any one let me know how to create a bursting control file for multiple sub templates. I.e I have one main template which will invoke other templates. the normal bursting control file which i have created is sending
an output with no data , but i can see an output in the concurrent program.
Thanks in advance.Add it as parameter in your xml file.
-
Passing variable value from main template to sub templates in BIP
Hi Gurus,
i am developing BI publisher report by calling different templates from the main template.
for example:
I have main template which calls three templates. my Main template code is like this
<?import:file:///C:/Temp/P1.rtf?> <?import:file:///C:/Temp/P2.rtf?>
<?import:file:///C:/Temp/P3.rtf?>
<?CALL: O1?>
<?CALL: O11?>
<?CALL: O111?>
<?CALL: O1111?>
<?CALL: O11111?>
<?CALL: P1FOOTER?>
PageBreak
<?CALL: O2?>
<?CALL: O22?>
<?CALL: O222?>
<?CALL: O2222?>
<?CALL: O22222?>
<?CALL: P2FOOTER?>
PageBreak
<?CALL: SUM1?>
<?CALL: SUM2?>
<?CALL: SUM3?>
<?CALL: SUMFOOTER?>
Now i am passing some parameter value to the main template, but i have to pass that variable value in all other templates.
I am getting parameter value in main template but not getting in other templates. Getting error BI generation failed
Please advise me.
Thanks,
JagYes i have declared my variable at main template but if i do the same declaration at subtemplates, then report not generating. So that i am thinking better to capture that value in variable from the main template then to sub templates.
I dont know is it works or not? Please see below
<?import:file:///C:/Temp/P1.rtf?> <?import:file:///C:/Temp/P2.rtf?>
<?import:file:///C:/Temp/P3.rtf?>
<?param@begin: Test;'default_value';'string'?>
<?$Test?>
<?CALL: O1?>
<?CALL: O11?>
<?CALL: O111?>
<?CALL: O1111?>
<?CALL: O11111?>
<?CALL: P1FOOTER?>
PageBreak
<?CALL: O2?>
<?CALL: O22?>
<?CALL: O222?>
<?CALL: O2222?>
<?CALL: O22222?>
<?CALL: P2FOOTER?>
PageBreak
<?CALL: SUM1?>
<?CALL: SUM2?>
<?CALL: SUM3?>
<?CALL: SUMFOOTER?>
Now i am passing some parameter value to the main template, but i have to pass that variable value in all other templates.
I am getting parameter value in main template but not getting in other templates. Getting error BI generation failed
Please advise me.
Thanks,
Jag
Edited by: user7498756 on Aug 16, 2012 9:59 AM -
Reports who work in BIP 10G does not work in BIP 11G
Hi!
We are in the middle of going from BIP 10G to BIP 11G (latest patch installed the 9 of february). We have used the Upgrade Assistant to migrate the reports from 10G to 11G, about 80-90% are working directly.
But, as always are there some problems. There are 2 major problems I am struggling with for the moment. 1 is long running reports who gets "Connection reset by peer" before the report ends and the more problematic which is this:
[2012-02-27T11:09:50.397+01:00] [bi_server1] [ERROR] [] [oracle.xdo] [tid: 24] [userId: <anonymous>] [ecid: 22bf1318a95b3a18:-528a5dc9:135b0d15f61:-8000-0000000000025a30,0] [APP: bipublisher#11.1.1] XSL error:[[
<Line 80, Column 151>: XML-23002: (Error) internal xpath error
@Line 80 ==> <_G><xsl:if test="sum($G1[(./QADATE02 = current-group()/QADATE02)]/QATRQT) = '0'" xdofo:ctx="3">
[2012-02-27T11:09:50.397+01:00] [bi_server1] [WARNING] [] [oracle.xdo] [tid: 24] [userId: <anonymous>] [ecid: 22bf1318a95b3a18:-528a5dc9:135b0d15f61:-8000-0000000000025a30,0] [APP: bipublisher#11.1.1] oracle.xdo.XDOException: java.lang.reflect.InvocationTargetException[[
at oracle.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1205)
at oracle.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:276)
at oracle.xdo.template.FOProcessor.createFO(FOProcessor.java:1973)
at oracle.xdo.template.FOProcessor.generate(FOProcessor.java:1117)
at oracle.xdo.servlet.RTFCoreProcessor.transform(RTFCoreProcessor.java:124)
at oracle.xdo.servlet.CoreProcessor.process(CoreProcessor.java:372)
at oracle.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.java:93)
at oracle.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:1059)
at oracle.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.java:624)
at oracle.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:477)
at oracle.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:447)
at oracle.xdo.servlet.XDOServlet.doGet(XDOServlet.java:267)
at oracle.xdo.servlet.XDOServlet.doPost(XDOServlet.java:299)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.xdo.servlet.metadata.track.MostRecentFilter.doFilter(MostRecentFilter.java:65)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:122)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.xdo.servlet.init.InitCheckingFilter.doFilter(InitCheckingFilter.java:64)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor7820.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.xdo.common.xml.XSLT10gR1.invokeProcessXSL(XSLT10gR1.java:917)
at oracle.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:609)
at oracle.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:328)
at oracle.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:187)
at oracle.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1181)
... 40 more
Caused by: oracle.xdo11g.xqxp.XQException: XPTY0004
at oracle.xdo11g.xslt.XSLStylesheet.flushErrors(XSLStylesheet.java:1850)
at oracle.xdo11g.xslt.XSLStylesheet.execute(XSLStylesheet.java:616)
at oracle.xdo11g.xslt.XSLStylesheet.execute(XSLStylesheet.java:551)
at oracle.xdo11g.xslt.XSLProcessor.processXSL(XSLProcessor.java:345)
at oracle.xdo11g.xslt.XSLProcessor.processXSL(XSLProcessor.java:194)
at oracle.xdo11g.xslt.XSLProcessor.processXSL(XSLProcessor.java:230)
at oracle.xdo11g.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:124)
at sun.reflect.GeneratedMethodAccessor7820.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.xdo.common.xml.XSLT10gR1.invokeProcessXSL(XSLT10gR1.java:920)
... 44 more
Does anyone have the solution for this type of error, we have about 30-40 reports that is behaving like this in BIP 11G but works fine in BIP 10G.
Can we do anything general in the BIP 11G or does we need to find the solution for each report and change in the template?
All ideas are appreciated, thanks,
Anders BHi!
Have everyone out there been able to use the upgrade assistant without any problem?
The UA.bat program says everything is ok but the report actually created in BIP 10G does not work in BIP 11G. We are looking for documentation or "findings" of what the problem can be, in a more general way. We are aware of that we probably have to fix this manually, but we dont know what to fix, and it is not so "fun" to be forced to re create all this templates and reports. The datamodell seems for the most of the time works, so we get a working xml source but the creation of the report thru the template dont work.
Best regards,
Anders -
How to call a Sub template in BI Publisher for the same Loop
Hi,
I'm trying to achieve a multi template invoice customer facing Report output by using sub templates in BI publisher. I've stored the Template2.rtf file in Local machine temp directory and calling it in the main RTF. My Scenario is as described below:
<?import:file:///C:\temp\Template2.rtf?>
<? For-each@section: HEADERS?>
****Contents of header data and it's line***
<?start@last-page:body?><?end body?>
***last page sub totals****
**in next page i'm calling another .rtf file which is the second This template should repeat for each header transaction**
<?call-template:Template2?>
<?end for-each?>
While trying to preview the output from Bi publisher Template, either it goes to infinite loop or it hangs up with error.
Am i getting it wrong? for the Template2.rtf which i'm calling has contents <?template: template2?> <? For-each: cust_headers?> ** logic** <?end-for-each?> <?end template?>
So for a given transaction i need to print two templates. All the data will be under <header> group. Please help me out if i'm missing something in the above.Do you get a "Template invoked but not defined error"? If so, the reason is because you the template can not be found...
In your case, you have defined the template as:
<?template: template2?> <? For-each: cust_headers?> ** logic** <?end-for-each?> <?end template?>
However, in your call statement, you have (upper case T): <?call-template:*T*emplate2?>
Change that and see if it resolves your error. If not provide details about the error.
Thanks,
Bipuser -
Error obtained while calling a sub-template in RTF.
Hi,
I am trying to call a sub-template from my RTF template using
<?import: file:///C:\Desktop\Sample RTF\TEST.xsl?>
in a form field and
<xsl:call-template name="add-X"> <xsl:value-of select="." /> </xsl:call-template> in another.
The xsl file related to this template reads as follows:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.0">
<xsl:template name="add-X">
<xsl:param name="string" select="." />
<xsl:if test="$string">
<xsl:text>X</xsl:text>
<xsl:value-of select="substring($string, 1,1)"/>
<xsl:call-template name="add-X">
<xsl:with-param name="string"
select="substring($string, 2)" />
</xsl:call-template>
</xsl:if>
</xsl:template>
</xsl:stylesheet>
But I am ending up with an error. The error obtained is:
ConfFile: D:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\config\xdoconfig.xml
Font Dir: D:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts
Run XDO Start
Template: C:\Documents and Settings\VishnuRam\Local Settings\Application Data\Oracle\BIPublisher\TemplateBuilderforWord\tmp\1\template2.rtf
RTFProcessor setLocale: en-us
FOProcessor setData: C:\Documents and Settings\VishnuRam\Local Settings\Application Data\Oracle\BIPublisher\TemplateBuilderforWord\tmp\1\download_data.xml
FOProcessor setLocale: en-us
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.invokeNewXSLStylesheet(XSLT10gR1.java:641)
at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:247)
at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:181)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1151)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:275)
at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1809)
at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:1027)
at RTF2PDF.runRTFto(RTF2PDF.java:708)
at RTF2PDF.runXDO(RTF2PDF.java:520)
at RTF2PDF.main(RTF2PDF.java:305)
Caused by: oracle.xdo.parser.v2.XMLParseException: The 'import' element children must precede all other element children of an 'stylesheet' element.
at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:806)
at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:571)
... 14 more
I will be glad if anybody can give me the idea where I am going wrong?
Regards,
Message was edited by:
VishnuTRPut this as the first line in rtf
The 'import' element children must precede all other element children of an 'stylesheet' element. -
How can I manage and share iWork templates with users on OSX Lion Server?
I would like to use the iWork templates shared in a local Lion OSX Server network.
I would like everybody in the network to use the same iWork templates (is it possible to share these on the server?)
And I want to be able to change or add templates to this shared folder so everybody in the organization has always the same and most up to date templates.
Can somebody please tell me how to do this?The templates delivered with the apps are embedded in the apps and the license states:
The folder used by the application to reach custom templates is on the local machine.
You may store your custom templates in a folder on the Network but the users would be unable to reach them thru the "Create from a template" menu item. An easy workaround is to install an alias of the folder on every machine.
I'm writing about templates with the official meaning.
If, as several askers, you use the word to name documents, Pages is not designed for this kind of use.
There is no provision in the app to allow several users to work simultaneously on a given document.
Yvan KOENIG (VALLAURIS, France) lundi 20 février 2012
iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.3
My Box account is : http://www.box.com/s/00qnssoyeq2xvc22ra4k -
Error while calling sub template in XML Publisher
Hi friends,
For the Header part of my report,I create a sub template and i am trying to call it.
I am calling the sub template using the following commands:-
<?call@inlines:Header?>
<?end call?>
Then in the body ,I am importing this file using <?import:file:///C:\sreekanth\Header.rtf?>
When i run the report i get the following error
Caused by: java.io.FileNotFoundException: /C:\sreekanth\Header.rtf (No such file or directory)
please help me .
I am unable to find out the reason for the error.
But when i run it locally it runs fine.
Is then any problem while i creating the subtemplate?what are steps to create a sub termplate?Hi,
the BI Publisher Forum might be a better place for you to get an answer than the Reports Forum.
Regards
Rainer -
Problem in templates with hyperlinks to bookmarks
Hi. I'm using Robohelp X5. I have a template with a hyperlink
in the footer, to link to the top of the page. The link works fine
in topics that are in the root HTML Files folder (in the Project
Manager tab) but it doesn't work in topics that are in sub-folders.
The hyperlink target is being prefixed with "../" to account for
the extra level. I have been asked not to use Javascript in the
help, so need to use html. Does anyone know of a way to prevent the
link being altered in the sub-level topics, or some other solution
to the problem?
I can't ask all the authors not to use folders to organise
their topics, as some of the projects are large and they also use
the folder structure when generating the TOC. I'd also rather not
have to advise them to create a different version of the template
for each folder in the topic structure, which is the only other way
round it I can think of. Any advice would be greatly
appreciated.Hi again Kat
Hmmm, quite a conundrum you have there, eh?
Well, there is one other possibility. Similar to the number
42, you probably won't like it much. But here goes anyway.
Assuming you are the person who has final say over the
project, meaning that you are the only one that generates and
distributes and the others are simply contributors, you could use
something like ReplacEm or FAR to perform a small post generation
process of performing a search and replace. You would search only
the folders for the desired string looking for ../# and eliminate
the ../ or possibly even ../../ or ../../../ depending on how many
folder levels you have.
Besides that, I'm about out of ideas.
Sincerely... Rick -
Delete statement that uses a sub-select with the statement in the cursor
Hi all,
How to write write a delete statement that uses a sub-select with the statement in the cursor?
CURSOR excluded_dates IS
SELECT TO_TIMESTAMP(report_parameter_value, in_date_format_mask)
INTO my_current_date_time
FROM report_parameters
WHERE report_parameters.report_parameter_id = in_report_parameter_id
AND report_parameters.report_parameter_group = 'DATE_TIME'
AND report_parameters.report_parameter_name = 'EXCLUDED_DATE';
OPEN excluded_dates;
LOOP
FETCH excluded_dates INTO my_excluded_date;
EXIT WHEN excluded_dates%NOTFOUND;
DELETE FROM edr_rpt_tmp_inclusion_table
WHERE TO_CHAR(date_time, 'mm/dd/yyyy') = TO_CHAR(my_excluded_date, 'mm/dd/yyyy');
END LOOP;
CLOSE excluded_dates;ThanksHi,
In such case I think is better to create a view an perform the delete using it. Example (using HR schema):
Connected to Oracle Database 10g Express Edition Release 10.2.0.1.0
Connected as hr
SQL> create or replace view v_employees as select * from employees where first_name like 'J%';
View created
SQL> select * from v_employees;
EMPLOYEE_ID FIRST_NAME LAST_NAME EMAIL PHONE_NUMBER HIRE_DATE JOB_ID SALARY COMMISSION_PCT MANAGER_ID DEPARTMENT_ID
110 John Chen JCHEN 515.124.4269 28/09/1997 FI_ACCOUNT 8200,00 108 100
112 Jose Manuel Urman JMURMAN 515.124.4469 07/03/1998 FI_ACCOUNT 7800,00 108 100
125 Julia Nayer JNAYER 650.124.1214 16/07/1997 ST_CLERK 3200,00 120 50
127 James Landry JLANDRY 650.124.1334 14/01/1999 ST_CLERK 2400,00 120 50
131 James Marlow JAMRLOW 650.124.7234 16/02/1997 ST_CLERK 2500,00 121 50
133 Jason Mallin JMALLIN 650.127.1934 14/06/1996 ST_CLERK 3300,00 122 50
139 John Seo JSEO 650.121.2019 12/02/1998 ST_CLERK 2700,00 123 50
140 Joshua Patel JPATEL 650.121.1834 06/04/1998 ST_CLERK 2500,00 123 50
145 John Russell JRUSSEL 011.44.1344.429268 01/10/1996 SA_MAN 14000,00 0,40 100 80
156 Janette King JKING 011.44.1345.429268 30/01/1996 SA_REP 10000,00 0,35 146 80
176 Jonathon Taylor JTAYLOR 011.44.1644.429265 24/03/1998 SA_REP 8600,00 0,20 149 80
177 Jack Livingston JLIVINGS 011.44.1644.429264 23/04/1998 SA_REP 8400,00 0,20 149 80
181 Jean Fleaur JFLEAUR 650.507.9877 23/02/1998 SH_CLERK 3100,00 120 50
186 Julia Dellinger JDELLING 650.509.3876 24/06/1998 SH_CLERK 3400,00 121 50
189 Jennifer Dilly JDILLY 650.505.2876 13/08/1997 SH_CLERK 3600,00 122 50
200 Jennifer Whalen JWHALEN 515.123.4444 17/09/1987 AD_ASST 4400,00 101 10
16 rows selected
SQL> delete from v_employees where hire_date >= to_date('01/06/1998', 'dd/mm/yyyy');
2 rows deleted
SQL> regards, -
Different templates with different datasource files
Hi All,
Can someone tell me how we can have two different templates with different datasource files in one BIP report.
I need PDF template based on one xml file and CSV teamplate based on another in one report.
Thanks.you can have two data-set or query , and select concatenated data and have a single xml file.
But pdf template will look at those, dataset in the xml, which you want. and CSV will look only on the other dataset.
what method are you using for CSV ?
Maybe you are looking for
-
Any Scenario with the Screenshots on PI 7.0
Dear Experts, I need any scenario eg., file to file with the screen shots on PI7.0 ie., 1) SLD configuration (product, swc, TS and BS) 2) IR and ID 3) Monitoring details Note : Above all i need with the screenshots on PI7.0 only Thanks in
-
Even after downloading all updates from the netBeans update center, netBeans doesn't recognise the main method. public static void main (String[] args){ OR public static void main (String args[]){ Prince
-
Exchange 2010, Outlook 2013. My CEO's assistant was always able to SEND AS him as his account loads in her Outlook Profile. She would go to his Inbox and start a new email and change the FROM to him and send as him. Last week out of nowhere when s
-
Exporting to camera roll from app turns to negative
Ever since I updated my iPad's OS to 7, I am having trouble exporting the images I create with Paper by Fiftythree to my camera roll. The images turn to negatives and they remain that way even when I email them or upload from there. Is it a problem w
-
How to get rid of grabage port forwarding entries
Using a Westell 9100 router and am accumulating these garbage port forwarding entries - see attached jpg Appear so far to have 8 identical entries for each STB and as they are VZ entries I can't delete them. I could reset the router and then re-add