Graphs: Is it possible to take XML Data and display it as a graph in a LC Form?
I am currently using LC ES2 Designer 9 to create PDF reports from XML data. We would also like to incorporate graphs into the PDFs. Has anyone done this or know if it is possible using LiveCycle?
Thanks
What I've seen, is people using a component to render the graph (Flex Charting or something else) and then put that rendered graph in the form data before it's being merged with the template.
Jasmin
Similar Messages
-
How to convert a data set into a xml data and vice versa
i am new to oracle with xml..
my aim is to convert a data set into a xml data and vice versa..
my work is as follows...
my query:
select rggpk,rggcode,rggname from ms_regiongeo
to convert a data set into a xml*
select XMLType(trim(replace(dbms_xmlgen.getXML('select rggpk,rggcode, rggname from ms_regiongeo'),'<?xml version="1.0"?>',''))) XML_DATA from dual;
(this works fine and output of this query is as follows..)
<ROWSET>
<ROW>
<RGGPK>201</RGGPK>
<RGGCODE>Asia</RGGCODE>
<RGGNAME>Asia</RGGNAME>
</ROW>
<ROW>
<RGGPK>1</RGGPK>
<RGGCODE>OTH</RGGCODE>
<RGGNAME>Others</RGGNAME>
</ROW>
<ROW>
<RGGPK>21</RGGPK>
<RGGCODE>COB</RGGCODE>
<RGGNAME>Africa and Yemen</RGGNAME>
</ROW>
<ROW>
<RGGPK>2</RGGPK>
<RGGCODE>AUS</RGGCODE>
<RGGNAME>Australia</RGGNAME>
</ROW>
<ROW>
<RGGPK>23</RGGPK>
<RGGCODE>IND</RGGCODE>
<RGGNAME>Indian Sub Continent</RGGNAME>
</ROW>
<ROW>
<RGGPK>24</RGGPK>
<RGGCODE>TVM</RGGCODE>
<RGGNAME>North America</RGGNAME>
</ROW>
</ROWSET>
and to reverse this process, I tried a query like this..*
select EXTRACTVALUE (XML_DATA,'ROWSET/ROW/RGGPK') as EMP_ID
from(
select XMLType(trim(replace(dbms_xmlgen.getXML('select rggpk,rggcode, rggname from ms_regiongeo'),'<?xml version="1.0"?>',''))) XML_DATA from dual
)tab1but failed.. and raised with an eror: ORA-19025
help me..
regards,
johnHi-
my aim is to convert a data set into a xml data You can refer to the below posts
Adding namespace to XML output
Re: how to convert table data in xml format based on the xsd. -
Code to read xml file and display that data using sax parser
Hai
My problem I have to read a xml file and display the contents of the file on console using sax parser.here you go
-
Select RTF Data and display in PDF Document
Hi all,
I have a simple table:
CONTENT_ID - NUMBER
CONTENT - VARCHAR2(4000)
On top of this table I have a form that allows the user to enter / update data. The 'CONTENT' field is a Rich Text Editor (ApEx 4.0 - CKEditor 3). This allows the user to enter and format their text as they require.
I need to be able to select this data and display it in a PDF Document (via BI Publisher).
I therefore have a simple query
select content from content_table where content_id = 1;and a simple template that processes the resulting xml:
<?xml version="1.0" encoding="UTF-8"?>
<ROWSET>
<ROW>
<CONTENT>& lt;h2& gt;
This is a heading& lt;/h2& gt;
& lt;p& gt;
This is the text& lt;/p& gt;
</CONTENT>
</ROW>
</ROWSET>(There is not really a space between the & and 'lt' etc but I had to add this to get it to display correctly here).
Where I run this past my template I get a PDF with:
<h2>
This is a heading</h2>
<p>
This is the text</p>I get the same if I generate HTML.
but what I want to see is the text formatted as the user has entered in the RTF editor.
Can this be done?
Many thanks,
MartinI think your mixing 2 technologies.
At 1 side you have xml in combination with xsl (style sheets used in BI Publisher and FOP) to generate your pdf. And at the other side you have HTML...
XML and HTML are 2 entirely different technologies which you can not mix this simple. I investigated the same problem as you had, and in the end I ended up using jasperreports instead of FOP.
Maybe BI Publisher has some html regions which you could insert into your word document but I doubt it cause more people have asked the same question on this board...
So my advice: use jasperreports (also it is free for commercial usage)
Success
Br,
Nico -
Read numbers from a .txt file and display them in a graph
How can I get Labview 7 to read from a txt. file containing a lot of
coloumns with different datas? There`s only two of the coloumns that are
interesting to me, the first, that contains the time of the measuring, and
one in the middle, that contains the measured temperatures. I want Labview
to read this datas and display them graphicly.
Thanks from StaleHere's one way.
You can also use the help-> find examples and search for "text".
2006 Ultimate LabVIEW G-eek.
Attachments:
Graph.vi 21 KB -
Accessing sap tables data and display in webi
Hi all,
i installed business objects edge series.
i want to access SAP tables data and display in webi for adhoc reporting.
Is there any process to achieve this.Hi
currently (April 2010) you have the following options:
1. You load your R/3 data into an SAP BW and use universes based on BEx queries to create WebI reports
2. You can use SAP rapid marts. They contain Data integrator mappings (you need an installation of the DI for this) to extract and load your SAP R/3 data into a relational database. Additionally they provide universes (based on a relational schema) hich ill allo you to build WebI reports.
3. You can use the R/3 connector for the Data Federator (You need a DF installation for this). Please note that the R/3 connector is not yet a product rather just a PROTOTYPE. Take a look here: SAP BusinessObjects Web Intelligence Reporting for SAP ERP [original link is broken]
4. You can try to access the underlying database directly using the appropriate DB drivers. Please note that this is NOT RECOMMENDED. This way you cannot leverage security defined on the R/3 side in your WebI reports and you will not be able to access all data as available in R/3 since some of them are stored encoded/compressed in the underlying tables.
5. Instead of WebI you can use Crystal Reports and the R/3 drivers (eg. SAP Tables, Functions, Cluster) provided when installing the integration kit for SAP.
Regards,
Stratos -
How to Read the one Source Column data and Display the Results
Hi All,
I have one PR_ProjectType Column in my Mastertable,Based on that Column we need to reed the column data and Display the Results
Ex:
Pr_ProjectType
AD,AM
AD
AM
AD,AM,TS,CS.OT,TS
AD,AM
like that data will come now we need 1. Ad,AM then same we need 2. AD also same we need 3. AM also we need
4.AD,AM,TS,CS.OT,TS in this string we need AD,AM only.
this logic we need we have thousand of data in the table.Please help this is urgent issue
vasuHi Vasu,
Based on your description, you want to eliminate the substrings (eliminated by comma) that are not AD or AM in each value of the column. Personally, I don’t think this can be done by just using an expression in the Derived Column. To achieve your goal, here
are two approaches for your reference:
Method 1: On the query level. Replace the target substrings with different integer characters, and create a function to eliminate non-numeric characters, then replace the integer characters with the corresponding substrings. The statements
for the custom function is as follows:
CREATE FUNCTION dbo.udf_GetNumeric
(@strAlphaNumeric VARCHAR(256))
RETURNS VARCHAR(256)
AS
BEGIN
DECLARE @intAlpha INT
SET @intAlpha = PATINDEX('%[^0-9]%', @strAlphaNumeric)
BEGIN
WHILE @intAlpha > 0
BEGIN
SET @strAlphaNumeric = STUFF(@strAlphaNumeric, @intAlpha, 1, '' )
SET @intAlpha = PATINDEX('%[^0-9]%', @strAlphaNumeric )
END
END
RETURN ISNULL(@strAlphaNumeric,0)
END
GO
The SQL commands used in the OLE DB Source is like:
SELECT
ID, REPLACE(REPLACE(REPLACE(REPLACE(dbo.udf_GetNumeric(REPLACE(REPLACE(REPLACE(REPLACE([ProjectType],'AD,',1),'AM,',2),'AD',3),'AM',4)),4,'AM'),3,'AD'),2,'AM,'),1,'AD,')
FROM MyTable
Method 2: Using a Script Component. Add a Derived Column Transform to replace the target substrings as method 1, use Regex in script to remove all non-numeric characters from the string, add another Derived Column to replace the integer
characters to the corresponding substring. The script is as follows:
using System.Text.RegularExpressions;
Row.OutProjectType= Regex.Replace(Row.ProjectType, "[^.0-9]", "");
References:
http://blog.sqlauthority.com/2008/10/14/sql-server-get-numeric-value-from-alpha-numeric-string-udf-for-get-numeric-numbers-only/
http://labs.kaliko.com/2009/09/c-remove-all-non-numeric-characters.html
Regards,
Mike Yin
TechNet Community Support -
Parsing large xml file and display using swing
Hi all,
I want to read a large xml file and display graphically in swing as a tree structure.
I implemented it and works fine for files of 5MB size after increasing the jvm heap size (-Xmx). If the file size is larger than 5MB it throws out of memory error. I'm creating a custom datastructure from the xml and I'm using sax parsing.
After displaying the datastructure, the user could do some operation on this, like search etc.
Can any of you suggest a method, to support larger files ? What I'm looking for is create the datastructure in file system, rather than in memory.
Any other tips for memory management would be greatly appreciated
Thanks in Advance.
NishaUse a memory-mapped file?
http://javaalmanac.com/egs/java.nio/CreateMemMap.html -
How to take XML data source from URL?
Hi,
I creating application which need to download some data from any web page. This page is creating via XSL (as stylesheet) .This XSL
process some XML "data source" and generate HTML page. I wanna ask if exist some way how to take this XML "data source"? If i used
URL and take InputStream I everytime obtain full generated HTML, JavaScript page - compiled by web browser. But if i look to "page
source" of this page in web browser i see just that XML data source which i need to take (only at start of this xml is way to xsl
style sheet).
But this problem i have only at my required page.If i tried to take another page with similar structure code, it was succesful.
Here is link : LINK
Why i dont have permision take clear xml from this page?What is so special?
Exist some way how to take this XML without generated html code?
Thank you.I apologize for my english. I try explain my problem again:
At this url [http://eu.wowarmory.com/item-info.xml?i=33677] is web page. If you look at "page source", web page is create via XML and XSLT. I need load this data source. I used DOMParser for that:
URL url = new URL("http://eu.wowarmory.com/item-info.xml?i=33677");
DOMParser parser = new DOMParser();
parser.parse(url);
XMLDocument doc = parser.getDocument();I get exception : Exception in thread "main" oracle.xml.parser.v2.XMLParserException: Expected '?>' instead of 'EOF'
If i used it at another page (for example [http://www.w3schools.com/XML/simplexsl.xml|http://www.w3schools.com/XML/simplexsl.xml] ), compile was successful and i can work with this XMLDocument and etc.
I try load it by InputStreamReader too:
URL url = new URL("http://eu.wowarmory.com/item-info.xml?i=33677");
try {
BufferedReader br = new BufferedReader(new InputStreamReader(url.openStream());
String line;
while ((line = br.readLine() != null) {
System.out.println(line);
} catch (IOException e) {
e.printStackTrace
}i get only compiled HTML code by web browser. At second page i load successfuly XML data - not compiled by browser.
Is possible to take original xml page source from this page? And what diferent is between this pages?
Thank you and i hope, you can translate this post without headache :-) If it will be necessary, i can more specify some details. -
Flex 4 - is it possible to load xml data into the preloader and pass it to the application?
or is there a similar method to load XML data while the preloader is active, so the XML data will be ready when the main application loads?
i'm having great difficulty finding any relevant info from the forum and the web about accessing preloader variables from the application.
is there a way to access the preloader itself from the application?
It seems logical that the systemManager garbage collects it. If that's the case, how can i access the systemManager from the preloader and possible pass variables to it, then later access them from the application? this seems to be the best direction to tackle this problem. but maybe i'm overlooking another way? -
Dear Friends,
Please provide the solution for the following scenario:
In the first view(xml) I have a table with the fields QuotationNo,plant name, material no...etc, where I am displaying the data fetched using Odata model. The table is enable with Single line selection mode. My requirement is to Carry the selected row data to another view(xml) and display there.
Please give your valuable inputs.Hi Rinku,
depending on how you do the navigation, you might find the information here: OpenUI5 SDK - Demo Kit helpful.
Regards Frank -
Script for parsing xml data and inserting in DB
Thank you for reading.
I have the following example XML in an XML file. I need to write a script that can insert this data into an Oracle table. The table does not have primary keys. The data just needs to be inserted.
I do not have xsd file in this scenario. Please suggest how to modify Method 1 https://community.oracle.com/thread/1115266?tstart=0 mentioned so that I can call the XML mentioned below and insert into a table
Method 1
Create or replace procedure parse_xml is
l_bfile BFILE;
l_clob CLOB;
l_parser dbms_xmlparser.Parser;
l_doc dbms_xmldom.DOMDocument;
l_nl dbms_xmldom.DOMNodeList;
l_n dbms_xmldom.DOMNode;
l_file dbms_xmldom.DOMNodeList;
l_filen dbms_xmldom.DOMNode;
lv_value VARCHAR2(1000);
l_ch dbms_xmldom.DOMNode;
l_partname varchar2(100);
l_filename varchar2(1000);
l_temp VARCHAR2(1000);
TYPE tab_type IS TABLE OF tab_software_parts%ROWTYPE;
t_tab tab_type := tab_type();
BEGIN
l_bfile := BFileName('DIR1', 'SoftwareParts.xml');
dbms_lob.createtemporary(l_clob, cache=>FALSE);
dbms_lob.open(l_bfile, dbms_lob.lob_readonly);
dbms_lob.loadFromFile(dest_lob => l_clob, src_lob => l_bfile, amount => dbms_lob.getLength(l_bfile));
dbms_lob.close(l_bfile);
dbms_session.set_nls('NLS_DATE_FORMAT','''DD-MON-YYYY''');
l_parser := dbms_xmlparser.newParser;
dbms_xmlparser.parseClob(l_parser, l_clob);
l_doc := dbms_xmlparser.getDocument(l_parser);
dbms_lob.freetemporary(l_clob);
dbms_xmlparser.freeParser(l_parser);
l_nl := dbms_xslprocessor.selectNodes(dbms_xmldom.makeNode(l_doc),'/PartDetails/Part');
FOR cur_emp IN 0 .. dbms_xmldom.getLength(l_nl) - 1 LOOP
l_n := dbms_xmldom.item(l_nl, cur_emp);
t_tab.extend;
dbms_xslprocessor.valueOf(l_n,'Name/text()',l_partname);
t_tab(t_tab.last).partname := l_partname;
l_file := dbms_xslprocessor.selectNodes(l_n,'Files/FileName');
FOR cur_ch IN 0 .. dbms_xmldom.getLength(l_file) - 1 LOOP
l_ch := dbms_xmldom.item(l_file, cur_ch);
lv_value := dbms_xmldom.getnodevalue(dbms_xmldom.getfirstchild(l_ch));
if t_tab(t_tab.last).partname is null then t_tab(t_tab.last).partname := l_partname; end if;
t_tab(t_tab.last).filename := lv_value;
t_tab.extend;
END LOOP;
END LOOP;
t_tab.delete(t_tab.last);
FOR cur_emp IN t_tab.first .. t_tab.last LOOP
if t_tab(cur_emp).partname is not null and t_tab(cur_emp).filename is not null then
INSERT INTO tab_software_parts
VALUES
(t_tab(cur_emp).partname, t_tab(cur_emp).filename);
end if;
END LOOP;
COMMIT;
dbms_xmldom.freeDocument(l_doc);
EXCEPTION
WHEN OTHERS THEN
dbms_lob.freetemporary(l_clob);
dbms_xmlparser.freeParser(l_parser);
dbms_xmldom.freeDocument(l_doc);
END;
<TWObject className="TWObject">
<array size="240">
<item>
<variable type="QuestionDetail">
<questionId type="String"><![CDATA[30]]></questionId>
<questionType type="questionType"><![CDATA[COUNTRY]]></questionType>
<country type="String"><![CDATA[GB]]></country>
<questionText type="String"><![CDATA[Please indicate]]></questionText>
<optionType type="String"><![CDATA[RadioButton]]></optionType>
<answerOptions type="String[]">
<item><![CDATA[Yes]]></item>
<item><![CDATA[No]]></item>
</answerOptions>
<ruleId type="String"><![CDATA[CRP_GB001]]></ruleId>
<parentQuestionId type="String"></parentQuestionId>
<parentQuestionResp type="String"></parentQuestionResp>
</variable>
</item>
<item>
<variable type="QuestionDetail">
<questionId type="String"><![CDATA[40]]></questionId>
<questionType type="questionType"><![CDATA[COUNTRY]]></questionType>
<country type="String"><![CDATA[DE]]></country>
<questionText type="String"><![CDATA[Please indicate]]></questionText>
<optionType type="String"><![CDATA[RadioButton]]></optionType>
<answerOptions type="String[]">
<item><![CDATA[Yes]]></item>
<item><![CDATA[No]]></item>
</answerOptions>
<ruleId type="String"><![CDATA[CRP_Q0001]]></ruleId>
<parentQuestionId type="String"></parentQuestionId>
<parentQuestionResp type="String"></parentQuestionResp>
</variable>
</item>
</array>
</TWObject>Reposted as
Script to parse XML data into Oracle DB -
Read XML data and Insert into SQL Database
Hi Everybody,
i am new to Oracle SOA.
Can anybody help me out to how to insert xml data into sql server using BPEL and JDeveloper (with clear steps).
thanks in advance
Vishnu KumarHi Peter,
you are right,at high level i was able to figure at these things.
But i don't know how to implement it using jdeveloper.
It will be more helpful if you can give me detailed steps to do it.
Thanks
Vishnu Kumar -
Form converts to XML data and I need the pdf form to be visable
Hello all,
I just created a form in pro 8 for our salesmen and it is a sales order form. I have sent it out to them to fill out and return it by pressing the email button in the form and some have come back as XML date stream and some came back as the original form with all fields filled in. I want to know how to get all of them to come back filled in instead of the XML Data. All salesmen have Reader 8 installed on the machines. Can anyone help me with this problem?
Thanks in advance,
TonyHi there, I'm myseld using the Application data-field in order to collect mobile forms OFFLINE.
I can collect as many mobile form as i want BUT, of course, need to be online to sync the data from mobile to their cloud.
Hope that helps.
Otherwise, would probably need to plug ur idevice and look for the application database with such tool as iConnector. -
XML data not displayed on external applications (Adobe, PowerPoint, Word)
Hi,
I have imported an XML file into Xcelsius using the XML data connection button in Xcelsius 2008 SP1.
I would like to test whether the model is correctly picking up the data when XML file is updated.
The XML file is stored locally on my PC.
I'm able to view and refresh the data in Preview mode and in the .SWF file but when exporting to Adobe, PowerPoint or Word, I get #2148 error on opening.
I did add the path to the swf file and xml file in the Flash Player security settings with no success.
Any suggestions welcome
Best regards,
Jenni JacobHi Jenni,
Adobe PDF usually works because like Xcelsius it allows the SWF to load data from anywhere so I am not sure why that one would not work...
When you export to PowerPoint or Word that probably counts as a different SWF so try adding the folder where the PPT/DOC lives as trusted instead.
When I am in a VM I tend to add C:\ folder as trusted (meaning I can run a SWF anywhere on my C drive in the VM with trusted permissions).
Regards,
Matt
Maybe you are looking for
-
Wifi performance issues on macbook pro
Hello, I have an older MacBook Pro running OS X 10.7.5 that is having serious wifi issues (really slow browsing and accessing sites) and even regularly appears to drop the wifi connection. It also has trouble printing to our HP wireless printer. I
-
Sites that have the option "login with facebook" don't work. They don't log in
For example. My nikeplus account needs to log in via Facebook. But it doesn't work. I already tried downloading chrome, but that doesn't work either. Hope you guys can help me! Grtz, Eleonora
-
HP G72B60US HDMI to TV Disables audio to Surround
My audio connection runs from the headphone jack to my Surround receiver. This works perfectly. The HDMI cable runs from TV to PC. When I connect the HDMI cable to the Laptop, I get the video signal , but the audio to the surround is cut off. What
-
Hi All, I have set block for the budget deviation. I have set budget for PO , GRPO, and Accounting. selected the radio button of monthly budget. I have set the 12000 as budget amount for G L NO EX1111. So per month budget amount is Rs.1000. For the f
-
Startup Loop after Lion software update on MacBook
I installed the software update for Lion last night...and now I am in a startup loop nightmare...white screen with apple logo for about 5 minutes or so...then the computer shuts itself off ...then restarts only to do it again & again...when I held th