Need help with Berkeley XML DB Performance

We need help with maximizing performance of our use of Berkeley XML DB. I am filling most of the 29 part question as listed by Oracle's BDB team.
Berkeley DB XML Performance Questionnaire
1. Describe the Performance area that you are measuring? What is the
current performance? What are your performance goals you hope to
achieve?
We are measuring the performance while loading a document during
web application startup. It is currently taking 10-12 seconds when
only one user is on the system. We are trying to do some testing to
get the load time when several users are on the system.
We would like the load time to be 5 seconds or less.
2. What Berkeley DB XML Version? Any optional configuration flags
specified? Are you running with any special patches? Please specify?
dbxml 2.4.13. No special patches.
3. What Berkeley DB Version? Any optional configuration flags
specified? Are you running with any special patches? Please Specify.
bdb 4.6.21. No special patches.
4. Processor name, speed and chipset?
Intel Xeon CPU 5150 2.66GHz
5. Operating System and Version?
Red Hat Enterprise Linux Relase 4 Update 6
6. Disk Drive Type and speed?
Don't have that information
7. File System Type? (such as EXT2, NTFS, Reiser)
EXT3
8. Physical Memory Available?
4GB
9. Are you using Replication (HA) with Berkeley DB XML? If so, please
describe the network you are using, and the number of Replica’s.
No
10. Are you using a Remote Filesystem (NFS) ? If so, for which
Berkeley DB XML/DB files?
No
11. What type of mutexes do you have configured? Did you specify
–with-mutex=? Specify what you find inn your config.log, search
for db_cv_mutex?
None. Did not specify -with-mutex during bdb compilation
12. Which API are you using (C++, Java, Perl, PHP, Python, other) ?
Which compiler and version?
Java 1.5
13. If you are using an Application Server or Web Server, please
provide the name and version?
Oracle Appication Server 10.1.3.4.0
14. Please provide your exact Environment Configuration Flags (include
anything specified in you DB_CONFIG file)
Default.
15. Please provide your Container Configuration Flags?
final EnvironmentConfig envConf = new EnvironmentConfig();
envConf.setAllowCreate(true); // If the environment does not
// exist, create it.
envConf.setInitializeCache(true); // Turn on the shared memory
// region.
envConf.setInitializeLocking(true); // Turn on the locking subsystem.
envConf.setInitializeLogging(true); // Turn on the logging subsystem.
envConf.setTransactional(true); // Turn on the transactional
// subsystem.
envConf.setLockDetectMode(LockDetectMode.MINWRITE);
envConf.setThreaded(true);
envConf.setErrorStream(System.err);
envConf.setCacheSize(1024*1024*64);
envConf.setMaxLockers(2000);
envConf.setMaxLocks(2000);
envConf.setMaxLockObjects(2000);
envConf.setTxnMaxActive(200);
envConf.setTxnWriteNoSync(true);
envConf.setMaxMutexes(40000);
16. How many XML Containers do you have? For each one please specify:
One.
1. The Container Configuration Flags
          XmlContainerConfig xmlContainerConfig = new XmlContainerConfig();
          xmlContainerConfig.setTransactional(true);
xmlContainerConfig.setIndexNodes(true);
xmlContainerConfig.setReadUncommitted(true);
2. How many documents?
Everytime the user logs in, the current xml document is loaded from
a oracle database table and put it in the Berkeley XML DB.
The documents get deleted from XML DB when the Oracle application
server container is stopped.
The number of documents should start with zero initially and it
will grow with every login.
3. What type (node or wholedoc)?
Node
4. Please indicate the minimum, maximum and average size of
documents?
The minimum is about 2MB and the maximum could 20MB. The average
mostly about 5MB.
5. Are you using document data? If so please describe how?
We are using document data only to save changes made
to the application data in a web application. The final save goes
to the relational database. Berkeley XML DB is just used to store
temporary data since going to the relational database for each change
will cause severe performance issues.
17. Please describe the shape of one of your typical documents? Please
do this by sending us a skeleton XML document.
Due to the sensitive nature of the data, I can provide XML schema instead.
18. What is the rate of document insertion/update required or
expected? Are you doing partial node updates (via XmlModify) or
replacing the document?
The document is inserted during user login. Any change made to the application
data grid or other data components gets saved in Berkeley DB. We also have
an automatic save every two minutes. The final save from the application
gets saved in a relational database.
19. What is the query rate required/expected?
Users will not be entering data rapidly. There will be lot of think time
before the users enter/modify data in the web application. This is a pilot
project but when we go live with this application, we will expect 25 users
at the same time.
20. XQuery -- supply some sample queries
1. Please provide the Query Plan
2. Are you using DBXML_INDEX_NODES?
Yes.
3. Display the indices you have defined for the specific query.
     XmlIndexSpecification spec = container.getIndexSpecification();
     // ids
     spec.addIndex("", "id", XmlIndexSpecification.PATH_NODE | XmlIndexSpecification.NODE_ATTRIBUTE | XmlIndexSpecification.KEY_EQUALITY, XmlValue.STRING);
     spec.addIndex("", "idref", XmlIndexSpecification.PATH_NODE | XmlIndexSpecification.NODE_ATTRIBUTE | XmlIndexSpecification.KEY_EQUALITY, XmlValue.STRING);
     // index to cover AttributeValue/Description
     spec.addIndex("", "Description", XmlIndexSpecification.PATH_EDGE | XmlIndexSpecification.NODE_ELEMENT | XmlIndexSpecification.KEY_SUBSTRING, XmlValue.STRING);
     // cover AttributeValue/@value
     spec.addIndex("", "value", XmlIndexSpecification.PATH_EDGE | XmlIndexSpecification.NODE_ATTRIBUTE | XmlIndexSpecification.KEY_EQUALITY, XmlValue.STRING);
     // item attribute values
     spec.addIndex("", "type", XmlIndexSpecification.PATH_EDGE | XmlIndexSpecification.NODE_ATTRIBUTE | XmlIndexSpecification.KEY_EQUALITY, XmlValue.STRING);
     // default index
     spec.addDefaultIndex(XmlIndexSpecification.PATH_NODE | XmlIndexSpecification.NODE_ELEMENT | XmlIndexSpecification.KEY_EQUALITY, XmlValue.STRING);
     spec.addDefaultIndex(XmlIndexSpecification.PATH_NODE | XmlIndexSpecification.NODE_ATTRIBUTE | XmlIndexSpecification.KEY_EQUALITY, XmlValue.STRING);
     // save the spec to the container
     XmlUpdateContext uc = xmlManager.createUpdateContext();
     container.setIndexSpecification(spec, uc);
