Populating a XML
Hi all
My problem..
I have an XML with certain amount of data populated. Now I wish to populate large amount of data in its various tags/elements. Is there a way to automate this process?? The xml can vary and hence i dont want to have a hard coded process..
Thanx for help.
This way you extract the information from the xml into an
array and use it as the dataprovider. In this case I've made the
'data' property of each item refer back to the original xml
node...and put a trace in so you can see how its working.... you
will very likely want to do something else.
Similar Messages
-
Population of XML file from bridge?
I have a flash runtime for displaying pictures that reads the filename, thumbnail filename and a description of the picture and it reads the information from an .xml file. What I would like to do is type in a description of each picture using metadata in bridge, highlight the pictures I want (in the order I want them in) and have bridge perform the following tasks.
1. Resize them to the size I specify.
2. Create a small thumbnail of it (again at a specified size).
3. Create and populate an .xml file with the information described above for each picture selected.
I am quite sure 1 and 2 should be fairly easy, but don't know if #3 is even possible. Does anybody have any bright ideas?Thanks for the info. There are flash galleries that come with bridge, but how would you find out how they are generating XML? I would think that is code inside the program itself that is not available for viewing. Anyway, here is the xml that is needed. Here is the basic workflow I need.
1. Add a brief description to each photo using one of the attribute fields in bridge.
2. Select pictures in bridge in the order you want them to appear.
3. Resize the pictures and optimize them for the web at a consistent size.
4. Create a thumbnail graphic.
5. Copy the images and thumbnails to a specified directory.
6. Create an xml file as shown below.
Again, thanks in advance for any help!
<gallery>
<setup path="../images/"/>
<item>
<thumb>t6.jpg</thumb>
<img>6.jpg</img>
<caption>Giraffe! </caption>
</item>
<item>
<thumb>t12.jpg</thumb>
<img>12.jpg</img>
<caption>A pair of parrots</caption>
</item>
<item>
<thumb>t11.jpg</thumb>
<img>11.jpg</img>
<caption>Playing pandas</caption>
</item>
</gallery> -
Generic Populating the XML document using Java Class Generator and Reflection
I am looking for a generic source code in order to convert the data parsed from any tabular text form ( tab delimited for example that maps certain XML Schema created form Database Schema for Oracle.
I know it is possible to generate XML DTD or XSD from Oracle database table schema by XSU utility from XDK. And also it is possible to create Java source files from an XML DTD or XSD by using XML Clas Generator.
I believe there must be some generic code that parses tabular text data and converts them to XML format using above mentioned generated Java source files and may be Java reflection mechanism.
If anyone has any tool or knows any free ware that helps me, I would like to know about it, and I would really appreciate it.1. Read the XML file into a DMO object, walk the DOM to find the list, insert your new entry as a child, write the DOM back to a file.
2. If the XML is not in a file, but in a string, then you can do the same with string input and output. -
Field of a table is not getting populated correctly in xml file.
Hi Experts,
I have an issue.
I transfer a ABAP table as an XML messgae on to application server.
BUt the correct format is not comming on Server.
Eg: i have a filed in table as /abc/def this field is getting populated on xml messgae as -abc-def
How do i solve thi sproblem.
Inouts are highly appreciated.
Regards,
VarunHi,
Check following will helpul
http://blogs.oracle.com/jdevotnharvest/entry/how_to_programmatically_set_focus -
Delete single item form multiple populated list
Hi,
please help me to find a solution!!
I have 2 listboxes. listbox Description is populated by XML.
When user selects multiple items at the same time from the Description listbox, they are populated in the listbox and are removed from Description listbox. that works fine.
But the issue is if the user accidently selects one of the multiple selected items at the same time wrong and want to delete a single items, this doesnt work anymore.
I can not even click on each single item.
I try to find a way how to enable user to populate multiple items at the same time and be able to delete each single item, which then should return back to the Description listbox.
I would really appreciate if you could help me on this!!!
This is my sample: https://acrobat.com/#d=l0mujTOFduSJFele5R5i3g
Thanks,
DianaWould you not just reverse your code ..instead of populating listbox from the selections in description and deleting the items out of description, remove the items from listbox and update description then remove the items from listbox.
Or am I missing something?
Paul -
XML attributes and object types
I want to create an XML Document of the following form
<family>
<parent attr1="val1">
<child attr2="val2" attr3="val3"/>
</parent>
</family>
Using object table and object type (for the child element), I am able to produce the following XML Document (with a "select * from family" query)
<family> <!-- rowset -->
<parent> <!-- row -->
<attr1>val1</attr1>
<child>
<attr2>val2</attr2>
<attr3>val3</attr3>
</child>
</parent>
</family>
The question is: how am I going to query these data so that the "attr" elements are mapped to attributes (using XSU only, without XSLT)?
I have already tried the following:
1. Using
SELECT attr1 as "@attr1",
f.child.attr2 "@attr2",
f.child.attr3 "@attr3"
FROM family f
all the attributes are obviously appended to the "parent" element.
2. Using nested table for "child" and the following query
SELECT attr1 as "@attr1",
CURSOR (
SELECT n.child.attr2 as "@attr2", n.child.attr3 as "@attr3"
FROM TABLE(f.child n)
) AS "child"
FROM family f
I am getting the following document
<family>
<parent attr1="val1">
<child>
<child_ROW attr2="val2" attr3="val3"/>
</child>
</parent>
</family>
Is there a smart SQL query to produce the desired document? What data types
is it recommended to use to define my db schema (object types, nested tables...)?
Thank you in advance
nullFinally, I got the desired XML format output from relational tablse using schema based XMLType views.
Wherein I created Object Types from relational table, generated the schema for the Object type, registered the schema and finally created XMLType Views for populating the XML data from Relational Tables.
I guess, you all might aware of my problem, where I got struck. Instead of printing the data in XML format I am successful in generating the XML format data Using the Query Select from BLABLA_Type_view* . I am able to print the number of rows, that I require which is in the fallowing format.
Column Name
1. SYS.XMLTYPE ----- As a row
The view I am querying for is printing the data in a string format, where in I got to do the fallowing query
SELECT SYS.XMLTYPE.getStringVal(OBJECT_VALUE) FROM BLABLA_Type_view. Which ultimately gave me the required data in XML format with tags.
Thanks for every one who tried to give a try to solve, especially "mdrake" -
Hi All
This is Nitin, I have the requirement like this..
I have xml and want to get pdf report on base of xml file.
To do this i want to use .NET environment using c# from where i can call the template and supply the xml file and get my report. I am using windows plateform.
From different sources i got a clue that Adobe Output designer and Certral pro server can solve the problem, but dont know how to proceed, becoz dont have evalution copy of the software.
In the pdf report i have following requirement:
- toc (table of content)
- different types of graph (pie, bar etc)
- populated from xml
- different format report has to be generated using a master template depending on xml file and data.
nitinWe have started using Adobe Output designer and Central pro server recently to get PDF from XML .So far so good. This software was bought by our company. I have no idea abt the trial version.Contact Adobe/Four Point Solutions
Silpa -
Populating dynamic components in a remotely connected desktop application
Hii Javaties
I develping a desktop appliaction, which will remotely connect to internet.
My requiremnets for the project are
1)- Combo boxes, lists are dynamic(they need 2 be populated from databse).Since user will not be always connected to internet , so i need to devise some other way 2 do this .
the solution tht i m thinking upon is tht , the comboboxes ,lists will be populated fom XML file tht will be stored in user P.C(rather tht this file will be in jar file of the desktop application).
So now whenever user has access to net, then he can click on a menu
button (UPDATE FILES), so tht he can get the latest copy from the central server .
In the central server , the data will be stored in an RDBMS , and this data will be sent 2 the application on client computer as an XML file.
and this will rewrite the (XML)files , tht the appliaction needs for poplulating Combo boxes and lists.
2)User needs to transmit data back to central server remotely.
I plan to use XML for this.
Now My questions are -------
1) Is this approach Correct ?
2) if the data is large , is it wise to store it as an XML file
3) How 2 go abt it.
If anythng is not clear , plz tell me ?
U can also click on the link below to see the original question posted by me
http://forum.java.sun.com/thread.jspa?threadID=734442I don't understand why you need xml for jcombobox content? A flat file for each combobox will serve its purpose quite well.the contents of combo boxes will be fetched , from a repository (XML) file, which will contain data from database.
This repository can be aslo updated by connecting to server,and updating it with new data from database.
If u still have dobt do tell me .? -
i'm doing a web page with my restaurant's menu. I'm using a
tree component, have done the AS and the XML and everything seemed
to work while testing with only a couple items inside the xml.
However - after having populated the XML with all the data, the
tree stopped displaying all the data - i've got three main chapters
in the tree -Starters, Main Courses and Desserts.
Now only the Starters show. Is the XML to big? How can i use
multiple XMLs in one tree?
Appreciate all help.I agree with the poster who said SAX may be a better choice. 13 MB, though (probably) smaller than the memory space of your machine, is still going to take a while to parse & build the nodes in memory. Unless you are going to keep the parsed XML tree in a memory for a LONG time and do a LOT with it, SAX is likely a better choice.
With SAX, you just parse a little at a time until you find what you're looking for, then quit. This would be a better wa to go, for example, if want only few parts of the 13 MB document.
And how many 13 MB documents do you have? If more than just one or two, you're going to take a huge performance hit by trying to parse each one & stuff the whole thing into memory if you're only interested in a small part of it. -
How is DefaultTable populated after dbms_xdb.createResource?
** 10gR2 **
hi, I'm inheriting some XMLDB/PlSql code
new to XMLDB, appreciate some help
<p>
Sample snip of registered xsd:
<div style="color:red;">
<xs:complexType name="OurTransactions" xdb:SQLType="OurTransaction1234_T" xdb:SQLSchema="SCOTT">
<xs:complexContent>
<xs:extension base="SalesTransactions">
<xs:sequence>
<xs:element name="OurTransaction" type="SalesOurType"
maxOccurs="unbounded" <strong>xdb:defaultTable="OUR_TRANSACTION_TABLE</strong>" xdb:SQLInline="false"
xdb:SQLName="OurTransaction" xdb:SQLType="SalesOur4321_T"
xdb:SQLSchema="SCOTT" xdb:defaultTableSchema="SCOTT"
xdb:SQLCollType="XDB$XMLTYPE_REF_LIST_T" xdb:SQLCollSchema="XDB"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</div>
</p>
<p>
I do see the XMLtype tables and types referenced in the annotation above.
<strong>and XML doc is added this way: <span style="color:blue;">
dbms_xdb.createResource('some_url', xml_clob);</span></strong>
</p>
<p>
the default XMLtype table "OUR_TRANSACTION_TABLE" gets populated after dbms_xdb.createResource
<strong>
My question is "How ?"
How is the default table populated when XML is added via "dbms_xdb.createResource" ?</strong>
I haven't come across this in the documentation, appreciate if you can point out where in the doco.
this specific topic is mentioned.
thanks!
</p>Truncate table should delete the associated resources (at least it appears to in 11g)
If that doesn't work you can try something like this
SQL> set timing on
SQL> --
SQL> select ANY_PATH
2 from RESOURCE_VIEW, PURCHASEORDER p
3 where extractValue(res,'/Resource/XMLRef') = ref(p)
4 /
/home/SCOTT/purchaseOrders/2003/Apr/AMCEWEN-20030409123336200304.xml
/home/SCOTT/purchaseOrders/2003/Apr/EABEL-20030409123336200304.xml
/home/SCOTT/purchaseOrders/2003/Apr/PTUCKER-20030409120030491PDT.xml
/home/SCOTT/purchaseOrders/2003/Apr/PTUCKER-20030409123336200304.xml
/home/SCOTT/purchaseOrders/2003/Apr/SBELL-20030409120030431PDT.xml
/home/SCOTT/purchaseOrders/2003/Apr/SBELL-20030409123336200304.xml
/home/SCOTT/purchaseOrders/2003/Apr/SKING-200304091233363200304.xml
/home/SCOTT/purchaseOrders/2003/Apr/SMCCAIN-20030409120030441PDT.xml
/home/SCOTT/purchaseOrders/2003/Apr/SMCCAIN-20030409120030451PDT.xml
/home/SCOTT/purchaseOrders/2003/Apr/SMCCAIN-20030409123336151PDT.xml
/home/SCOTT/purchaseOrders/2003/Apr/VJONES-20030409120030401PDT.xml
/home/SCOTT/purchaseOrders/2003/Apr/VJONES-20030409123336301PDT.xml
/home/SCOTT/purchaseOrders/2003/AsianExamples/BEVERETT-2003110912343601PDT.xml
/home/SCOTT/purchaseOrders/2003/AsianExamples/BEVERETT-2003112302343802PDT.xml
/home/SCOTT/purchaseOrders/2003/AsianExamples/CDAVIES-2003100809243618PDT.xml
/home/SCOTT/purchaseOrders/2003/AsianExamples/CDAVIES-2003120809668273PDT.xml
/home/SCOTT/purchaseOrders/2003/AsianExamples/ChineseMovieTitles.xml
/home/SCOTT/purchaseOrders/2003/AsianExamples/WTAYLOR-2003082311908574PDT.xml
/home/SCOTT/purchaseOrders/2003/Aug/AWALSH-20030809123337203PDT.xml
/home/SCOTT/purchaseOrders/2003/Aug/AWALSH-20030809123337303PDT.xml
/home/SCOTT/purchaseOrders/2003/Aug/CJOHNSON-20030809123337283PDT.xml
/home/SCOTT/purchaseOrders/2003/Aug/DAUSTIN-20030809123337103PDT.xml
/home/SCOTT/purchaseOrders/2003/Aug/JCHEN-20030809123337123PDT.xml
/home/SCOTT/purchaseOrders/2003/Aug/JCHEN-20030809123337223PDT.xml
/home/SCOTT/purchaseOrders/2003/Aug/LSMITH-20030809123337323PDT.xml
/home/SCOTT/purchaseOrders/2003/Aug/SBELL-20030809123337353PDT.xml
/home/SCOTT/purchaseOrders/2003/Aug/SKING-20030809123337153PDT.xml
/home/SCOTT/purchaseOrders/2003/Aug/SMCCAIN-20030809123337173PDT.xml
/home/SCOTT/purchaseOrders/2003/Aug/TFOX-20030809123337243PDT.xml
/home/SCOTT/purchaseOrders/2003/Dec/AMCEWEN-20031209123338445PDT.xml
/home/SCOTT/purchaseOrders/2003/Dec/CJOHNSON-20031209123338595PDT.xml
/home/SCOTT/purchaseOrders/2003/Dec/DAUSTIN-20031209123338645PDT.xml
/home/SCOTT/purchaseOrders/2003/Dec/EABEL-20031209123338324PDT.xml
/home/SCOTT/purchaseOrders/2003/Dec/JCHEN-20031209123338475PDT.xml
/home/SCOTT/purchaseOrders/2003/Dec/LSMITH-20031209123338535PDT.xml
/home/SCOTT/purchaseOrders/2003/Dec/PTUCKER-20031209123338565PDT.xml
/home/SCOTT/purchaseOrders/2003/Dec/SBELL-20031209123338304PDT.xml
/home/SCOTT/purchaseOrders/2003/Dec/SBELL-20031209123338505PDT.xml
/home/SCOTT/purchaseOrders/2003/Dec/TFOX-20031209123338354PDT.xml
/home/SCOTT/purchaseOrders/2003/Dec/VJONES-20031209123338374PDT.xml
/home/SCOTT/purchaseOrders/2003/Feb/AMCEWEN-20030209123335600PDT.xml
/home/SCOTT/purchaseOrders/2003/Feb/AMCEWEN-20030209123335701PDT.xml
/home/SCOTT/purchaseOrders/2003/Feb/DAUSTIN-20030209123335811PDT.xml
/home/SCOTT/purchaseOrders/2003/Feb/EABEL-20030209123335791PDT.xml
/home/SCOTT/purchaseOrders/2003/Feb/PTUCKER-20030209123335721PDT.xml
/home/SCOTT/purchaseOrders/2003/Feb/PTUCKER-20030209123335821PDT.xml
/home/SCOTT/purchaseOrders/2003/Feb/SBELL-20030209123335771PDT.xml
/home/SCOTT/purchaseOrders/2003/Feb/SMCCAIN-20030209123335681PDT.xml
/home/SCOTT/purchaseOrders/2003/Feb/WSMITH-20030209123335650PDT.xml
/home/SCOTT/purchaseOrders/2003/Feb/WSMITH-20030209123335741PDT.xml
/home/SCOTT/purchaseOrders/2003/Feb/WSMITH-20030209123335751PDT.xml
/home/SCOTT/purchaseOrders/2003/Jan/AMCEWEN-20030109123335370PDT.xml
/home/SCOTT/purchaseOrders/2003/Jan/AWALSH-2003010912333570PDT.xml
/home/SCOTT/purchaseOrders/2003/Jan/CJOHNSON-20030109123335170PDT.xml
/home/SCOTT/purchaseOrders/2003/Jan/LSMITH-20030109123335500PDT.xml
/home/SCOTT/purchaseOrders/2003/Jan/PTUCKER-20030109123335430PDT.xml
/home/SCOTT/purchaseOrders/2003/Jan/SBELL-20030109123335280PDT.xml
/home/SCOTT/purchaseOrders/2003/Jan/SKING-20030109123335560PDT.xml
/home/SCOTT/purchaseOrders/2003/Jan/SMCCAIN-20030109123335470PDT.xml
/home/SCOTT/purchaseOrders/2003/Jan/TFOX-20030109123335520PDT.xml
/home/SCOTT/purchaseOrders/2003/Jan/VJONES-20030109123335350PDT.xml
/home/SCOTT/purchaseOrders/2003/Jan/WSMITH-20030109123335450PDT.xml
/home/SCOTT/purchaseOrders/2003/Jul/AMCEWEN-20030709123336902PDT.xml
/home/SCOTT/purchaseOrders/2003/Jul/CJOHNSON-2003070912333783PDT.xml
/home/SCOTT/purchaseOrders/2003/Jul/DAUSTIN-2003070912333702PDT.xml
/home/SCOTT/purchaseOrders/2003/Jul/DAUSTIN-2003070912333742PDT.xml
/home/SCOTT/purchaseOrders/2003/Jul/LSMITH-2003070912333722PDT.xml
/home/SCOTT/purchaseOrders/2003/Jul/SBELL-2003070912333763PDT.xml
/home/SCOTT/purchaseOrders/2003/Jul/SKING-20030709123336952PDT.xml
/home/SCOTT/purchaseOrders/2003/Jul/SMCCAIN-20030709123336972PDT.xml
/home/SCOTT/purchaseOrders/2003/Jul/TFOX-20030709123336872PDT.xml
/home/SCOTT/purchaseOrders/2003/Jul/TFOX-20030709123336912PDT.xml
/home/SCOTT/purchaseOrders/2003/Jul/VJONES-20030709123336932PDT.xml
/home/SCOTT/purchaseOrders/2003/Jun/AMCEWEN-20030609123336762PDT.xml
/home/SCOTT/purchaseOrders/2003/Jun/AWALSH-20030609123336642PDT.xml
/home/SCOTT/purchaseOrders/2003/Jun/CJOHNSON-20030609123336712PDT.xml
/home/SCOTT/purchaseOrders/2003/Jun/LSMITH-20030609123336852PDT.xml
/home/SCOTT/purchaseOrders/2003/Jun/SKING-20030609123336622PDT.xml
/home/SCOTT/purchaseOrders/2003/Jun/SKING-20030609123336822PDT.xml
/home/SCOTT/purchaseOrders/2003/Jun/SMCCAIN-20030609123336842PDT.xml
/home/SCOTT/purchaseOrders/2003/Jun/TFOX-20030609123336582PDT.xml
/home/SCOTT/purchaseOrders/2003/Jun/TFOX-20030609123336782PDT.xml
/home/SCOTT/purchaseOrders/2003/Jun/VJONES-20030609123336602PDT.xml
/home/SCOTT/purchaseOrders/2003/Jun/VJONES-20030609123336802PDT.xml
/home/SCOTT/purchaseOrders/2003/Mar/AWALSH-20030309123335871PDT.xml
/home/SCOTT/purchaseOrders/2003/Mar/AWALSH-20030309123335911PDT.xml
/home/SCOTT/purchaseOrders/2003/Mar/AWALSH-20030309123336101PDT.xml
/home/SCOTT/purchaseOrders/2003/Mar/CJOHNSON-20030309123335851PDT.xml
/home/SCOTT/purchaseOrders/2003/Mar/DAUSTIN-20030309123335931PDT.xml
/home/SCOTT/purchaseOrders/2003/Mar/JCHEN-20030309123335961PDT.xml
/home/SCOTT/purchaseOrders/2003/Mar/LSMITH-2003030912333661PDT.xml
/home/SCOTT/purchaseOrders/2003/Mar/SBELL-2003030912333601PDT.xml
/home/SCOTT/purchaseOrders/2003/Mar/SKING-20030309123336131PDT.xml
/home/SCOTT/purchaseOrders/2003/Mar/TFOX-2003030912333681PDT.xml
/home/SCOTT/purchaseOrders/2003/Mar/VJONES-20030309123335971PDT.xml
/home/SCOTT/purchaseOrders/2003/May/CJOHNSON-20030509123336482PDT.xml
/home/SCOTT/purchaseOrders/2003/May/EABEL-20030509123336382PDT.xml
/home/SCOTT/purchaseOrders/2003/May/JCHEN-20030509123336462PDT.xml
/home/SCOTT/purchaseOrders/2003/May/LSMITH-20030509123336562PDT.xml
/home/SCOTT/purchaseOrders/2003/May/PTUCKER-20030509123336452PDT.xml
/home/SCOTT/purchaseOrders/2003/May/SBELL-20030509123336362PDT.xml
/home/SCOTT/purchaseOrders/2003/May/SBELL-20030509123336532PDT.xml
/home/SCOTT/purchaseOrders/2003/May/SKING-20030509123336392PDT.xml
/home/SCOTT/purchaseOrders/2003/May/SMCCAIN-20030509123336512PDT.xml
/home/SCOTT/purchaseOrders/2003/May/VJONES-20030509123336502PDT.xml
/home/SCOTT/purchaseOrders/2003/May/WSMITH-20030509123336412PDT.xml
/home/SCOTT/purchaseOrders/2003/Nov/AWALSH-20031109123337954PDT.xml
/home/SCOTT/purchaseOrders/2003/Nov/AWALSH-2003110912333844PDT.xml
/home/SCOTT/purchaseOrders/2003/Nov/CJOHNSON-20031109123338124PDT.xml
/home/SCOTT/purchaseOrders/2003/Nov/CJOHNSON-2003110912333824PDT.xml
/home/SCOTT/purchaseOrders/2003/Nov/LSMITH-20031109123338234PDT.xml
/home/SCOTT/purchaseOrders/2003/Nov/SBELL-20031109123338204PDT.xml
/home/SCOTT/purchaseOrders/2003/Nov/SKING-20031109123337974PDT.xml
/home/SCOTT/purchaseOrders/2003/Nov/SKING-20031109123338294PDT.xml
/home/SCOTT/purchaseOrders/2003/Nov/SMCCAIN-2003110912333894PDT.xml
/home/SCOTT/purchaseOrders/2003/Nov/TFOX-20031109123337994PDT.xml
/home/SCOTT/purchaseOrders/2003/Nov/WSMITH-20031109123338154PDT.xml
/home/SCOTT/purchaseOrders/2003/Oct/AMCEWEN-20031009123337874PDT.xml
/home/SCOTT/purchaseOrders/2003/Oct/DAUSTIN-20031009123337613PDT.xml
/home/SCOTT/purchaseOrders/2003/Oct/JCHEN-20031009123337633PDT.xml
/home/SCOTT/purchaseOrders/2003/Oct/JCHEN-20031009123337733PDT.xml
/home/SCOTT/purchaseOrders/2003/Oct/JCHEN-20031009123337764PDT.xml
/home/SCOTT/purchaseOrders/2003/Oct/SBELL-20031009123337673PDT.xml
/home/SCOTT/purchaseOrders/2003/Oct/SKING-20031009123337703PDT.xml
/home/SCOTT/purchaseOrders/2003/Oct/TFOX-20031009123337653PDT.xml
/home/SCOTT/purchaseOrders/2003/Oct/TFOX-20031009123337784PDT.xml
/home/SCOTT/purchaseOrders/2003/Oct/VJONES-20031009123337814PDT.xml
/home/SCOTT/purchaseOrders/2003/Oct/WSMITH-20031009123337924PDT.xml
/home/SCOTT/purchaseOrders/2003/Sep/AWALSH-20030909123337483PDT.xml
/home/SCOTT/purchaseOrders/2003/Sep/DAUSTIN-20030909123337423PDT.xml
/home/SCOTT/purchaseOrders/2003/Sep/DAUSTIN-20030909123337553PDT.xml
/home/SCOTT/purchaseOrders/2003/Sep/JCHEN-20030909123337443PDT.xml
/home/SCOTT/purchaseOrders/2003/Sep/SKING-20030909123337383PDT.xml
/home/SCOTT/purchaseOrders/2003/Sep/SKING-20030909123337503PDT.xml
/home/SCOTT/purchaseOrders/2003/Sep/SMCCAIN-20030909123337403PDT.xml
/home/SCOTT/purchaseOrders/2003/Sep/TFOX-20030909123337463PDT.xml
/home/SCOTT/purchaseOrders/2003/Sep/TFOX-20030909123337563PDT.xml
/home/SCOTT/purchaseOrders/2003/Sep/VJONES-20030909123337363PDT.xml
/home/SCOTT/purchaseOrders/2003/Sep/VJONES-20030909123337583PDT.xml
139 rows selected.
Elapsed: 00:00:00.40
SQL> call dbms_xdbz.DISABLE_HIERARCHY('SCOTT','PURCHASEORDER')
2 /
Call completed.
Elapsed: 00:00:01.81
SQL> select ANY_PATH
2 from RESOURCE_VIEW, USER_XML_SCHEMAS
3 where existsNode
4 (
5 res,
6 '/Resource[SchOID="' || SCHEMA_ID || '" and ElNum="' ||
7 extractValue
8 (
9 schema,
10 '/xsd:schema/xsd:element[@name="PurchaseOrder"]/@xdb:propNumber',
11 'xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb"'
12 )
13 || '"]'
14 ) = 1
15 and SCHEMA_URL = 'http://localhost:80/home/SCOTT/poSource/xsd/purchaseOrder.xsd'
16 /
/home/SCOTT/purchaseOrders/2003/Apr/AMCEWEN-20030409123336200304.xml
/home/SCOTT/purchaseOrders/2003/Apr/EABEL-20030409123336200304.xml
/home/SCOTT/purchaseOrders/2003/Apr/PTUCKER-20030409120030491PDT.xml
/home/SCOTT/purchaseOrders/2003/Apr/PTUCKER-20030409123336200304.xml
/home/SCOTT/purchaseOrders/2003/Apr/SBELL-20030409120030431PDT.xml
/home/SCOTT/purchaseOrders/2003/Apr/SBELL-20030409123336200304.xml
/home/SCOTT/purchaseOrders/2003/Apr/SKING-200304091233363200304.xml
/home/SCOTT/purchaseOrders/2003/Apr/SMCCAIN-20030409120030441PDT.xml
/home/SCOTT/purchaseOrders/2003/Apr/SMCCAIN-20030409120030451PDT.xml
/home/SCOTT/purchaseOrders/2003/Apr/SMCCAIN-20030409123336151PDT.xml
/home/SCOTT/purchaseOrders/2003/Apr/VJONES-20030409120030401PDT.xml
/home/SCOTT/purchaseOrders/2003/Apr/VJONES-20030409123336301PDT.xml
/home/SCOTT/purchaseOrders/2003/AsianExamples/BEVERETT-2003110912343601PDT.xml
/home/SCOTT/purchaseOrders/2003/AsianExamples/BEVERETT-2003112302343802PDT.xml
/home/SCOTT/purchaseOrders/2003/AsianExamples/CDAVIES-2003100809243618PDT.xml
/home/SCOTT/purchaseOrders/2003/AsianExamples/CDAVIES-2003120809668273PDT.xml
/home/SCOTT/purchaseOrders/2003/AsianExamples/ChineseMovieTitles.xml
/home/SCOTT/purchaseOrders/2003/AsianExamples/WTAYLOR-2003082311908574PDT.xml
/home/SCOTT/purchaseOrders/2003/Aug/AWALSH-20030809123337203PDT.xml
/home/SCOTT/purchaseOrders/2003/Aug/AWALSH-20030809123337303PDT.xml
/home/SCOTT/purchaseOrders/2003/Aug/CJOHNSON-20030809123337283PDT.xml
/home/SCOTT/purchaseOrders/2003/Aug/DAUSTIN-20030809123337103PDT.xml
/home/SCOTT/purchaseOrders/2003/Aug/JCHEN-20030809123337123PDT.xml
/home/SCOTT/purchaseOrders/2003/Aug/JCHEN-20030809123337223PDT.xml
/home/SCOTT/purchaseOrders/2003/Aug/LSMITH-20030809123337323PDT.xml
/home/SCOTT/purchaseOrders/2003/Aug/SBELL-20030809123337353PDT.xml
/home/SCOTT/purchaseOrders/2003/Aug/SKING-20030809123337153PDT.xml
/home/SCOTT/purchaseOrders/2003/Aug/SMCCAIN-20030809123337173PDT.xml
/home/SCOTT/purchaseOrders/2003/Aug/TFOX-20030809123337243PDT.xml
/home/SCOTT/purchaseOrders/2003/Dec/AMCEWEN-20031209123338445PDT.xml
/home/SCOTT/purchaseOrders/2003/Dec/CJOHNSON-20031209123338595PDT.xml
/home/SCOTT/purchaseOrders/2003/Dec/DAUSTIN-20031209123338645PDT.xml
/home/SCOTT/purchaseOrders/2003/Dec/EABEL-20031209123338324PDT.xml
/home/SCOTT/purchaseOrders/2003/Dec/JCHEN-20031209123338475PDT.xml
/home/SCOTT/purchaseOrders/2003/Dec/LSMITH-20031209123338535PDT.xml
/home/SCOTT/purchaseOrders/2003/Dec/PTUCKER-20031209123338565PDT.xml
/home/SCOTT/purchaseOrders/2003/Dec/SBELL-20031209123338304PDT.xml
/home/SCOTT/purchaseOrders/2003/Dec/SBELL-20031209123338505PDT.xml
/home/SCOTT/purchaseOrders/2003/Dec/TFOX-20031209123338354PDT.xml
/home/SCOTT/purchaseOrders/2003/Dec/VJONES-20031209123338374PDT.xml
/home/SCOTT/purchaseOrders/2003/Feb/AMCEWEN-20030209123335600PDT.xml
/home/SCOTT/purchaseOrders/2003/Feb/AMCEWEN-20030209123335701PDT.xml
/home/SCOTT/purchaseOrders/2003/Feb/DAUSTIN-20030209123335811PDT.xml
/home/SCOTT/purchaseOrders/2003/Feb/EABEL-20030209123335791PDT.xml
/home/SCOTT/purchaseOrders/2003/Feb/PTUCKER-20030209123335721PDT.xml
/home/SCOTT/purchaseOrders/2003/Feb/PTUCKER-20030209123335821PDT.xml
/home/SCOTT/purchaseOrders/2003/Feb/SBELL-20030209123335771PDT.xml
/home/SCOTT/purchaseOrders/2003/Feb/SMCCAIN-20030209123335681PDT.xml
/home/SCOTT/purchaseOrders/2003/Feb/WSMITH-20030209123335650PDT.xml
/home/SCOTT/purchaseOrders/2003/Feb/WSMITH-20030209123335741PDT.xml
/home/SCOTT/purchaseOrders/2003/Feb/WSMITH-20030209123335751PDT.xml
/home/SCOTT/purchaseOrders/2003/Jan/AMCEWEN-20030109123335370PDT.xml
/home/SCOTT/purchaseOrders/2003/Jan/AWALSH-2003010912333570PDT.xml
/home/SCOTT/purchaseOrders/2003/Jan/CJOHNSON-20030109123335170PDT.xml
/home/SCOTT/purchaseOrders/2003/Jan/LSMITH-20030109123335500PDT.xml
/home/SCOTT/purchaseOrders/2003/Jan/PTUCKER-20030109123335430PDT.xml
/home/SCOTT/purchaseOrders/2003/Jan/SBELL-20030109123335280PDT.xml
/home/SCOTT/purchaseOrders/2003/Jan/SKING-20030109123335560PDT.xml
/home/SCOTT/purchaseOrders/2003/Jan/SMCCAIN-20030109123335470PDT.xml
/home/SCOTT/purchaseOrders/2003/Jan/TFOX-20030109123335520PDT.xml
/home/SCOTT/purchaseOrders/2003/Jan/VJONES-20030109123335350PDT.xml
/home/SCOTT/purchaseOrders/2003/Jan/WSMITH-20030109123335450PDT.xml
/home/SCOTT/purchaseOrders/2003/Jul/AMCEWEN-20030709123336902PDT.xml
/home/SCOTT/purchaseOrders/2003/Jul/CJOHNSON-2003070912333783PDT.xml
/home/SCOTT/purchaseOrders/2003/Jul/DAUSTIN-2003070912333702PDT.xml
/home/SCOTT/purchaseOrders/2003/Jul/DAUSTIN-2003070912333742PDT.xml
/home/SCOTT/purchaseOrders/2003/Jul/LSMITH-2003070912333722PDT.xml
/home/SCOTT/purchaseOrders/2003/Jul/SBELL-2003070912333763PDT.xml
/home/SCOTT/purchaseOrders/2003/Jul/SKING-20030709123336952PDT.xml
/home/SCOTT/purchaseOrders/2003/Jul/SMCCAIN-20030709123336972PDT.xml
/home/SCOTT/purchaseOrders/2003/Jul/TFOX-20030709123336872PDT.xml
/home/SCOTT/purchaseOrders/2003/Jul/TFOX-20030709123336912PDT.xml
/home/SCOTT/purchaseOrders/2003/Jul/VJONES-20030709123336932PDT.xml
/home/SCOTT/purchaseOrders/2003/Jun/AMCEWEN-20030609123336762PDT.xml
/home/SCOTT/purchaseOrders/2003/Jun/AWALSH-20030609123336642PDT.xml
/home/SCOTT/purchaseOrders/2003/Jun/CJOHNSON-20030609123336712PDT.xml
/home/SCOTT/purchaseOrders/2003/Jun/LSMITH-20030609123336852PDT.xml
/home/SCOTT/purchaseOrders/2003/Jun/SKING-20030609123336622PDT.xml
/home/SCOTT/purchaseOrders/2003/Jun/SKING-20030609123336822PDT.xml
/home/SCOTT/purchaseOrders/2003/Jun/SMCCAIN-20030609123336842PDT.xml
/home/SCOTT/purchaseOrders/2003/Jun/TFOX-20030609123336582PDT.xml
/home/SCOTT/purchaseOrders/2003/Jun/TFOX-20030609123336782PDT.xml
/home/SCOTT/purchaseOrders/2003/Jun/VJONES-20030609123336602PDT.xml
/home/SCOTT/purchaseOrders/2003/Jun/VJONES-20030609123336802PDT.xml
/home/SCOTT/purchaseOrders/2003/Mar/AWALSH-20030309123335871PDT.xml
/home/SCOTT/purchaseOrders/2003/Mar/AWALSH-20030309123335911PDT.xml
/home/SCOTT/purchaseOrders/2003/Mar/AWALSH-20030309123336101PDT.xml
/home/SCOTT/purchaseOrders/2003/Mar/CJOHNSON-20030309123335851PDT.xml
/home/SCOTT/purchaseOrders/2003/Mar/DAUSTIN-20030309123335931PDT.xml
/home/SCOTT/purchaseOrders/2003/Mar/JCHEN-20030309123335961PDT.xml
/home/SCOTT/purchaseOrders/2003/Mar/LSMITH-2003030912333661PDT.xml
/home/SCOTT/purchaseOrders/2003/Mar/SBELL-2003030912333601PDT.xml
/home/SCOTT/purchaseOrders/2003/Mar/SKING-20030309123336131PDT.xml
/home/SCOTT/purchaseOrders/2003/Mar/TFOX-2003030912333681PDT.xml
/home/SCOTT/purchaseOrders/2003/Mar/VJONES-20030309123335971PDT.xml
/home/SCOTT/purchaseOrders/2003/May/CJOHNSON-20030509123336482PDT.xml
/home/SCOTT/purchaseOrders/2003/May/EABEL-20030509123336382PDT.xml
/home/SCOTT/purchaseOrders/2003/May/JCHEN-20030509123336462PDT.xml
/home/SCOTT/purchaseOrders/2003/May/LSMITH-20030509123336562PDT.xml
/home/SCOTT/purchaseOrders/2003/May/PTUCKER-20030509123336452PDT.xml
/home/SCOTT/purchaseOrders/2003/May/SBELL-20030509123336362PDT.xml
/home/SCOTT/purchaseOrders/2003/May/SBELL-20030509123336532PDT.xml
/home/SCOTT/purchaseOrders/2003/May/SKING-20030509123336392PDT.xml
/home/SCOTT/purchaseOrders/2003/May/SMCCAIN-20030509123336512PDT.xml
/home/SCOTT/purchaseOrders/2003/May/VJONES-20030509123336502PDT.xml
/home/SCOTT/purchaseOrders/2003/May/WSMITH-20030509123336412PDT.xml
/home/SCOTT/purchaseOrders/2003/Nov/AWALSH-20031109123337954PDT.xml
/home/SCOTT/purchaseOrders/2003/Nov/AWALSH-2003110912333844PDT.xml
/home/SCOTT/purchaseOrders/2003/Nov/CJOHNSON-20031109123338124PDT.xml
/home/SCOTT/purchaseOrders/2003/Nov/CJOHNSON-2003110912333824PDT.xml
/home/SCOTT/purchaseOrders/2003/Nov/LSMITH-20031109123338234PDT.xml
/home/SCOTT/purchaseOrders/2003/Nov/SBELL-20031109123338204PDT.xml
/home/SCOTT/purchaseOrders/2003/Nov/SKING-20031109123337974PDT.xml
/home/SCOTT/purchaseOrders/2003/Nov/SKING-20031109123338294PDT.xml
/home/SCOTT/purchaseOrders/2003/Nov/SMCCAIN-2003110912333894PDT.xml
/home/SCOTT/purchaseOrders/2003/Nov/TFOX-20031109123337994PDT.xml
/home/SCOTT/purchaseOrders/2003/Nov/WSMITH-20031109123338154PDT.xml
/home/SCOTT/purchaseOrders/2003/Oct/AMCEWEN-20031009123337874PDT.xml
/home/SCOTT/purchaseOrders/2003/Oct/DAUSTIN-20031009123337613PDT.xml
/home/SCOTT/purchaseOrders/2003/Oct/JCHEN-20031009123337633PDT.xml
/home/SCOTT/purchaseOrders/2003/Oct/JCHEN-20031009123337733PDT.xml
/home/SCOTT/purchaseOrders/2003/Oct/JCHEN-20031009123337764PDT.xml
/home/SCOTT/purchaseOrders/2003/Oct/SBELL-20031009123337673PDT.xml
/home/SCOTT/purchaseOrders/2003/Oct/SKING-20031009123337703PDT.xml
/home/SCOTT/purchaseOrders/2003/Oct/TFOX-20031009123337653PDT.xml
/home/SCOTT/purchaseOrders/2003/Oct/TFOX-20031009123337784PDT.xml
/home/SCOTT/purchaseOrders/2003/Oct/VJONES-20031009123337814PDT.xml
/home/SCOTT/purchaseOrders/2003/Oct/WSMITH-20031009123337924PDT.xml
/home/SCOTT/purchaseOrders/2003/Sep/AWALSH-20030909123337483PDT.xml
/home/SCOTT/purchaseOrders/2003/Sep/DAUSTIN-20030909123337423PDT.xml
/home/SCOTT/purchaseOrders/2003/Sep/DAUSTIN-20030909123337553PDT.xml
/home/SCOTT/purchaseOrders/2003/Sep/JCHEN-20030909123337443PDT.xml
/home/SCOTT/purchaseOrders/2003/Sep/SKING-20030909123337383PDT.xml
/home/SCOTT/purchaseOrders/2003/Sep/SKING-20030909123337503PDT.xml
/home/SCOTT/purchaseOrders/2003/Sep/SMCCAIN-20030909123337403PDT.xml
/home/SCOTT/purchaseOrders/2003/Sep/TFOX-20030909123337463PDT.xml
/home/SCOTT/purchaseOrders/2003/Sep/TFOX-20030909123337563PDT.xml
/home/SCOTT/purchaseOrders/2003/Sep/VJONES-20030909123337363PDT.xml
/home/SCOTT/purchaseOrders/2003/Sep/VJONES-20030909123337583PDT.xml
139 rows selected.
Elapsed: 00:00:00.25
SQL> truncate table PURCHASEORDER
2 /
Table truncated.
Elapsed: 00:00:00.25
SQL> select ANY_PATH
2 from RESOURCE_VIEW, USER_XML_SCHEMAS
3 where existsNode
4 (
5 res,
6 '/Resource[SchOID="' || SCHEMA_ID || '" and ElNum="' ||
7 extractValue
8 (
9 schema,
10 '/xsd:schema/xsd:element[@name="PurchaseOrder"]/@xdb:propNumber',
11 'xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb"'
12 )
13 || '"]'
14 ) = 1
15 and SCHEMA_URL = 'http://localhost:80/home/SCOTT/poSource/xsd/purchaseOrder.xsd'
16 /
/home/SCOTT/purchaseOrders/2003/Apr/AMCEWEN-20030409123336200304.xml
/home/SCOTT/purchaseOrders/2003/Apr/EABEL-20030409123336200304.xml
/home/SCOTT/purchaseOrders/2003/Apr/PTUCKER-20030409120030491PDT.xml
/home/SCOTT/purchaseOrders/2003/Apr/PTUCKER-20030409123336200304.xml
/home/SCOTT/purchaseOrders/2003/Apr/SBELL-20030409120030431PDT.xml
/home/SCOTT/purchaseOrders/2003/Apr/SBELL-20030409123336200304.xml
/home/SCOTT/purchaseOrders/2003/Apr/SKING-200304091233363200304.xml
/home/SCOTT/purchaseOrders/2003/Apr/SMCCAIN-20030409120030441PDT.xml
/home/SCOTT/purchaseOrders/2003/Apr/SMCCAIN-20030409120030451PDT.xml
/home/SCOTT/purchaseOrders/2003/Apr/SMCCAIN-20030409123336151PDT.xml
/home/SCOTT/purchaseOrders/2003/Apr/VJONES-20030409120030401PDT.xml
/home/SCOTT/purchaseOrders/2003/Apr/VJONES-20030409123336301PDT.xml
/home/SCOTT/purchaseOrders/2003/AsianExamples/BEVERETT-2003110912343601PDT.xml
/home/SCOTT/purchaseOrders/2003/AsianExamples/BEVERETT-2003112302343802PDT.xml
/home/SCOTT/purchaseOrders/2003/AsianExamples/CDAVIES-2003100809243618PDT.xml
/home/SCOTT/purchaseOrders/2003/AsianExamples/CDAVIES-2003120809668273PDT.xml
/home/SCOTT/purchaseOrders/2003/AsianExamples/ChineseMovieTitles.xml
/home/SCOTT/purchaseOrders/2003/AsianExamples/WTAYLOR-2003082311908574PDT.xml
/home/SCOTT/purchaseOrders/2003/Aug/AWALSH-20030809123337203PDT.xml
/home/SCOTT/purchaseOrders/2003/Aug/AWALSH-20030809123337303PDT.xml
/home/SCOTT/purchaseOrders/2003/Aug/CJOHNSON-20030809123337283PDT.xml
/home/SCOTT/purchaseOrders/2003/Aug/DAUSTIN-20030809123337103PDT.xml
/home/SCOTT/purchaseOrders/2003/Aug/JCHEN-20030809123337123PDT.xml
/home/SCOTT/purchaseOrders/2003/Aug/JCHEN-20030809123337223PDT.xml
/home/SCOTT/purchaseOrders/2003/Aug/LSMITH-20030809123337323PDT.xml
/home/SCOTT/purchaseOrders/2003/Aug/SBELL-20030809123337353PDT.xml
/home/SCOTT/purchaseOrders/2003/Aug/SKING-20030809123337153PDT.xml
/home/SCOTT/purchaseOrders/2003/Aug/SMCCAIN-20030809123337173PDT.xml
/home/SCOTT/purchaseOrders/2003/Aug/TFOX-20030809123337243PDT.xml
/home/SCOTT/purchaseOrders/2003/Dec/AMCEWEN-20031209123338445PDT.xml
/home/SCOTT/purchaseOrders/2003/Dec/CJOHNSON-20031209123338595PDT.xml
/home/SCOTT/purchaseOrders/2003/Dec/DAUSTIN-20031209123338645PDT.xml
/home/SCOTT/purchaseOrders/2003/Dec/EABEL-20031209123338324PDT.xml
/home/SCOTT/purchaseOrders/2003/Dec/JCHEN-20031209123338475PDT.xml
/home/SCOTT/purchaseOrders/2003/Dec/LSMITH-20031209123338535PDT.xml
/home/SCOTT/purchaseOrders/2003/Dec/PTUCKER-20031209123338565PDT.xml
/home/SCOTT/purchaseOrders/2003/Dec/SBELL-20031209123338304PDT.xml
/home/SCOTT/purchaseOrders/2003/Dec/SBELL-20031209123338505PDT.xml
/home/SCOTT/purchaseOrders/2003/Dec/TFOX-20031209123338354PDT.xml
/home/SCOTT/purchaseOrders/2003/Dec/VJONES-20031209123338374PDT.xml
/home/SCOTT/purchaseOrders/2003/Feb/AMCEWEN-20030209123335600PDT.xml
/home/SCOTT/purchaseOrders/2003/Feb/AMCEWEN-20030209123335701PDT.xml
/home/SCOTT/purchaseOrders/2003/Feb/DAUSTIN-20030209123335811PDT.xml
/home/SCOTT/purchaseOrders/2003/Feb/EABEL-20030209123335791PDT.xml
/home/SCOTT/purchaseOrders/2003/Feb/PTUCKER-20030209123335721PDT.xml
/home/SCOTT/purchaseOrders/2003/Feb/PTUCKER-20030209123335821PDT.xml
/home/SCOTT/purchaseOrders/2003/Feb/SBELL-20030209123335771PDT.xml
/home/SCOTT/purchaseOrders/2003/Feb/SMCCAIN-20030209123335681PDT.xml
/home/SCOTT/purchaseOrders/2003/Feb/WSMITH-20030209123335650PDT.xml
/home/SCOTT/purchaseOrders/2003/Feb/WSMITH-20030209123335741PDT.xml
/home/SCOTT/purchaseOrders/2003/Feb/WSMITH-20030209123335751PDT.xml
/home/SCOTT/purchaseOrders/2003/Jan/AMCEWEN-20030109123335370PDT.xml
/home/SCOTT/purchaseOrders/2003/Jan/AWALSH-2003010912333570PDT.xml
/home/SCOTT/purchaseOrders/2003/Jan/CJOHNSON-20030109123335170PDT.xml
/home/SCOTT/purchaseOrders/2003/Jan/LSMITH-20030109123335500PDT.xml
/home/SCOTT/purchaseOrders/2003/Jan/PTUCKER-20030109123335430PDT.xml
/home/SCOTT/purchaseOrders/2003/Jan/SBELL-20030109123335280PDT.xml
/home/SCOTT/purchaseOrders/2003/Jan/SKING-20030109123335560PDT.xml
/home/SCOTT/purchaseOrders/2003/Jan/SMCCAIN-20030109123335470PDT.xml
/home/SCOTT/purchaseOrders/2003/Jan/TFOX-20030109123335520PDT.xml
/home/SCOTT/purchaseOrders/2003/Jan/VJONES-20030109123335350PDT.xml
/home/SCOTT/purchaseOrders/2003/Jan/WSMITH-20030109123335450PDT.xml
/home/SCOTT/purchaseOrders/2003/Jul/AMCEWEN-20030709123336902PDT.xml
/home/SCOTT/purchaseOrders/2003/Jul/CJOHNSON-2003070912333783PDT.xml
/home/SCOTT/purchaseOrders/2003/Jul/DAUSTIN-2003070912333702PDT.xml
/home/SCOTT/purchaseOrders/2003/Jul/DAUSTIN-2003070912333742PDT.xml
/home/SCOTT/purchaseOrders/2003/Jul/LSMITH-2003070912333722PDT.xml
/home/SCOTT/purchaseOrders/2003/Jul/SBELL-2003070912333763PDT.xml
/home/SCOTT/purchaseOrders/2003/Jul/SKING-20030709123336952PDT.xml
/home/SCOTT/purchaseOrders/2003/Jul/SMCCAIN-20030709123336972PDT.xml
/home/SCOTT/purchaseOrders/2003/Jul/TFOX-20030709123336872PDT.xml
/home/SCOTT/purchaseOrders/2003/Jul/TFOX-20030709123336912PDT.xml
/home/SCOTT/purchaseOrders/2003/Jul/VJONES-20030709123336932PDT.xml
/home/SCOTT/purchaseOrders/2003/Jun/AMCEWEN-20030609123336762PDT.xml
/home/SCOTT/purchaseOrders/2003/Jun/AWALSH-20030609123336642PDT.xml
/home/SCOTT/purchaseOrders/2003/Jun/CJOHNSON-20030609123336712PDT.xml
/home/SCOTT/purchaseOrders/2003/Jun/LSMITH-20030609123336852PDT.xml
/home/SCOTT/purchaseOrders/2003/Jun/SKING-20030609123336622PDT.xml
/home/SCOTT/purchaseOrders/2003/Jun/SKING-20030609123336822PDT.xml
/home/SCOTT/purchaseOrders/2003/Jun/SMCCAIN-20030609123336842PDT.xml
/home/SCOTT/purchaseOrders/2003/Jun/TFOX-20030609123336582PDT.xml
/home/SCOTT/purchaseOrders/2003/Jun/TFOX-20030609123336782PDT.xml
/home/SCOTT/purchaseOrders/2003/Jun/VJONES-20030609123336602PDT.xml
/home/SCOTT/purchaseOrders/2003/Jun/VJONES-20030609123336802PDT.xml
/home/SCOTT/purchaseOrders/2003/Mar/AWALSH-20030309123335871PDT.xml
/home/SCOTT/purchaseOrders/2003/Mar/AWALSH-20030309123335911PDT.xml
/home/SCOTT/purchaseOrders/2003/Mar/AWALSH-20030309123336101PDT.xml
/home/SCOTT/purchaseOrders/2003/Mar/CJOHNSON-20030309123335851PDT.xml
/home/SCOTT/purchaseOrders/2003/Mar/DAUSTIN-20030309123335931PDT.xml
/home/SCOTT/purchaseOrders/2003/Mar/JCHEN-20030309123335961PDT.xml
/home/SCOTT/purchaseOrders/2003/Mar/LSMITH-2003030912333661PDT.xml
/home/SCOTT/purchaseOrders/2003/Mar/SBELL-2003030912333601PDT.xml
/home/SCOTT/purchaseOrders/2003/Mar/SKING-20030309123336131PDT.xml
/home/SCOTT/purchaseOrders/2003/Mar/TFOX-2003030912333681PDT.xml
/home/SCOTT/purchaseOrders/2003/Mar/VJONES-20030309123335971PDT.xml
/home/SCOTT/purchaseOrders/2003/May/CJOHNSON-20030509123336482PDT.xml
/home/SCOTT/purchaseOrders/2003/May/EABEL-20030509123336382PDT.xml
/home/SCOTT/purchaseOrders/2003/May/JCHEN-20030509123336462PDT.xml
/home/SCOTT/purchaseOrders/2003/May/LSMITH-20030509123336562PDT.xml
/home/SCOTT/purchaseOrders/2003/May/PTUCKER-20030509123336452PDT.xml
/home/SCOTT/purchaseOrders/2003/May/SBELL-20030509123336362PDT.xml
/home/SCOTT/purchaseOrders/2003/May/SBELL-20030509123336532PDT.xml
/home/SCOTT/purchaseOrders/2003/May/SKING-20030509123336392PDT.xml
/home/SCOTT/purchaseOrders/2003/May/SMCCAIN-20030509123336512PDT.xml
/home/SCOTT/purchaseOrders/2003/May/VJONES-20030509123336502PDT.xml
/home/SCOTT/purchaseOrders/2003/May/WSMITH-20030509123336412PDT.xml
/home/SCOTT/purchaseOrders/2003/Nov/AWALSH-20031109123337954PDT.xml
/home/SCOTT/purchaseOrders/2003/Nov/AWALSH-2003110912333844PDT.xml
/home/SCOTT/purchaseOrders/2003/Nov/CJOHNSON-20031109123338124PDT.xml
/home/SCOTT/purchaseOrders/2003/Nov/CJOHNSON-2003110912333824PDT.xml
/home/SCOTT/purchaseOrders/2003/Nov/LSMITH-20031109123338234PDT.xml
/home/SCOTT/purchaseOrders/2003/Nov/SBELL-20031109123338204PDT.xml
/home/SCOTT/purchaseOrders/2003/Nov/SKING-20031109123337974PDT.xml
/home/SCOTT/purchaseOrders/2003/Nov/SKING-20031109123338294PDT.xml
/home/SCOTT/purchaseOrders/2003/Nov/SMCCAIN-2003110912333894PDT.xml
/home/SCOTT/purchaseOrders/2003/Nov/TFOX-20031109123337994PDT.xml
/home/SCOTT/purchaseOrders/2003/Nov/WSMITH-20031109123338154PDT.xml
/home/SCOTT/purchaseOrders/2003/Oct/AMCEWEN-20031009123337874PDT.xml
/home/SCOTT/purchaseOrders/2003/Oct/DAUSTIN-20031009123337613PDT.xml
/home/SCOTT/purchaseOrders/2003/Oct/JCHEN-20031009123337633PDT.xml
/home/SCOTT/purchaseOrders/2003/Oct/JCHEN-20031009123337733PDT.xml
/home/SCOTT/purchaseOrders/2003/Oct/JCHEN-20031009123337764PDT.xml
/home/SCOTT/purchaseOrders/2003/Oct/SBELL-20031009123337673PDT.xml
/home/SCOTT/purchaseOrders/2003/Oct/SKING-20031009123337703PDT.xml
/home/SCOTT/purchaseOrders/2003/Oct/TFOX-20031009123337653PDT.xml
/home/SCOTT/purchaseOrders/2003/Oct/TFOX-20031009123337784PDT.xml
/home/SCOTT/purchaseOrders/2003/Oct/VJONES-20031009123337814PDT.xml
/home/SCOTT/purchaseOrders/2003/Oct/WSMITH-20031009123337924PDT.xml
/home/SCOTT/purchaseOrders/2003/Sep/AWALSH-20030909123337483PDT.xml
/home/SCOTT/purchaseOrders/2003/Sep/DAUSTIN-20030909123337423PDT.xml
/home/SCOTT/purchaseOrders/2003/Sep/DAUSTIN-20030909123337553PDT.xml
/home/SCOTT/purchaseOrders/2003/Sep/JCHEN-20030909123337443PDT.xml
/home/SCOTT/purchaseOrders/2003/Sep/SKING-20030909123337383PDT.xml
/home/SCOTT/purchaseOrders/2003/Sep/SKING-20030909123337503PDT.xml
/home/SCOTT/purchaseOrders/2003/Sep/SMCCAIN-20030909123337403PDT.xml
/home/SCOTT/purchaseOrders/2003/Sep/TFOX-20030909123337463PDT.xml
/home/SCOTT/purchaseOrders/2003/Sep/TFOX-20030909123337563PDT.xml
/home/SCOTT/purchaseOrders/2003/Sep/VJONES-20030909123337363PDT.xml
/home/SCOTT/purchaseOrders/2003/Sep/VJONES-20030909123337583PDT.xml
139 rows selected.
Elapsed: 00:00:00.26
SQL> declare
2 cursor findDocs is
3 select ANY_PATH
4 from RESOURCE_VIEW, USER_XML_SCHEMAS
5 where existsNode
6 (
7 res,
8 '/Resource[SchOID="' || SCHEMA_ID || '" and ElNum="' ||
9 extractValue
10 (
11 schema,
12 '/xsd:schema/xsd:element[@name="PurchaseOrder"]/@xdb:propNumber',
13 'xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb"'
14 )
15 || '"]'
16 ) = 1
17 and SCHEMA_URL = 'http://localhost:80/home/SCOTT/poSource/xsd/purchaseOrder.xsd';
18 begin
19 for d in findDocs loop
20 dbms_xdb.deleteResource(d.ANY_PATH,4);
21 end loop;
22 end;
23 /
PL/SQL procedure successfully completed.
Elapsed: 00:00:01.15
SQL>
SQL>
SQL>1. Disable the Hierarchy. This will prevent truncate from attempting to delete the resource before deleting the content of the table
2. Truncate the table
3. Delete all resources associated with the table.. -
Help needed to load different xml playlists by clicking button
Hi there,
I have a series of buttons, when i double click a button i want to load a new xml file
I have some functioning code, but when i click on more than one button per run of the application, it will only use the first xml that was clicked / loaded.
Does anyone have any suggestions I would be really grateful
Thanks!
// Music player populated via XML formatted data with associated .mp3 audio files
// songs to play structured as an XMLList class
// displays artist and song title in the interface
cover.visible = false;
cover2.visible = false;
// song list base on an XMLList class
var songList:XMLList;
// total number of songs in list
var songsTotal:Number;
// sound class variable
var sound:Sound;
// sound channnel variable to play, pause and stop the sound
var soundChannel:SoundChannel;
// holds a reference to the current song playing
var currentSong:Number = 0;
// variable to store the song position when paused
var songPosition:Number;
// flag to check if current song is paused
var songPaused:Boolean;
// loader for XML via a URL
var XMLLoader:URLLoader = new URLLoader();
// various buttons to control songs via the interface
next_btn.addEventListener(MouseEvent.CLICK, onNext);
prev_btn.addEventListener(MouseEvent.CLICK, onPrev);
pause_btn.addEventListener(MouseEvent.CLICK, onPause);
play_btn.addEventListener(MouseEvent.CLICK, onPlay);
album1.doubleClickEnabled=true;
album2.doubleClickEnabled=true;
album1.addEventListener(MouseEvent.DOUBLE_CLICK, loadalbum1);
album2.addEventListener(MouseEvent.DOUBLE_CLICK, loadalbum2);
// check the data has loaded correctly
XMLLoader.addEventListener(Event.COMPLETE, processXML);
// this function processes the XML data
function processXML(e:Event):void {
// create an XML playlist structure
var anXMLplayList:XML = new XML(e.target.data);
// associate the playlist songs with the internal song list
songList = anXMLplayList.SONG;
// set the total songs to those found in the XML data
songsTotal = songList.length();
// remove the eventlistener and restore variables
XMLLoader.removeEventListener(Event.COMPLETE, processXML);
XMLLoader = null;
// this function starts the first song in the list
// when the play_btn is pressed via the onPlay function
function playSong(aSong:Number):void {
// variables for the Title, Artist and associated song in the song list
var aTitle = songList[aSong].@TITLE;
var anArtist = songList[aSong].@ARTIST;
var aURL = songList[aSong].@URL;
// populate the interface with the current song data
title_txt.text = aTitle;
artist_txt.text = anArtist;
// check to see if the sound channel is active
if (soundChannel) {
soundChannel.stop();
soundChannel.removeEventListener(Event.SOUND_COMPLETE, onNext);
// create a new sound object
sound = new Sound();
// load the sound from the URL song data
sound.load(new URLRequest(aURL));
// activate the sound channel via the play method
soundChannel = sound.play();
// when the current songh completes - play the next song via the onNext function
soundChannel.addEventListener(Event.SOUND_COMPLETE, onNext);
// this function plays the next song in the list
function onNext(e:Event):void {
// increment the current song
currentSong++;
// reset the current song if no more to play
if (currentSong>=songsTotal) {
currentSong=0;
// else play the current song via the playSong method
playSong(currentSong);
// this function plays the previous song in the song list
function onPrev(e:MouseEvent):void {
currentSong--;
if (currentSong<0) {
currentSong = songsTotal-1;
playSong(currentSong);
// this function pauses the current song playing and sets the boolean flag
// accordingly
function onPause(e:MouseEvent):void {
if (soundChannel) {
songPosition = soundChannel.position;
soundChannel.stop();
songPaused=true;
// this function plays the current song or restarts a paused song
function onPlay(e:MouseEvent):void {
if (songPaused) {
soundChannel = sound.play(songPosition);
songPaused=false;
} else if (!soundChannel) {
playSong(currentSong);
function loadalbum1(e:Event):void {
cover.visible = true;
cover2.visible = false;
// load the XML formated playlist
XMLLoader.load(new URLRequest("playlist1.xml"));
function loadalbum2(e:Event):void {
cover2.visible = true;
cover.visible = false;
// load the XML formated playlist
XMLLoader.load(new URLRequest("playlist2.xml"));You should try to limit the code you post to what is relevant to the problem... it is hard to track things down, especially when your code is not formatted properly with indentations.
I didn't search farther than finding that you remove the event listener for the URLLoader...
XMLLoader.removeEventListener(Event.COMPLETE, processXML);
so if you remove it after you load the first file and do not restore one for it, then chances are you don't "processXML" any more than the first file you load -
Hey guys. Based of the ModestMap API example for flex, I want to be able to embed an external XML file instead of directly populating the xml tags on the main app. i have tried different approaches, the markers are not showing up. thanks in advance!
here is the sample code from modestmap
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/halo"
minWidth="1024" minHeight="768" creationComplete="init()" viewSourceURL="srcview/index.html" xmlns:mx1="library://ns.adobe.com/flex/mx">
<fx:Script>
<![CDATA[
import mx.core.UIComponent;
import com.modestmaps.TweenMap;
import com.modestmaps.mapproviders.OpenStreetMapProvider;
import com.modestmaps.mapproviders.yahoo.YahooHybridMapProvider;
import com.modestmaps.geo.Location;
import com.modestmaps.extras.ZoomSlider;
import com.modestmaps.extras.HandCursor;
import com.custom.PointMarker;
import com.custom.infoPanel;
[Bindable]private var _map:TweenMap;
private var _mapUI:UIComponent;
[Bindable]private var _initialLat:Number = 40.668903;
[Bindable]private var _initialLong:Number = -111.680145;
[Bindable]private var _initialZoom:Number = 6;
private var _mouseWheelZoomCenter:Location;
private var _mouseWheelZoom:int;
private var resortMarker:PointMarker;
private var _panel:infoPanel;
[Embed("img/marker.png")]
protected var MarkerImage:Class;
private var srcXML:XML =
<root>
<location>
<name>Alta Ski Resort</name>
<lat>40.588063</lat>
<long>-111.637659</long>
<description>Home of the Greatest Snow on Earth</description>
</location>
<location>
<name>Crested Butte Resort</name>
<lat>38.899932</lat>
<long>-106.964249</long>
<description>Amazing skiing with small town charm</description>
</location>
</root>;
private function init():void
_map = new TweenMap(mappanel.width, mappanel.height, true, new OpenStreetMapProvider());
_map.setCenterZoom(new Location(_initialLat, _initialLong), _initialZoom);
mapCore();
private function mapCore():void
_map.addEventListener(MouseEvent.MOUSE_WHEEL, mouseWheelHandler);
_mapUI = new UIComponent();
_mapUI.addChild(_map);
var zoomslider:ZoomSlider = new ZoomSlider(_map);
zoomslider.x = mappanel.width - zoomslider.width*2;
zoomslider.y = 30;
_mapUI.addChild(zoomslider);
var handcursor:HandCursor = new HandCursor(_map);
_mapUI.addChild(handcursor);
mappanel.addElement(_mapUI);
_panel = new infoPanel();
_panel.containerHeight = mappanel.height;
_panel.containerWidth = mappanel.width;
mappanel.addElement(_panel);
addMarkers();
private function addMarkers():void
for each (var resort:XML in srcXML.location){
resortMarker = new PointMarker();
var markerImage:Bitmap = new MarkerImage() as Bitmap;
markerImage.x = -markerImage.width/2
markerImage.y = -markerImage.height/2
resortMarker.addChild(markerImage);
resortMarker.resortName = resort.name;
resortMarker.resortDesc = resort.description;
resortMarker.addEventListener(MouseEvent.CLICK, handleMouseClick);
_map.putMarker(new Location(resort.lat, resort.long), resortMarker);
private function mouseWheelHandler(e:MouseEvent):void {
if (e.delta < 0) {
_map.zoomOut();
else if (e.delta > 0) {
_map.zoomIn();
_mouseWheelZoomCenter = _map.getCenter();
_mouseWheelZoom = _map.getZoom();
private function handleChangeProvider(event:Event):void
mappanel.removeAllElements();
if(event.target.label == "Virtual Earth")
_map = new TweenMap(mappanel.width, mappanel.height, true, new YahooHybridMapProvider());
else
_map = new TweenMap(mappanel.width, mappanel.height, true, new OpenStreetMapProvider());
if(_mouseWheelZoomCenter != null && _mouseWheelZoom > 0)
_map.setCenterZoom(_mouseWheelZoomCenter, _mouseWheelZoom);
else
_map.setCenterZoom(new Location(_initialLat, _initialLong), _initialZoom);
mapCore();
private function handleMouseClick(event:MouseEvent):void
_panel.ptitle = event.target.resortName;
_panel.pdesc = event.target.resortDesc;
]]>
</fx:Script>
<s:BorderContainer id="mappanel" width="100%" height="97%"/>
<mx1:HBox width="100%" horizontalAlign="right">
<mx1:Button label="Open Street Map" click="handleChangeProvider(event)"/>
<mx1:Button label="Virtual Earth" click="handleChangeProvider(event)"/>
</mx1:HBox>
</s:Application>
///////////////////////////////////////I tried for the external XMl//////////////////////////////
[Embed("img/marker.png")]
protected var MarkerImage:Class;
[Embed(source="data.xml", mimeType="application/octet-stream")]
[Bindable]
private var srcXML:Class;
function some_func():void {
var my_xml:XML = XML(new srcXML);
////////////////////////////////and/////////////////////////////////////////////////////// ///
private function addMarkers():void
for each (var resort:XML in srcXML){
resortMarker = new PointMarker();
var markerImage:Bitmap = new MarkerImage() as Bitmap;
markerImage.x = -markerImage.width/2
markerImage.y = -markerImage.height/2
resortMarker.addChild(markerImage);
resortMarker.resortName = resort.name;
resortMarker.resortDesc = resort.description;
resortMarker.addEventListener(MouseEvent.CLICK, handleMouseClick);
_map.putMarker(new Location(resort.lat, resort.long), resortMarker);Import a schema with the <xs:import/> element.
<xs:import
namespace=namespaceURI
schemaLocation=schemaLocationURI/> -
Bindable XML children - strange behavior
Hi people, I've run into a strange problem and I'm completely puzzled over it.
I hope someone is able to help me with it.
Here's my situation:
I have an mxml module, which we can call "BaseModule", that contains a [Bindable] protected XML variable, let's call it "selectedBeer" for reference. It is instantiated with null on module creation, but populated with XML if some specific ui feature is clicked. In this XML, there are two child XML nodes relevant to my problem - let's call them Price and AlcoholContent.
Now, I have another module, call it "BeerChoosingModule", that extends "BaseModule". It has, among other things, two spark NumericStepper components. Here's how their mxml looks:
<s:HGroup verticalAlign="middle">
<s:Label text="Selected blah's X:" />
<s:NumericStepper snapInterval="0.01" stepSize="20" id="desiredPriceEditor" change="changeSelection(event)" minimum="0" maximum="99999" width="120"
valueParseFunction="this.PandACFormatter.parseNumber" valueFormatFunction="this.PandACFormatter.format" maxChars="10"
value="{this.selectedBeer== null ? 0 : this.PandACFormatter.parseNumber(this.selectedBeer.Price)}"/>
</s:HGroup>
<s:HGroup verticalAlign="middle">
<s:Label text="Selected blah's Y:" />
<s:NumericStepper snapInterval="0.01" stepSize="20" id="desiredAlcoholContentEditor" change="changeSelection(event)" minimum="0" maximum="99999" width="120"
valueParseFunction="this.PandACFormatter.parseNumber" valueFormatFunction="this.PandACFormatter.format" maxChars="10"
value="{this.selectedBeer== null ? 0 : this.PandACFormatter.parseNumber(this.selectedBeer.AlcoholContent)}"/>
</s:HGroup>
Wherever AlcoholContent and Price get used, they get used together and in exactly the same way (i.e. if they are converted into a string for something, they both are, using exactly the same syntax, etc.)
Now, the inexplicable behaviour seems to occur at the binding. If I try to change the value of the desiredPriceEditor in the UI as the application is running, I am able to change it just fine, and then the changeSelection(event) function works, assigns a new value to selectedBeer.Price manually, and everything's hunkey-dory. However, if I try to change the value for of the desiredAlcoholContentEditor, as soon as the UI tries to apply the change, it gets reverted back to the original this.PandACFormatter.parseNumber(this.selectedBeer.AlcoholContent).
Any ideas on what's going wrong here?Thanks for the reply.
Yes, it would. However, in the situation I described, the if the XML would change, it would change for both the Price and AlcoholContent nodes at the same time. Nothing like this happens for the Price node. Now, in the changeSelection(event) function what I'm doing is something like:
selectedBeer.Price = desiredPriceEditor.value.toString()
selectedBeer.AlcoholContent = desiredAlcoholContentEditor.value.toString()
Could it be that because I'm changing the Price node first, the binding is triggered for the entire selectedBeer object, so the desiredAlcoholContentEditor.value property gets reset to this.PandACFormatter.parseNumber(this.selectedBeer.AlcoholContent) value before the second line from the code above even gets to execute? -
Hi,
I am working on a custom form and am quite new to Livecycle.
I would like to do something basic such as
country drop down (populated from an xml file)
province / state drop down (populated from xml file).
I was able to populate the country but am unsure how to proceed so that the province/state drop down is dynamically populated from an xml file as well.
Cheers
HenrySure here is a sample.
country.xml is
<CountryList>
<Country>
<Name>CANANDA</Name>
<Code>CAN</Code>
</Country>
<Country>
<Name>United States of America </Name>
<Code>USA</Code>
</Country>
</CountryList>
province.xml is
<StateList>
<State>
<Name>Ontario</Name>
<Code>CAN</Code>
</State>
<State>
<Name>Quebec </Name>
<Code>CAN</Code>
</State>
<State>
<Name>Oregon</Name>
<Code>USA</Code>
</State>
<State>
<Name>New york</Name>
<Code>USA</Code>
</State>
</StateList> -
Table of Contents based on XML Tag
Hi,
I have created a catalogue containing over 100 pages.
All of the pages were populated using an XML file.
Each page has a Title tag populated through XML
Is it possible to create a Table of Contents based on the XML tag of Title?Perhaps by script (try InDesign Scripting) but ID's own TOC ustility is driven entirely by paragraph styles.
Maybe you are looking for
-
Rollback ( Tx Recovery) and Roll forward ( cache Recovey)
Hi Guys, I have a some doubt after Going through the links : Difference between redo logs and undo tablespace and Oracle DBA ADMIN Guide (E25494-02). 1) Redologs Contain committed and Uncommitted data . Wether they also contain before Image Data ? or
-
Need screen-shot for create mm01 using BAPI(Through lsmw or ecording)
hi, could u give screen-shot of the lsmw using bapi.for material master data create using t.code (mm01') i will be waiting for eply. regards eswar.
-
How does Photo Streaming works?
Hello, I know what does the Photo Streaming funcionality does basically, but I wanted to know what is behind taking a picture and then seeing it in my mac afterwards. Also some concrete questions I had were: How long does it take for a picture to get
-
Can't save passwords - Do I need to reinstall Safari or 10.7.5?
I've gone through the process of checking Auto Fill and checked "User names and passwords". I don't see the window... Do you want to save this password. Safari 6.0.3 OSX 10.7.5
-
SAP HANA security issue: SAP DBTech JDBC: [258]
Hello experts, I am trying SAP HANA security features by playing out with a test user (MYTESTUSER) I've previously created. This is the permissions detail I've granted to the mentioned user: Granted Roles: PUBLIC Object Privileges: _SYS_BIC : SELECT