the analysis of the sources of XML data
I'm eager to read the file neo - datasources.xml and loops through the data sources. So I don't have a TYPE of CFFILE = 'READ' and got the content, and doesn't have xmlparse() to create the XML object. But then I'm stuck - CFDUMP shows me a structure within a table inside 'wddx encoded. I can't understand the syntax structure to go beyond "wddx encoded" and down inside to access the data. Can someone point me in the right direction? Thank you.Thank you. It is good to know that some problems have easy solutions.
Tags: ColdFusion
Similar Questions
-
source of XML data in the db column?
Hello world
If I want to use XML data as the source of data for BI Publisher, these data can be stored in a column of data
or do I have to store the data from the source XML files in a file system?
If it can be stored in a column db - is there something I need to consider regarding the definition of the data source and the creation of the data model?
Thank you
Concerning
Andy
These data can be stored in a column of data
or do I have to store the data from the source XML files in a file system?
Yes
the data can be stored in
(1) table xmltype or clob or blob column or...
so you can analyze this column somehow by xquery or xmltable or...
(2) in the file of the bone
bfilename as therapy
xmltype( bfilename('GET_XML', xmlfilename.xml))
-
I get this error:
* The data source cannot be created: [MapperConfig] unable to add the map data source.*
While following step 2 of the installation Demo MapViewer tutorial.
I have the BI server installed on a machine and to implement the demonstration on a data schema database RAC.
I managed to configure the connection via OIC and TNS Planner,
but now when I try to add, OracleAS MapViewer Admin, data MVDEMO source I get this error.
I use:
NAME mvdemo
BASED ON: TNS is selected
TNS name: ORCL_TAF
User: mvdemo
Password: mvdemo
# Mappers: 3
Max connections: 100
Thank you
MarcoHi Marco,.
I had the same problem with the MapViewer and a RAC.
You define your data source in the MapViewerConfig.xml? You will find this XML code under: j2ee/mapviewer/applications/mapviewer/web/WEB-INF/conf
If so, you need to restart your OC4J Instance with the option "-userThreads. You can do this in the properties of the server administration/mapviewer/unter EnterpriseManager or with the opmn.
So, I think, you have first to define your data source in the configuration file. Otherwise, it does not have with a CAR.
I hope this helps.
Andrea of CU -
How to recover the server response XML data
Hey fellows,
So I wrote this piece of code that sends an image to a server (thanks a lot Mantaker for the position you where has written on it!) and then I expect to receive a response in the form of XML code. I tried to use getResponseMessage(), which gives me a nice 'OK '.
How could I achieve this? I read somewhere that it might be possible through a feed, could you help me?
I'll give you a lot of congratulations!
If you already have the basics of an HttpConnection down, it gets a little easier later.
Once you have the your HttpConnection InputStream you can create a Document for analysis using the built-in XML parser.
public static Document getXmlDoc(InputStream in) { Document doc = null; DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance(); DocumentBuilder docBuilder; try { docBuilder = docBuilderFactory.newDocumentBuilder(); docBuilder.isValidating(); doc = docBuilder.parse(in); doc.getDocumentElement().normalize(); } catch (Exception e) { System.out.println("getXmlDoc Error: " + e); } return doc; }
It is a basic function that I use to read a XML from a web server. If there are errors reading or parsing of the document, this function returns null.
After making sure that you close your InputStream, you can start reading your document.
-
Hi all
I am Oracle 11 g
I have XML data as below
< lines >
< line-diff op = 'delete' line-stat = "oos" >
< host rank = "targ" >
< name of col = 'GUID' val = "7932504" / >
< name of col = 'SCRTY_ROLE_ID' val = '1' / >
< name of col = hex "GGROWHASH" = "o" val = 'ffffffffffffffff' / >
< / row >
< / line-diff >
< line-diff op = 'delete' line-stat = "oos" >
< host rank = "targ" >
< name of col = 'GUID' val = "7933046" / >
< name of col = 'SCRTY_ROLE_ID' val = '1' / >
< name of col = hex "GGROWHASH" = "o" val = 'ffffffffffffffff' / >
< / row >
< / rows >
Need to extract value and show as below
OPERATION GUID SCRTY_ROLE_ID
Remove 7932504 1
Remove 7933046 1
Please help on this.
Appreciate your help.
Thank you
We can somewhat simplify the XQuery for @Gaz in Oz:
WITH data(text) AS (SELECT '
OPERATION GUID SCRTY_ROLE_ID ------------ ---------- -------------
delete 7932504 1 delete 7933046 1 Update 7933999 1 3 selected lines.
-
Result of the handful of XML data with httpservice
Hello
Please find my xml data http://121.242.211.152/janaagraha/get_complaints
I need to load these xml data through httpservice and depending on the result of the handle, I need access to individual data as complaints.complaint.title using the service loop. I tried this I could not get the result I need
" < s:HTTPService id = 'Complaints' url = ' http://121.242.211.152/Janaagraha/get_complaints "result ="Complaints_resultHandler (event)"fault =" Complaints_faultHandler (event) "> "
< / s:HTTPService >
< fx:Script >
<! [CDATA]
protected function Complaints_resultHandler(event:ResultEvent):void
{
var complaintarray:ArrayCollection = event.result.complaints.complaint;
var carray:Array = complaintarray.toArray ();
for (var i: Number = 0; i < carray.length; i ++)
{
var cmparray:Array is ObjectUtil.toString(carray[i]).split('~~~');.
Title: string var = ObjectUtil.toString(cmparray[0]);
Alert.Show ("HI" + title);
}
}
Please suggest I need to get data like title, complainturl, latitude longtitude etc.
Concerning
Jeremi
Your node of categories is not necessary contain two category nodes, check if there is in fact two categories:
var complaint_cat:XMLList = complaint.categories.category; if(complaint_cat.length() > 0){ var mainCategory:String = complaint_cat[0].toString(); if(complaint_cat.length() > 1){ var subCategory:String = complaint_cat[1].toString(); } } trace("main category: " + mainCategory + ", sub category: " + subCategory);
--
Kenneth Kawamoto
-
How the filter E4x Xml data in a tile list?
Hello!
I am trying to use a search box for some xml data that I have in a tile list. Can someone point me in the right direction?
Here is the list of tile:
< mx:HTTPService id = "GetXmlService".
resultFormat = "e4x".
Fault = "getXMLFault (Event); »
result = "getXMLResult (Event); »
showBusyCursor = "true" / >
< mx:TileList id = 'tileList '.
dataProvider = "{GetXmlService.lastResult.image}" "
itemRenderer = "CustomItemRenderer."
columnCount = "4".
columnWidth = "125".
number of lines = '2 '.
rowHeight = '150 '.
themeColor = "haloSilver".
verticalScrollPolicy = "on".
itemClick = "tileList_itemClick (event); "backgroundAlpha ="0"height ="487"borderStyle ="none"="30"right ="10"left ="10"/ >
And here is the XML data:
<? XML version = "1.0"? >
< Gallery >
< user name image = "People1' rating ="5"="yes"/ >
< / Gallery >
Hello
protected function searchFunc(item:Object):Boolean
{
var username:String = .@username (XML topic);
var insession: String = .@insession (XML topic);
username = (username.substr(0,ti.text.length)) .toUpperCase ();
var chkUser:String = (ti.text) .toUpperCase ();
If (username == chkUser & insession.toUpperCase () == "YES")
Returns true
on the other
Returns false;
}
I changed the variable names to make it a little clearer. Now whenever you perform a search it will only show according to Yes (Yes). You can have nested If more more complex application but remember there is always need to be a return to true or false for each record (item).David. -
Script for the use of XML data to pre file form open using the player
I need to pre fill five fields when the user opens the form using Acrobat Reader (title, name, address, etc.). The values are saved in an xml data file in the same directory as the form (no database or web services connections). I tested the xml code and form structures using shapes-> manage form data-> import data and everything works fine. Now, I need to emulate this behavior programmatically, so it does not work using only Acrobat Reader. I can't find the magic java script command to import the data (I tried xfa.host.importData and xfa.datasets.data.loadXML without result). Require purchase Pro or Livecycle Server product is not an option. This seems to be a basic requirement, so I hope I'm just being stupid and missing of which is obvious. Thank you.
Hello
Unless you're reader allowing the form with LiveCycle Reader Extensions ES, users with reader will NOT be able to import (or export) XML.
Summary here: https://acrobat.com/#d=3lGJZAZuOmk8h86HCWyJKg
Based on your description that you look at options 2 and 3, users with the reader.
Sorry,
Niall
-
Problems with the display of XML data
I'm a bit new to Flash and have problems out XML data in Flash. Basically, when I saw publication, all data load XML file and displays very well. But when I actually publish the file and view in a browser, no data is displayed.
Data from XML is happening in the areas of dynamic text (title, description, image).
I use an absolute URL to retrieve the XML data, and I tried a lot of text integrated solutions, and nothing has worked. Here, any help would be greatly appreciated.
I have attached the script action, but also a piece of the XML file I get the data.After going through each difficulty as possible, I could find, I managed to miss the information contained in the link below. This fixed my issue.
http://www.Adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14213
-
generate the xsd file xml data
I would like to make my java application automatically convert a given to a one .xml .xsd file.
I know that with jdev, you can generate an xsd one xml file, and I want my application to do the same thing.
I also know that I can use JAXB: first of all, I bind the xsd file, then I marshall the java class created for the xml. But I don't know how to do it.
y at - it a simple way to use the 'things' behind the generation of xml xsd jdev.Please see
http://www.developer.com/Java/Web/article.php/3722211/using-JAXB-in-JDeveloper-1013.htmJDeveloepr 11 g includes JAXB 2.0.
-
Dear Sir
The current ver is 10gXe
I trf suite data through two table the Pl/sql procedure in table sales, filed (col) narr varchar2 (200)
How can I select all in xml?
is it possible to convert given below even even in Formate of xml
> < 1 INVOICE NUMBER < / INVOICE NUMBER >
< DATE 14/09/2011 invoice - > < / DATE of INVOICE >
< BILLING - >
Pipe of the first < DESCRIPTION OF PRODUCTS > carbon steel seamless < / PRODUCT >
CETSH < NUMBER > 73049000 < / CETSH-NUMBER >
QUANTITY < CODE > KG < / QUANTITY-CODE >
< QUANTITY > 40 < / QUANTITY >
< AMOUNT-OF-DUTY-set GAME > 3699 < / QUANTITY-OF-DUTY-INCURRED >
< / BILLING >
< / INVOICE-INSTRUCTIONS >You must use the getClobVal() method to convert the XMLType to a character data type:
... ).extract('/*').getclobval() as yourXML from demo_orders o;
-
Hello
What are the conditions to be able to extract data from a pdf form? I thought, that it is necessary to have the XML schema data connection and that all fields in the form must be bound to this data connection.
But today I found, that domains can use the right connection 'use name (FieldName)', it's something by default - and that explicit data connection is necessary for this purpose.
What is the common approach to the design of forms, which must be extracted by LC processFormSubmission?
Thank you.
All the data that is retrieved from an XFA form designed will be in xml format. The question then becomes how to control the format of the data that results. By default, the xml structure will follow the hierarchy (it is the Fieldname binding or binding normal use). If you want the data to follow a particular structure (so that you can use it with other systems that have a specific format) so that's when you would use sample XML or a schema in the data connection. Then by nodes of connection in the connection data in the fields, the form knows how to create the desired structure. If the structure is unimportant, then just stick with normal links and that no data connection is necessary.
Hope that helps
Paul
-
How to remove the label of xml data in sql
with a as (select '<?xml version="1.0"?> <ROWSET> <DEPT> <DEPTNO>10</DEPTNO> <DNAME>ACCOUNTING</DNAME> <LOC>NEW YORK</LOC> <EMP_LIST> <EMP_ROW> <EMPNO>7782</EMPNO> <ENAME>CLARK</ENAME> <JOB>MANAGER</JOB> <MGR>7839</MGR> <HIREDATE>09-JUN-1981 00:00:00</HIREDATE> <SAL>2450</SAL> </EMP_ROW> </EMP_LIST> </DEPT> </ROWSET>' from dual) select * from a;
I want the output after removing the same < HIREDATE > tag
<?xml version="1.0"?> <ROWSET> <DEPT> <DEPTNO>10</DEPTNO> <DNAME>ACCOUNTING</DNAME> <LOC>NEW YORK</LOC> <EMP_LIST> <EMP_ROW> <EMPNO>7782</EMPNO> <ENAME>CLARK</ENAME> <JOB>MANAGER</JOB> <MGR>7839</MGR> <SAL>2450</SAL> </EMP_ROW> </EMP_LIST> </DEPT> </ROWSET>
Please help me
SQL> with a as ( 2 select ' 3
4 ' xmlcontent 20 from dual 21 ) 22 select xmlserialize(document 23 xmlquery( 24 'copy $d := . 25 modify delete node $d/ROWSET/DEPT/EMP_LIST/EMP_ROW/HIREDATE 26 return $d' 27 passing xmlparse(document a.xmlcontent) 28 returning content 29 ) 30 indent 31 ) as xmlcontent 32 from a ; XMLCONTENT --------------------------------------------------------------------------------5 1910 6ACCOUNTING 7NEW YORK 89 1810 177782 11CLARK 12MANAGER 137839 1409-JUN-1981 00:00:00 152450 1610 ACCOUNTING NEW YORK 7782 CLARK MANAGER 7839 2450 -
Operation of the sample XML data.
Hello
I use BI 11g Publisher.
I'm creating a large data (50000 lines) report.
I'm done with data sets, they work, and I could also get the example of xml data (I chose 'all' in the menu drop-down lines) for them.
But when I try to create the new report, after checking the boxes for all data sets, loading... message appears and does not disappear.The reason for the problem may be the enormous amount of data?
Because when I tried with the example of XML for only 100 lines, it has successfully loaded.I want that when reports are displayed, they are shown for all rows of the table...
I have some more questions.
1. the report displays data only for lines that are generated in the sample xml?
2. If more data are added after reports are generated, new data will be included in the reports?
3. what needs to be done, it is filed, I want the same reports of data from different sources (in my case this is the JNDI) but the same table definitions?
Help, please
Thanks in advance,
ShuklaG
When running the engine TONE pulls all matching records and renders on model and generate the report.
with regard to other issues:
1. the report indicates the complete data.
2.Yes, the report shows with addition of data as well. It depends entirely on the SQL of data overall.
3. change the data source (as long as datasource is already configured) at the level of datamodel regenerate the XML. If different data sources must be defined for the different sets of data, change the data source in data defination game save the datamodel, generate the xml data and save.
Hope that it answers the questions.
-
Insert XML data into the MySQL database
Hi all, I'm new with XML and I need help with the insertion of XML data in the mysql database using coldfusion. I looked on the Coldfusion Documentation and saw how to convert XML to a Coldfusion query... but there was no example of how to do an insert. If anyone can give me a good example or point me towards a good direction on how to do it, I would really appreciate it.
Thank you very much in advance
AlfieNevermind, I finally managed to do work!
Maybe you are looking for
-
When I click on the Blue Star of bookmarks, it hops on the folder on the right, but when I click once again, I can't see the menu so that I can mark and drop my favorites. I don't even know if my pages are still really be set bookmark. I guess that i
-
Hi, I have a Nas (qnap 212) and wants to get access to my work. but firefox denies access because there is an invalid certificate, how to solve this, I hope, little problem (https://87.210.77.168:8081 / musicstation /) Grtzz Luis van dijkHolland
-
Data transfer from matlab to labview
I'm having a problem importing data I save with Matlab in Labview. From the Web site of NOR, I gathered these information: To record a vector or a format ASCII of Xin matrix with delimiter to the tab, enter the following in the command window, or m-s
-
Issue of connect 5324 power on simple access
Good day all I'm trying to put a simple on a port of Sonicwall 5324 switch, I have Ip' ed. The port of sonicwall 172.16.10.2 and the only one VLAN on the switch's IP 172.16.10.1 I have on box hooked up to the switch with IP 172.16.10.10 Of the switc
-
My old PC start of a year, shows the blue screen after about 3 minutes of system startup. Help, please! BTW, I'm able to put this problem in safe mode. ------------------------------------------------------------------ Signature of the problem:Proble