4. If this is a large query, please consider sending a smaller
query (and query plan) that demonstrates the problem.
21. Are you running with Transactions? If so please provide any
transactions flags you specify with any API calls.
Yes. READ_UNCOMMITED in some and READ_COMMITTED in other transactions.
22. If your application is transactional, are your log files stored on
the same disk as your containers/databases?
Yes.
23. Do you use AUTO_COMMIT?
     No.
24. Please list any non-transactional operations performed?
No.
25. How many threads of control are running? How many threads in read
only mode? How many threads are updating?
We use Berkeley XML DB within the context of a struts web application.
Each user logged into the web application will be running a bdb transactoin
within the context of a struts action thread.
26. Please include a paragraph describing the performance measurements
you have made. Please specifically list any Berkeley DB operations
where the performance is currently insufficient.
We are clocking 10-12 seconds of loading a document from dbd when
five users are on the system.
getContainer().getDocument(documentName);
27. What performance level do you hope to achieve?
We would like to get less than 5 seconds when 25 users are on the system.
28. Please send us the output of the following db_stat utility commands
after your application has been running under "normal" load for some
period of time:
% db_stat -h database environment -c
% db_stat -h database environment -l
% db_stat -h database environment -m
% db_stat -h database environment -r
% db_stat -h database environment -t
(These commands require the db_stat utility access a shared database
environment. If your application has a private environment, please
remove the DB_PRIVATE flag used when the environment is created, so
you can obtain these measurements. If removing the DB_PRIVATE flag
is not possible, let us know and we can discuss alternatives with
you.)
If your application has periods of "good" and "bad" performance,
please run the above list of commands several times, during both
good and bad periods, and additionally specify the -Z flags (so
the output of each command isn't cumulative).
When possible, please run basic system performance reporting tools
during the time you are measuring the application's performance.
For example, on UNIX systems, the vmstat and iostat utilities are
good choices.
Will give this information soon.
29. Are there any other significant applications running on this
system? Are you using Berkeley DB outside of Berkeley DB XML?
Please describe the application?
No to the first two questions.
The web application is an online review of test questions. The users
login and then review the items one by one. The relational database
holds the data in xml. During application load, the application
retrieves the xml and then saves it to bdb. While the user
is making changes to the data in the application, it writes those
changes to bdb. Finally when the user hits the SAVE button, the data
gets saved to the relational database. We also have an automatic save
every two minues, which saves bdb xml data and saves it to relational
database.
Thanks,
Madhav
[email protected]

Could it be that you simply do not have set up indexes to support your query? If so, you could do some basic testing using the dbxml shell:
milu@colinux:~/xpg > dbxml -h ~/dbenv
Joined existing environment
dbxml> setverbose 7 2
dbxml> open tv.dbxml
dbxml> listIndexes
dbxml> query     { collection()[//@date-tip]/*[@chID = ('ard','zdf')] (: example :) }
dbxml> queryplan { collection()[//@date-tip]/*[@chID = ('ard','zdf')] (: example :) }Verbosity will make the engine display some (rather cryptic) information on index usage. I can't remember where the output is explained; my feeling is that "V(...)" means the index is being used (which is good), but that observation may not be accurate. Note that some details in the setVerbose command could differ, as I'm using 2.4.16 while you're using 2.4.13.
Also, take a look at the query plan. You can post it here and some people will be able to diagnose it.
Michael Ludwig

Similar Messages

  • Need help with error: XML parser failed: Error An exception occurred! Type:......

    <p>Need help with the following error.....what does it mean....</p><p>28943 3086739136 XML-240304 3/7/07 7:13:23 PM |SessionNew_Job1<br /><font color="#ff0000">28943 3086739136 XML-240304 3/7/07 7:13:23 PM XML parser failed: Error <An exception occurred! Type:UnexpectedEOFException, Message:The end of input was not expected> at</font><br />28943 3086739136 XML-240304 3/7/07 7:13:23 PM line <7>, char <8> in <<?xml version="1.0" encoding="WINDOWS-1252" ?><br />28943 3086739136 XML-240304 3/7/07 7:13:23 PM <DSConfigurations><br />28943 3086739136 XML-240304 3/7/07 7:13:23 PM <DSConfiguration default="true" name="Configuration1"><br />28943 3086739136 XML-240304 3/7/07 7:13:23 PM <case_sensitive>no</case_sensitive><br />28943 3086739136 XML-240304 3/7/07 7:13:23 PM <database_type>Oracle</database_type><br />28943 3086739136 XML-240304 3/7/07 7:13:23 PM <db_alias_name1>ODS_OWNER</db_alias_name1><br />28943 3086739136 XML-240304 3/7/07 7:13:23 PM <db_ali>, file <>.<br />28943 3086739136 XML-240307 3/7/07 7:13:23 PM |SessionNew_Job1<br />28943 3086739136 XML-240307 3/7/07 7:13:23 PM XML parser failed: See previously displayed error message.</p><p>Any help would be greatly appreciated.  It&#39;s something to do with my datasource and possibly the codepage but I&#39;m really not sure.</p><p>-m<br /></p>

    please export your datastore as ATL and send it to support. Somehow the internal language around configurations got corrupted - never seen before.

  • Need help with this xml gallery !!!

    i have build a gallery but its very simple...... it takes images from xml file.
    i have attached all files in zip.
    i just want two things if anyone can help.
    first when i press next button it goes to next image but with no effect. it just displays next image ... i want to incorporate a sliding effect when the image is changed to another.
    and second i want to use autoplay feature.
    as soon as swf starts the images came one by one with difference of few seconds.
    thx in advance... i really need help in this....!

    You're welcome.
    I don't have an example to offer for the autorun.  You should be able to think it thru.  One key, as I mentioned is to preload all of the images first, that will allow for smooth playing of the show--no waiting for images to load between changes.  You can load them into empty movieclips and hide them (_viisible = false) until they are needed.  You could load them when called for, but you would have to put conditions on the displaying of things until the image loads, which will change when they are all loaded, so I recommend just loading them all first.
    For the timing you can use setInterval.  If something is going to be allowed to interupt the autorun, then you will need to make use of the clearInterval function as well, so that you stop the clock.
    Since you will be wanting to know when things are loaded, you will need to use the MovieClipLoader.loadClip method for loading the images instead of using loadMovie.  This is because the MovieClipLoader class supports having an event listener.  If you look in the help documents in the MovieClipLoader.addListener section, there is an example there that provides a fairly good complete overview of using the code.  The only difference is you'd be looking for the onLoadComplete event rather than the onLoadInit event.

  • Need help with simple XML validation

    I am new to Spry and need some help creating a simple
    validation. There is a form field which must not contain a value
    already in the database. I have a script which accepts a parameter
    and returns a boolean result. Here is the XML:
    <samples>
    <sample>
    <ISFOUND>0</ISFOUND>
    </sample>
    </samples>
    1. How do I call this script when the form field changes and
    pass the form value as the parameter?
    2. How do I check the returned value in the XML and throw an
    error if true?
    I appreciate any help with this. Please let me know if there
    is a better way to achieve the same result.
    Thanks,
    Rich

    I enabled the call to the XML response. However, I am having
    trouble identifying when the call is complete so I can parse the
    result. How do I run my check after the data load and display the
    proper message?

  • Need help with Java Script to perform a calculation in Adobe Acrobat Pro 9 form

    I have a form (test) that I am creating in Adobe Acrobat Pro 9.
    I need help creating custom Java Script so I can get the desired answer.
    1) There are several questions in each group that require a numerical answer between 0-4
    2) There is a total field set up to sum the answers from all above questions
    3) The final "score" takes the answer from Step 2 above and divides by the total possible answer
    Any help on what Java Script I need to complete this would be greatly appreciated!
    I've attached a "spreadsheet" that shows it in more detail as well as what formulas I used in Excel to get the desired end result.
    Thanks in advance.

    Have you tried the "The field is the average of:"?

  • Need help with table, xml files, click actions and visibility

    Hi.
    I am new to adobe livecycle and I need some guidance in a problem that I am facing.
    I have an XML. The main tag 'employee' has 4 tags in it, name, age, ph# and address.
    Address tag has 6 more tags in it.
    I have to create a table which has 4 columns initially (all text fields). The rows are populated acccording to the XML.
    1. S. No., which increments according to row number.
    2. Name from XML.
    3. Age from XML.
    4. ph# from XML.
    When any S. No. is clicked on, it should display the address details below that row, when it is clicked on again, it should hide those details and the original table view should be restored.
    I googled a lot but am still not able to get how to do this.
    Please help.

    I created a sample for you with what I think you want. Here is a file and the associated XML that goes with it.
    Paul

  • Need help with reading XML using File Adapter

    I have created a simple BPEL process that uses a file adapter to read files containing XML messages of a simple xsd schema. But when reading the xml, I get the following error message:
    [2010/03/01 23:43:13] Invalid data: The value for variable "Receive_1_Read_InputVariable", part "revision-report" does not match the schema definition for this part.The invalid xml document is shown below: More...
    [2010/03/01 23:43:13] "{http://schemas.oracle.com/bpel/extension}invalidVariables" has been thrown. less
    -<invalidVariables xmlns="http://schemas.oracle.com/bpel/extension">
    -<part name="code">
    <code>
    9710
    </code>
    </part>
    -<part name="summary">
    <summary>
    Invalid xml document.
    According to the xml schemas, the xml document is invalid. The reason is: Error::cvc-complex-type.4: Attribute 'doc' must appear on element 'revision-report'.
    Error::cvc-complex-type.4: Attribute 'model' must appear on element 'revision-report'.
    Error::cvc-complex-type.4: Attribute 'pubdate' must appear on element 'revision-report'.
    Error::cvc-complex-type.2.4.b: The content of element 'revision-report' is not complete. One of '{"http://xmlns.oracle.com/xmlfile":alternategroup}' is expected.
    Please make sure that the xml document is valid against your schemas.
    </summary>
    </part>
    </invalidVariables>
    It seems that there is some issue with the namespace, but even after trying out various combinations, I am not able to resolve this.
    Here the message schema (xsd):
    <?xml version="1.0" encoding="UTF-8" ?>
    <xs:schema elementFormDefault="qualified"
    targetNamespace="http://xmlns.oracle.com/xmlfile"
    xmlns:tns="http://xmlns.oracle.com/xmlfile"
    xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="revision-report">
    <xs:complexType>
    <xs:sequence maxOccurs="unbounded">
    <xs:element name="alternategroup">
    <xs:complexType>
    <xs:attribute name="name" use="required" type="xs:string"/>
    <xs:attribute name="Desc" use="required" type="xs:string"/>
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    <xs:attribute name="doc" use="required" type="xs:string"/>
    <xs:attribute name="model" use="required" type="xs:string"/>
    <xs:attribute name="pubdate" use="required" type="xs:string"/>
    </xs:complexType>
    </xs:element>
    </xs:schema>
    And here is the xml file to be read by the file adapter:
    <?xml version="1.0" encoding="UTF-8" ?>
    <revision-report doc="doc2" model="model4" pubdate="pubdate5">
    <alternategroup Name="ABC" Desc="ABC-Desc">
    </alternategroup>
    <alternategroup Name="DEF" Desc="DEF-Desc">
    </alternategroup>
    <alternategroup Name="GHI" Desc="GHI-Desc">
    </alternategroup>
    </revision-report>
    Appreciate any help.
    Thanks in advance for your attention.
    Jay

    Thanks for your response.
    I am not sure if there is any easier way, but I tried out the following tool available on the net to check an xml against a xsd:
    http://tools.decisionsoft.com/schemaValidate/
    There were a few issues, that I corrected and finally had a xsd and xml that were matching and valid. I tried this out in my file reading BPEL process, but the error still remained the same!
    Here is my updated/simplified xsd and xml:
    <?xml version="1.0" encoding="UTF-8" ?>
    <xs:schema targetNamespace="http://xmlns.oracle.com/xmlfile"
    xmlns:tns="http://xmlns.oracle.com/xmlfile"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns="http://xmlns.oracle.com/xmlfile">
    <xs:element name="revision-report">
    <xs:complexType>
    <xs:sequence>
    <xs:element maxOccurs="unbounded" ref="alternategroup"/>
    </xs:sequence>
    <xs:attribute name="doc" use="required" type="xs:string"/>
    <xs:attribute name="model" use="required" type="xs:string"/>
    <xs:attribute name="pubdate" use="required" type="xs:string"/>
    </xs:complexType>
    </xs:element>
    <xs:element name="alternategroup">
    <xs:complexType>
    <xs:attribute name="Name" use="required" type="xs:string"/>
    <xs:attribute name="Desc" use="required" type="xs:string"/>
    </xs:complexType>
    </xs:element>
    </xs:schema>
    <?xml version="1.0" encoding="UTF-8" ?>
    <revision-report doc="doc2" model="model4" pubdate="pubdate5" xmlns="http://xmlns.oracle.com/xmlfile">
    <alternategroup Name="ABC" Desc="ABC-Desc"/>
    <alternategroup Name="DEF" Desc="DEF-Desc"/>
    <alternategroup Name="GHI" Desc="GHI-Desc"/>
    </revision-report>
    I even tried the option that is available in JDeveloper to generate a sample xml from a xsd (when in the context of a Transformation activity). The xml generated by this also seems exactly like the one above.
    So, I am not able to figure out why my BPEL process errors out with the message Invalid xml document.

  • Need help with Querying XML - XQuery

    Hey guys, im new to this stuff so  I gained some knowledge from internet but I'm running is some problem that I'll explain below. I have XML like:  
    <?xml version="1.0" encoding="iso-8859-1"?>
    <star:ShowLaborOperations xmlns:star="http://www.starstandard.org/STAR/5" releaseID="5.4.4">
    <star:ApplicationArea>
    <star:Sender>
    <star:CreatorNameCode>AD</star:CreatorNameCode>
    <star:SenderNameCode>DDDD</star:SenderNameCode>
    <star:SystemVersion>AD2.0</star:SystemVersion>
    </star:Sender>
    <star:CreationDateTime>2011-05-06T12:51:33Z</star:CreationDateTime>
    <star:BODID>A29BF24F-F68E-5CE5-E040-35A54242A0C</star:BODID>
    <star:Destination>
    <star:DestinationNameCode>AD</star:DestinationNameCode>
    </star:Destination>
    </star:ApplicationArea>
    <star:ShowLaborOperationsDataArea>
    <star:Show>
    <oagis:ResponseCriteria xmlns:oagis="http://www.openapplications.org/oagis/9">
    <oagis:ChangeStatus>
    <oagis:Description>Changes</oagis:Description>
    </oagis:ChangeStatus>
    </oagis:ResponseCriteria>
    </star:Show>
    <star:LaborOperations>
    <star:LaborOperationsHeader>
    <star:RequestCode>Changes</star:RequestCode>
    <star:LaborOperationsHeaderBase>
    <star:DocumentIdentificationGroup>
    <star:DocumentIdentification>
    <star:DocumentID>ShowOperationCode20110506050532TY</star:DocumentID>
    </star:DocumentIdentification>
    </star:DocumentIdentificationGroup>
    </star:LaborOperationsHeaderBase>
    <star:LaborOperationCodes/>
    </star:LaborOperationsHeader>
    <star:LaborOperationsDetail>
    <star:LaborOperationID>001020</star:LaborOperationID>
    <star:MajorGroupID>00</star:MajorGroupID>
    <star:ComponentGroupID>01</star:ComponentGroupID>
    <star:LaborOperationDescription>GAS TANK FILL</star:LaborOperationDescription>
    <star:LaborActionCode>OTH</star:LaborActionCode>
    <star:LaborOperationsChangeStatus>U</star:LaborOperationsChangeStatus>
    <star:Combinations>
    <star:VehicleGroupLaborAllowance>
    <star:VehicleIdentificationGroup>
    <star:VehicleGroupID>JTN</star:VehicleGroupID>
    <star:VehicleID>JJXB0</star:VehicleID>
    </star:VehicleIdentificationGroup>
    <star:ChangeStatus>A</star:ChangeStatus>
    <star:LaborAllowanceMeasure unitCode="hour">0.0</star:LaborAllowanceMeasure>
    <star:ChargeHoursIndicator>false</star:ChargeHoursIndicator>
    </star:VehicleGroupLaborAllowance>
    <star:VehicleGroupLaborAllowance>
    <star:VehicleIdentificationGroup>
    <star:VehicleGroupID>JTM</star:VehicleGroupID>
    <star:VehicleID>ZF32V</star:VehicleID>
    </star:VehicleIdentificationGroup>
    <star:ChangeStatus>U</star:ChangeStatus>
    <star:LaborAllowanceMeasure unitCode="hour">0.6</star:LaborAllowanceMeasure>
    <star:ChargeHoursIndicator>true</star:ChargeHoursIndicator>
    </star:VehicleGroupLaborAllowance>
    </star:Combinations>
    </star:LaborOperationsDetail>
    </star:LaborOperations>
    </star:ShowLaborOperationsDataArea>
    </star:ShowLaborOperations>
    and I wanna be able to see the following result: 
    <LaborOperationsDetail xmlns="http://www.starstandard.org/STAR/5">
    <LaborOperationID>001020</LaborOperationID>
    <MajorGroupID>00</MajorGroupID>
    <ComponentGroupID>01</ComponentGroupID>
    <LaborOperationDescription>GAS TANK FILL</LaborOperationDescription>
    <LaborActionCode>OTH</LaborActionCode>
    <LaborOperationsChangeStatus>U</LaborOperationsChangeStatus>
    <Combinations>
    <VehicleGroupLaborAllowance>
    <VehicleIdentificationGroup>
    <VehicleGroupID>JTN</VehicleGroupID>
    <VehicleID>JJXB0</VehicleID>
    </VehicleIdentificationGroup>
    <ChangeStatus>A</ChangeStatus>
    <LaborAllowanceMeasure unitCode="hour">0.0</LaborAllowanceMeasure>
    <ChargeHoursIndicator>false</ChargeHoursIndicator>
    </VehicleGroupLaborAllowance>
    </Combinations>
    </LaborOperationsDetail>
    for which I'm writing the following query 
    SELECT OpCodeXMLCol.query('
    declare default element namespace "http://www.starstandard.org/STAR/5";
    /ShowLaborOperations/ShowLaborOperationsDataArea/LaborOperations/LaborOperationsDetail[Combinations/VehicleGroupLaborAllowance/VehicleIdentificationGroup/VehicleGroupID="JTN"][LaborOperationID="001020"]
    -- specified [LaborOperationID="001020"] because there are multiple <LabrOperationDetial> ') as x
    FROM XMLData.dbo.OpCodeData
    where [ID] = 3 -- primary key for that row containing XML in first snippet
    but I'm getting both nodes for <VehicleIdentificatonGroup> whereas I expect to see one containing <VehicleGroupID>JTN</VehicleGroupID> as per filter in query. Please help

    The closest thing which makes sense:
    DECLARE @Data XML = N'
    <star:ShowLaborOperations xmlns:star="http://www.starstandard.org/STAR/5" releaseID="5.4.4">
    <star:ApplicationArea>
    <star:Sender>
    <star:CreatorNameCode>AD</star:CreatorNameCode>
    <star:SenderNameCode>DDDD</star:SenderNameCode>
    <star:SystemVersion>AD2.0</star:SystemVersion>
    </star:Sender>
    <star:CreationDateTime>2011-05-06T12:51:33Z</star:CreationDateTime>
    <star:BODID>A29BF24F-F68E-5CE5-E040-35A54242A0C</star:BODID>
    <star:Destination>
    <star:DestinationNameCode>AD</star:DestinationNameCode>
    </star:Destination>
    </star:ApplicationArea>
    <star:ShowLaborOperationsDataArea>
    <star:Show>
    <oagis:ResponseCriteria xmlns:oagis="http://www.openapplications.org/oagis/9">
    <oagis:ChangeStatus>
    <oagis:Description>Changes</oagis:Description>
    </oagis:ChangeStatus>
    </oagis:ResponseCriteria>
    </star:Show>
    <star:LaborOperations>
    <star:LaborOperationsHeader>
    <star:RequestCode>Changes</star:RequestCode>
    <star:LaborOperationsHeaderBase>
    <star:DocumentIdentificationGroup>
    <star:DocumentIdentification>
    <star:DocumentID>ShowOperationCode20110506050532TY</star:DocumentID>
    </star:DocumentIdentification>
    </star:DocumentIdentificationGroup>
    </star:LaborOperationsHeaderBase>
    <star:LaborOperationCodes/>
    </star:LaborOperationsHeader>
    <star:LaborOperationsDetail>
    <star:LaborOperationID>001020</star:LaborOperationID>
    <star:MajorGroupID>00</star:MajorGroupID>
    <star:ComponentGroupID>01</star:ComponentGroupID>
    <star:LaborOperationDescription>GAS TANK FILL</star:LaborOperationDescription>
    <star:LaborActionCode>OTH</star:LaborActionCode>
    <star:LaborOperationsChangeStatus>U</star:LaborOperationsChangeStatus>
    <star:Combinations>
    <star:VehicleGroupLaborAllowance>
    <star:VehicleIdentificationGroup>
    <star:VehicleGroupID>JTN</star:VehicleGroupID>
    <star:VehicleID>JJXB0</star:VehicleID>
    </star:VehicleIdentificationGroup>
    <star:ChangeStatus>A</star:ChangeStatus>
    <star:LaborAllowanceMeasure unitCode="hour">0.0</star:LaborAllowanceMeasure>
    <star:ChargeHoursIndicator>false</star:ChargeHoursIndicator>
    </star:VehicleGroupLaborAllowance>
    <star:VehicleGroupLaborAllowance>
    <star:VehicleIdentificationGroup>
    <star:VehicleGroupID>JTM</star:VehicleGroupID>
    <star:VehicleID>ZF32V</star:VehicleID>
    </star:VehicleIdentificationGroup>
    <star:ChangeStatus>U</star:ChangeStatus>
    <star:LaborAllowanceMeasure unitCode="hour">0.6</star:LaborAllowanceMeasure>
    <star:ChargeHoursIndicator>true</star:ChargeHoursIndicator>
    </star:VehicleGroupLaborAllowance>
    </star:Combinations>
    </star:LaborOperationsDetail>
    </star:LaborOperations>
    </star:ShowLaborOperationsDataArea>
    </star:ShowLaborOperations>
    WITH XMLNAMESPACES ( DEFAULT 'http://www.starstandard.org/STAR/5' )
    SELECT LaborOperationsDetail.query('.'),
    VehicleGroupLaborAllowance.query('.')
    FROM @Data.nodes('/ShowLaborOperations/ShowLaborOperationsDataArea/LaborOperations/LaborOperationsDetail') A ( LaborOperationsDetail )
    CROSS APPLY LaborOperationsDetail.nodes('Combinations/VehicleGroupLaborAllowance[VehicleIdentificationGroup/VehicleGroupID="JTN"]') B ( VehicleGroupLaborAllowance );
    Otherwise we need to destruct and rebuild the XML. This in this case imho better done with XSLT.

  • Need help with checking xml files

    Hello!
    I would like to ask you for advice.
    I have following task to do: I need to compare values in XML file with one of databases.  Have you any ideas hot to do it? How to parse it using PL/SQL level?
    thanks for reply

    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    I have following problem. External firm sending me a XML file with some fields for example: <price>5000$</price>;
    In my DB i have table with this column and i have to make a script in PL/SQL which is finding in my DB fields and compare with fields written in this XML file.
    Thanks.

  • Need help with a xml photo gallery

    First, hello to everyone. My name is Tudor , i'm from Romania and i have a flash project which implies building an XML driven scrolling photo galery. Very sorry if my english will slip in some phrases. Well , the question for which i must get an answer is: I already built the gallery, everything works ok.... but ... when i want to make some changes when the pictures load .... well here is the problem. I will print the code and briefly explain and ask at the end....
    import com.greensock.TweenLite;
    import com.greensock.TweenMax;
    import fl.transitions.Tween;
    import fl.transitions.easing.*;
    import fl.transitions.*;
    import fl.containers.UILoader;
    var MASK_WIDTH:Number = myMask_mc.width;
    var menuHolder:MovieClip = new MovieClip();
    //menuHolder.x = myMask_mc.x;
    //menuHolder.y = myMask_mc.y;
    addChild(menuHolder);
    var mouseIsOver:Boolean = false;
    var oldX:Number = menuHolder.x;
    menuHolder.mask = myMask_mc;
    import flash.filters.ColorMatrixFilter;
    import fl.motion.AdjustColor;
    var color : AdjustColor;
    var colorMatrix : ColorMatrixFilter;
    var matrix : Array;
    var filterBW : Array;
    color = new AdjustColor();
    color.brightness = 20;
    color.contrast = 20;
    color.hue = 0;
    color.saturation = -100;
    matrix = color.CalculateFinalFlatArray();
    colorMatrix = new ColorMatrixFilter(matrix);
    filterBW = [colorMatrix];
    /// HERE i read and parse the XML
    var xmlLoader:URLLoader = new URLLoader();
    var xmlData:XML = new XML();
    xmlLoader.addEventListener(Event.COMPLETE, LoadXML);
    xmlLoader.load(new URLRequest("C:/Documents and Settings/Sm/Desktop/feteModel.xml"));
    function LoadXML(e:Event):void
    xmlData = new XML(e.target.data);
    ParsePictures(xmlData);
    function ParsePictures(input:XML):void
    var mainPictures:Array = new Array();
    var firstPictures:Array = new Array();
    var secondPictures:Array = new Array();
    var thirdPictures:Array = new Array();
    var forthPictures:Array = new Array();
    var dimensiuniArray:Array = new Array();
    var heightArray:Array = new Array();
    var eyeColorArray:Array = new Array();
    var hairColorArray:Array = new Array();
    var numeArray:Array = new Array();
    var mainPicturesList:XMLList = input.fata.pozaPrincipala;
    var firstPicturesList:XMLList = input.fata.poza1;
    var secondPicturesList:XMLList = input.fata.poza2;
    var thirdPicturesList:XMLList = input.fata.poza3;
    var forthPicturesList:XMLList = input.fata.poza4;
    var dimensiuniList:XMLList = input.fata.dimensiuni;
    var heightList:XMLList = input.fata.inaltime;
    var eyeColorList:XMLList = input.fata.culoare_ochi;
    var hairColorList:XMLList = input.fata.culoare_par;
    var numeList:XMLList = input.fata.nume;
    for each (var element1:XML in mainPicturesList)
    mainPictures.push(element1);
    for each (var element2:XML in numeList)
    numeArray.push(element2);
       /////////// HERE I LOAD THE PICTURES ...... i must say that menuItem is a mc - exported as a class , which basically has inside a textfield, a UILoader and a preloader - also movieclip. Also i need the pictures to be black and white when they are displayed and when the mouse is over to color
    for (var i=0; i < mainPictures.length; i++)
    var menuItem:MenuItem;
    menuItem = new MenuItem();
    menuItem.y = 200;
    menuItem.x =(i * (menuItem.width+1))+150;
    menuItem.itemLoader.filters = filterBW;
    menuItem.itemText.text = numeArray[i];
    menuItem.itemLoader.source = mainPictures[i];
    menuItem.itemLoader.maintainAspectRatio = false;
    menuItem.itemLoader.addEventListener(Event.COMPLETE, completeHandler);
    //menuItem.itemLoader.addEventListener(Event.COMPLETE,uiLoaded, false, 0, true);
    //menuItem.itemLoader.addEventListener(ProgressEvent.PROGRESS, progressHandler);
    //menuItem.itemLoader.load();
    //menuItem.preloader_mc.visible = true;
    function completeHandler(event:Event)
         //trace(menuItem.itemText.text);
    menuItem.mouseChildren = false;
    menuItem.buttonMode = true;
      menuItem.addEventListener(MouseEvent.MOUSE_OVER, mouseOverItem);
      menuItem.addEventListener(MouseEvent.MOUSE_OUT, mouseOutItem);
      //Add the menuItem to the menuHolder
      menuHolder.addChild(menuItem);
    menuHolder.addEventListener(MouseEvent.MOUSE_OVER, mouseOverMenu);
    menuHolder.addEventListener(MouseEvent.MOUSE_OUT, mouseOutMenu);
    function mouseOverMenu(e:Event):void
    mouseIsOver = true;
    //Calculate the vertical distance of how far the mouse is from
    //the topleft  of the mask.
    var distance:Number = mouseX - myMask_mc.x;
    //Calculate the distance in percentages
    var percentage:Number = distance / MASK_WIDTH;
    //Save the holder's old y coordinate
    oldX = menuHolder.x;
    var targetX:Number = -((menuHolder.width - MASK_WIDTH +150) * percentage) + myMask_mc.x;
    //Tween the menuHolder to the target coordinate
    TweenMax.to(menuHolder, 5, {x: Math.round(targetX)});
    //This function is called when the mouse is out of the menu
    function mouseOutMenu(e:Event):void
    mouseIsOver = false;
    var tw1:Tween;
    var tw2:Tween;
    function mouseOverItem(e:Event):void
    var item:MenuItem = e.target as MenuItem;
    menuHolder.addChild(item);
    item.itemLoader.filters = [];
    //trace(item.itemText.text);
    tw1 = new Tween(item,"scaleX", Strong.easeInOut,1, 1.25,0.25,true);
    tw2 = new Tween(item,"scaleY", Strong.easeInOut,1, 1.25,0.25,true);
    //This function is called when mouse moves out of the item
    function mouseOutItem(e:Event):void
    var item:MenuItem = e.target as MenuItem;
    item.itemLoader.filters = filterBW;
    tw1 = new Tween(item,"scaleX", Strong.easeInOut,1.25, 1,0.25,true);
    tw2 = new Tween(item,"scaleY", Strong.easeInOut,1.25, 1,0.25,true);
    Now , i want each picture to scale when it fully loads ... i thought it will be enough to put it on the completeHandler function , but here is the problem - it scales only the last picture ..... eg. if there are 5 , it scales only the 5th ..... i tried to trace the name of the picture inside the completeHandler and also , i got 4 identical names - the name of the last picture ...... my question  is : why is the completeHandler firing only for the last item?   anyone has any idea why this is hapening? and more how can i fix it? PLEASE ... i'm burning my brain here for half a day here ..........  THANKS in advance!!!!!!!!!!!!!!!!!!   
                                                                                                                                                                    REGARDS, Tudor

    If you are using a "for" loop to do the loading, it can process thru the entire set of loops before the first image is loaded.  If you want to have control over the loading you should load things sequencially.
    So instead of using a for loop, build a pseudo loop using an array of the files to load, a counter variable, a loading function, and a loadComplete function.  Have the loading function load just one image using the counter variable to identify which image in the array to load.  Have the loadComplete function process the one image that was just kloaded, increment the counter, and call the loading function if the counter value does not equal the length of the array.

  • Need help with an XML-based SQL query

    Hello, everyone:
    I get 'no rows selected' from the following queries:
    SELECT extractValue((p.entity_types_xml), '/entities/test[a=fagioli]')
    FROM entity_types p
    WHERE
    existsNode(p.entity_types_xml,
    '/entities/test/text()') = 1;
    SELECT extractValue((p.entity_types_xml), '/entities/test/text()')
    FROM entity_types p
    WHERE
    existsNode(p.entity_types_xml, '/entities/test/text()') = 1;
    SELECT
    extractValue(p.entity_types_xml,'/entities/ARFinance-elem/entity-type')
    FROM entity_types p
    WHERE
    existsNode(p.entity_types_xml,'/entities/ARFinance-elem/ARFinanceTBD/text()') = 1;
    where the entity_types table looks like this:
    SQL> desc entity_Types;
    Name Null? Type
    ENTITY_TYPES_ID NOT NULL VARCHAR2(36)
    ENTITY_TYPES_XML NOT NULL XMLTYPE
    CLIENT_ID VARCHAR2(30)
    and the XML fragment looks like this:
    +++++++++++++++++++++++++++++++++++++
    <?xml version="1.0" encoding="UTF-8"?>
    <entities
    xmlns="http://www.thirdpillar.com/xml/namespace/aom/entity"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.thirdpillar.com/xml/namespace/aom/entity ../generated/denormalized-schema.0.xsd">
    <test a="fagioli">pasta</test>
    <ARFinance-elem>
    <uid b="pasta">123</uid>
    <entity-type><![CDATA[ARFinance]]></entity-type>
    <ARFinanceTBD>tobedetermined</ARFinanceTBD>
    </ARFinance-elem>
    ++++++++++++++++++++++++++++++++++++++++++++
    As you can see, there is data in /entities/test[@a] as well as /entities/test/text(),
    so why aren't any of the queries returning the preceding XML fragment? Suggestions welcome and appreciated....
    Regards,
    Oswald
    ps: I'm sure I've overlooked something simple.

    Oswald,
    I think you need to add the namespace
    select extractValue(.....','xmlns:xsi="http://www.thirdpillar.com/xml/namespace/aom/entity"')
    from entity_types p

  • Need help with build.xml / junit - pls ignore my previous posting

    i'm trying to add unit tests for another class file in a larger package. the package is built with ant. relevant lines of the build.xml that pertain to unit tests are
            </target>
            <target name="test" depends="dist, build-tests">
                    <!-- the grouper project doesn't use the junit ant task that's fine with me -->
                    <java fork="yes"
              classname="junit.textui.TestRunner"
              taskname="junit"
              failonerror="true">
                    <arg value="organization.organizationSuite"/>
                    <classpath>
                            <pathelement path="${java.class.path}"/>
                            <pathelement path="../organization.jar"/>
                            <pathelement path="${buildir}" />
                    </classpath>
                    </java>
            </target>
            <target name="test-individual" depends="dist, build-tests">
                    <!-- the grouper project doesn't use the junit ant task that's fine with me -->
                    <java fork="yes"
              classname="junit.textui.TestRunner"
              taskname="junit"
              failonerror="true">
                    <arg value="organization.testFoo"/> <!-- ADJUST THIS FOR YOUR OWN TEST -->
                    <classpath>
                            <pathelement path="${java.class.path}"/>
                            <pathelement path="../organization.jar"/>
                            <pathelement path="${buildir}" />
                    </classpath>
                    </java>
                    <java fork="yes"
              classname="junit.textui.TestRunner"
              taskname="junit"
              failonerror="true">
                    <arg value="organization.oldTest"/> <!-- ADJUST THIS FOR YOUR OWN TEST -->
                    <classpath>
                            <pathelement path="${java.class.path}"/>
                            <pathelement path="../organization.jar"/>
                            <pathelement path="${buildir}" />
                    </classpath>
                    </java>i'm trying to add
      <arg value="organization.anotherTest"/> <!-- ADJUST THIS FOR YOUR OWN TEST -->
                    <classpath>
                            <pathelement path="${java.class.path}"/>
                            <pathelement path="../organization.jar"/>
                            <pathelement path="${buildir}" />
                    </classpath>
                    </java>right now i can
    right now i can
    java junit.textui.TestRunner organization.testSuite
    or to run a specific test
    java junit.textui.TestRunner organization.oldTest
    i added the above lines to my build.xml, added the .java file for the anotherTest class to the ${testdir} where oldTest and testSuite and other junit related classes live within the package directory structure, then ran 'ant' to make a new .jar file.
    now when i switch in the new .jar file, i get errors whenever i try to
    java junit.textui.TestRunner organization.oldTest
    i get 'no class oldTest' found
    can anyone point me in the right direction?

    My Ant build.xml doesn't look like yours. I usually do it like this, and it works fine:
        <target name="test" depends="compile" description="run all unit tests">
            <junit>
                <jvmarg value="-Xms32m" />
                <jvmarg value="-Xmx64m" />
                <classpath>
                    <path refid="project.class.path" />
                </classpath>
                <formatter type="xml" />
                <batchtest fork="yes" todir="${reports}">
                    <fileset dir="${output.classes}">
                        <include name="**/*TestCase.class" />
                    </fileset>
                    <fileset dir="${output.classes}">
                        <include name="**/*TestSuite.class" />
                    </fileset>
                </batchtest>
            </junit>
        </target>
        <target name="report" depends="test" description="create HTML report for JUnit test results">
            <junitreport todir="${reports}">
                <fileset dir="${reports}">
                    <include name="TEST-*.xml"/>
                </fileset>
                <report format="frames" todir="${reports}"/>
            </junitreport>
        </target>I don't understand why you're running individual tests like that. why not run them all?
    %

  • Need help with build.xml / junit

    i'm trying to add unit tests for another class file in a larger package. the package is built with ant. relevant lines of the build.xml that pertain to unit tests are
            </target>
            <target name="test" depends="dist, build-tests">
                    <!-- the grouper project doesn't use the junit ant task that's fine with me -->
                    <java fork="yes"
              classname="junit.textui.TestRunner"
              taskname="junit"
              failonerror="true">
                    <arg value="nsit.testSuite"/>
                    <classpath>
                            <pathelement path="${java.class.path}"/>
                            <pathelement path="../nsit.jar"/>
                            <pathelement path="${buildir}" />
                    </classpath>
                    </java>
            </target>
            <target name="test-individual" depends="dist, build-tests">
                    <!-- the grouper project doesn't use the junit ant task that's fine with me -->
                    <java fork="yes"
              classname="junit.textui.TestRunner"
              taskname="junit"
              failonerror="true">
                    <arg value="nsit.testFoo"/> <!-- ADJUST THIS FOR YOUR OWN TEST -->
                    <classpath>
                            <pathelement path="${java.class.path}"/>
                            <pathelement path="../nsit.jar"/>
                            <pathelement path="${buildir}" />
                    </classpath>
                    </java>
                    <java fork="yes"
              classname="junit.textui.TestRunner"
              taskname="junit"
              failonerror="true">
                    <arg value="nsit.ServiceTest"/> <!-- ADJUST THIS FOR YOUR OWN TEST -->
                    <classpath>
                            <pathelement path="${java.class.path}"/>
                            <pathelement path="../nsit.jar"/>
                            <pathelement path="${buildir}" />
                    </classpath>
                    </java>right now i can
    java junit.textui.TestRunner organization.testSuite
    or to run a specific test
    java junit.textui.TestRunner organization.oldTest
    i added the above lines to my build.xml, added the .java file for the anotherTest class to the ${testdir} where oldTest and testSuite and other junit related classes live within the package directory structure, then ran 'ant' to make a new .jar file.
    now when i switch in the new .jar file, i get errors whenever i try to
    java junit.textui.TestRunner organization.oldTest
    i get 'no class oldTest' found
    can anyone point me in the right direction?

    My Ant build.xml doesn't look like yours. I usually do it like this, and it works fine:
        <target name="test" depends="compile" description="run all unit tests">
            <junit>
                <jvmarg value="-Xms32m" />
                <jvmarg value="-Xmx64m" />
                <classpath>
                    <path refid="project.class.path" />
                </classpath>
                <formatter type="xml" />
                <batchtest fork="yes" todir="${reports}">
                    <fileset dir="${output.classes}">
                        <include name="**/*TestCase.class" />
                    </fileset>
                    <fileset dir="${output.classes}">
                        <include name="**/*TestSuite.class" />
                    </fileset>
                </batchtest>
            </junit>
        </target>
        <target name="report" depends="test" description="create HTML report for JUnit test results">
            <junitreport todir="${reports}">
                <fileset dir="${reports}">
                    <include name="TEST-*.xml"/>
                </fileset>
                <report format="frames" todir="${reports}"/>
            </junitreport>
        </target>I don't understand why you're running individual tests like that. why not run them all?
    %

  • Need Help with Java XML Pack

    I Downloaded the JavaXMLPack-summer-02_01 and am a little unsure about configuration and use...
    The documentation says:"
    To use the Java XML Pack technologies, you need to set the home directory for each technology as follows:
    JAVA_XML_PACK_HOME to the directory where the java xml pack has been installed.
    JAXM_HOME to <JAVA_XML_PACK_INSTALL>/java_xml_pack-summer-02_01/jaxm-1.1_01
    JAXP_HOME to <JAVA_XML_PACK_INSTALL>/java_xml_pack-summer-02_01/jaxp-1.2_01
    JAXR_HOME to <JAVA_XML_PACK_INSTALL>/java_xml_pack-ummer-02_01/jaxr-1.0_02
    JAXRPC_HOME to <JAVA_XML_PACK_INSTALL>/java_xml_pack-ummer-02_01/jaxrpc-1.0_01
    but nothing about where to set this...
    I tried to set those as environment variables- s�that right???
    Next thing:
    When I want to use the JAXM Libraries I have to set the .JAR Files as Classpath - Seems strage to me...
    And now the Problem:
    I compiled the StandeAlone.java Sample from "/jaxm-1.1_01/samples/standalone"
    And when I start the class File I get the Error message
    java.lang.NoClassDefFoundError: javax/xml/soap/SOAPBody
         at DataExchange.<init>(EOS.java:67)
         at EOS.init(EOS.java:14)
         at sun.applet.AppletPanel.run(AppletPanel.java:341)
         at java.lang.Thread.run(Thread.java:536)

    I have been having similar problems. I have set the variables you mentioned in my .bashrc file and set the classpath variable to include them. However the compiler still can't find them and I get a slew of NoClassDefFoundError exceptions when trying to compile code which uses the xml stuff.
    The strange thing is that the classpath variable was empty before I added the java xml stuff to it so I don't know how it finds the core java classes. It gets this information from somewhere and if I could find out where this is then I could add the xml stuff to it and everything will be fine.
    Any ideas on where java is getting the location of the core classes from?

  • Need help with loading XML file

    Hello,
    I have been browsing the web/forums for an example on how to do this for a few days now.  I managed to get this working in Flash Pro quite easily but I think I am missing something when I want to do the same thing in Flex.
    Basically I want to load an XML file and then set the text values of 5 labels equal to the data in the XML file.
    So I a button created in MXML and have set the click event as follows:
         click="dsSetup(event)"
    I have also declared the following:
         public var myRequest:URLRequest = new URLRequest("assets/myFile.xml");   //folder located under src in project
         public var myLoader:URLLoader = new URLLoader();
         public var myXML:XML;
    My function that loads is as follows:
    public function dsSetup(event:MouseEvent):void
         trace ("dsSetup");
         myXML = new XML (myLoader.data);
         h3.text = myXML.source.itemA;
         h4.text = myXML.source.itemB;
         h5.text = myXML.source.itemC;
         h7.text = myXML.source.itemD;
         h8.text = myXML.source.itemE;
         currentState = 'MainMenu';
    myLoader.addEventListener(Event.COMPLETE, dsSetup);   // I think this line is now redundant as I have set it in the MXML
    myLoader.load(myRequest);
    This is the way I did it in Flash and it worked ok but I must be missing something in when it comes to Flex.
    Can someone explain or point me to a good tutorial that shows how to load XML in Flex? 
    The ones I found seem to have about 50 lines of code just to load a file and add in way to much complexity for a beginner.
    Many Thanks

    I would suggest to save the loaded data in a Bindable variable and then to bind the text-properties to that:
    [Bindable]
    var myXML:XML;
    public function dsSetup(event:MouseEvent):void
         myXML = new XML (myLoader.data);
         currentState = 'MainMenu';
    <s:Label text="{myXML.source.itemA}"/>

Maybe you are looking for

  • How do I remove over 2,000 emails at one time from iPhone

    When I upgraded my iPhone to 8.1 it downloaded all of my 2,200 past deleted emails from my Time Warner Cable account. I have deleted all of these from my TWC account. Now I need to erase them from my iPhone. All at one time. Instead of 4 at a time.

  • Okay, I'm an idiot.  How do I make a clone?

    I want to install Leopard on my Mac Pro. But at the moment I don't have anything backed up (I know, spank me). A friend who is totally computer proficient suggested I buy a new internal hard drive, install it, clone my hard drive onto the new drive,

  • SNC Mapping

    Hi, I read one statement some where else. The statement is XSLT mapping (e.g. for SNC mappings). Here my question is what is this SNC mapping and how we will do this SNC mapping in SAP XI Thanks Rao

  • Installing Java on Win XP Home

    Hi, I've seen lots of topics discussing installation problems of Java with Win XP. Does Sun have any documentation which covers this installation and FAQs to installation problems? A document like this would help a lot of people who use Java. A few q

  • Can't get app update that was posted to App Store

    An app that I bought (Crosswords) was updated and the update appears in the App Store. I have the old version in my Applications page in iTunes, but when I click the "Check for Updates" link, it doesn't find any updates for my applications. I tried j