Problem with loading of XML document
HelloI have to load XML document uploaded on the web in XML DB and validate against the schema. The problem is, that:
schemaLocation still looks like in the document like this:
P1:schemaLocation = "SPDS. IFR.i009.pl http://inetsqlcg:82/ReportServer?%2fReportPublisher%2fspds.ifr.009.PL & amp; rs 3aFormat % = XML & amp; rc % 3aSchema = True'
and cannot be changed.
I registered schema by using the command:
BEGIN
DBMS_XMLSCHEMA.registerSchema
(
SCHEMAURL = >
-UTL_URL. UNESCAPE
('http://inetsqlcg:82/ReportServer?%2fReportPublisher%2fspds.ifr.009.PL & amp; rs 3aFormat % = XML & amp; % 3aSchema rc = True'),
SCHEMADOC = > BFILENAME ("TEST_DIR',"test.xsd").
FORCE = > TRUE
);
END;
(ORACLE inquired about the variable & amp, I set myself to & amp course :)))
I used the FORCE to omit the error:
ORA-31000: resource ' http://inetsqlcg:82/ReportServer?/ReportPublisher/spds.ifr.009.PL & amp; RS: Format = XML & amp; RC:schema = True' is not a document of schema XDB
Now I have the schema with SCHEMA_URL
Select SCHEMA_URL in the user_xml_schemas;
http://inetsqlcg:82/ReportServer?%2fReportPublisher%2fspds.IFR.009.pl & amp; RS % 3aFormat = XML & amp; RC % 3aSchema = true
but when I try to load the document like this
INSERT INTO THE REP
VALUES
(
XMLType
(
BFILENAME ("TEST_DIR", "test.xml"),
NLS_CHARSET_ID ("AL32UTF8")
)
);
There is an error:
ORA-19007: Schema - does not http://inetsqlcg:82/ReportServer?%2fReportPublisher%2fspds.ifr.009.PL & amp; rs 3aFormat % = XML & amp; % 3aSchema rc = True expected.
test.xsd is:
<? XML version = "1.0" encoding = "UTF-8"? >
< xmlns = "spds.ifr.009.PL schema" xmlns: XS = "http://www.w3.org/2001/XMLSchema" xmlns:xdb = "http://xmlns.oracle.com/xdb" targetNamespace = "spds.ifr.009.PL" > "
< xs: element name = "Report" xdb:defaultTable = "REP" >
< xs: annotation >
< intention > report < / intention >
< / xs: annotation >
< complexType xdb:SQLType = "REP_T" >
< xs: Sequence minOccurs = "0" maxOccurs = "unbounded" >
< xs: ELEMENT ref = "Detail" minOccurs = "0" maxOccurs = "unbounded" xdb:SQLName = "DETAILS" xdb:SQLCollType = "DETAILS_C" / >
< / xs: SEQUENCE >
< name XS: attribute = use 'REPORTNAME1' 'optional' = >
< xs: annotation >
XYZ abc < intention > < / intention >
< / xs: annotation >
< xs:simpleType >
< xs:restriction base = "XS: String" / >
< / xs:simpleType >
< / xs: attribute >
< / xs: complexType >
< / xs: element >
< xs: element name = "Details" xdb:defaultTable = "" >
< xs: annotation >
Details of < intention > < / intention >
< / xs: annotation >
< complexType xdb:SQLType = "DETAILS_T" >
< name XS: attribute = "VALUATE" type = "xs: String" use = "optional" >
< xs: annotation >
< intention > Valuate < / intention >
< / xs: annotation >
< / xs: attribute >
< name XS: attribute = "ISIN" use = "optional" >
< xs: annotation >
< intention > ISIN < / intention >
< / xs: annotation >
< xs:simpleType >
< xs:restriction base = "XS: String" / >
< / xs:simpleType >
< / xs: attribute >
< / xs: complexType >
< / xs: element >
< / xs: Schema >
test.XML is:
<? XML version = "1.0" encoding = "UTF-8"? >
"< report xmlns:p1 ="http://www.w3.org/2001/XMLSchema-instance"xmlns ="spds.ifr.009.PL"p1:schemaLocation =" spds.ifr.009.PL http://inetsqlcg:82/ReportServer?%2fReportPublisher%2fspds.ifr.009.PL & amp; rs 3aFormat % = XML & amp; % 3aSchema rc = True "REPORTNAME1 ="abc abc abc">
< detail ISIN = "AB0123456789" / >
< detail ISIN = "XY0123456789" VALUE = "2" / >
< / report >
Version of the database is:
11.1.0.7.0
but probably I'll have to do the same thing on 10.2.0.3.0
Any suggestion, please.
And thanks in advance.
Looks like we cannot manage this value of the schema location indicator... Not even sure we should, to be honest...
You can use a workaround like this...
SQL> VAR XMLSCHEMA CLOB
SQL> VAR INSTANCE CLOB
SQL> VAR SCHEMAURL VARCHAR2(700)
SQL> --
SQL> set define off
SQL> --
SQL> begin
2 :SCHEMAURL := 'http://inetsqlcg:82/ReportServer?%2fReportPublisher%2fspds.ifr.009.PL&rs%3aFormat=XML&rc%3aSchema=True';
3 :XMLSCHEMA :=
4 '
5
6
7
8 Report
9
10
11
12
13
14
15
16 abc xyz
17
18
19
20
21
22
23
24
25
26 Details
27
28
29
30
31 Valuate
32
33
34
35
36 ISIN
37
38
39
40
41
42
43
44 ';
45 :INSTANCE :=
46 '
47
48
49
50 ';
51 end;
52 /
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.04
SQL> --
SQL> set define on
SQL> --
SQL> BEGIN
2 DBMS_XMLSCHEMA.registerSchema
3 (
4 SCHEMAURL => :SCHEMAURL,
5 SCHEMADOC => :XMLSCHEMA
6 );
7 END;
8 /
BEGIN
*
ERROR at line 1:
ORA-31000: Resource
'http://inetsqlcg:82/ReportServer?/ReportPublisher/spds.ifr.009.PL&rs:Format=XML
&rc:Schema=True' is not an XDB schema document
ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 72
ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 33
ORA-06512: at line 2
Elapsed: 00:00:00.04
SQL> desc REP
ERROR:
ORA-04043: object REP does not exist
SQL> --
SQL> INSERT INTO REP VALUES ( XMLTYPE(:INSTANCE ))
2 /
INSERT INTO REP VALUES ( XMLTYPE(:INSTANCE ))
*
ERROR at line 1:
ORA-00942: table or view does not exist
Elapsed: 00:00:00.01
SQL> --
SQL> set define off
SQL> --
SQL> begin
2 :SCHEMAURL := 'http://inetsqlcg:82/ReportServer';
3 :XMLSCHEMA :=
4 '
5
6
7
8 Report
9
10
11
12
13
14
15
16 abc xyz
17
18
19
20
21
22
23
24
25
26 Details
27
28
29
30
31 Valuate
32
33
34
35
36 ISIN
37
38
39
40
41
42
43
44 ';
45 :INSTANCE :=
46 '
47
48
49
50 ';
51 end;
52 /
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.01
SQL> --
SQL> set define on
SQL> --
SQL> BEGIN
2 DBMS_XMLSCHEMA.registerSchema
3 (
4 SCHEMAURL => :SCHEMAURL,
5 SCHEMADOC => :XMLSCHEMA
6 );
7 END;
8 /
PL/SQL procedure successfully completed.
Elapsed: 00:00:08.71
SQL> desc REP
Name Null? Type
----------------------------------------- -------- ----------------------------
TABLE of SYS.XMLTYPE(XMLSchema "http://inetsqlcg:82/ReportServer" Element "Report") STORAGE Object-relational TYPE "REP_T"
SQL> --
SQL> set long 10000
SQL> select updateXML(XMLTYPE(:INSTANCE),'/Report/@p1:schemaLocation','spds.ifr.009.PL http://inetsqlcg:82/ReportServer','xmlns:p1="http://www.w3.org/2001/XMLSc
hema-instance" xmlns="spds.ifr.009.PL"')
2 from dual
3 /
UPDATEXML(XMLTYPE(:INSTANCE),'/REPORT/@P1:SCHEMALOCATION','SPDS.IFR.009.PLHTTP:/
--------------------------------------------------------------------------------
Elapsed: 00:00:00.03
SQL> INSERT INTO REP VALUES ( updateXML(XMLTYPE(:INSTANCE),'/Report/@p1:schemaLocation','spds.ifr.009.PL http://inetsqlcg:82/ReportServer','xmlns:p1="http://www
.w3.org/2001/XMLSchema-instance" xmlns="spds.ifr.009.PL"'))
2 /
1 row created.
Elapsed: 00:00:00.01
SQL> select * from REP
2 /
SYS_NC_ROWINFO$
--------------------------------------------------------------------------------
Elapsed: 00:00:00.56
SQL>
Tags: Database
Similar Questions
-
For example, the following code is in a class - it's a setter function.
I noticed the output of each trace statement... I don't know, but it does not seem to load the XML file. Obviously, if my tracing instructions don't work, my second class appeal will not (and does not) work.
Maybe can you help?
Try:
var xnNode:XMLNode = this.firstChild;
-
Error when loading an XML document using a structured application
Hello
I try to load an XML document using a structured application defined in the default structapps.fm
My code is shown, extracted from the sample code API FDK.
Problem, I still got the same message:
"Cannot find the file named e:\xml\AdobeFrameMaker10\file. Make sure that the file exists. "
Where "e:\xml\AdobeFrameMaker10\" is my installation directory.
So I guess that govern trying to find the structapps.fm file but can't find it.
What else can we?
Does anyone known how elements achieve this simple task using extendScript?
Thanks for all comments, Pierre
function openXMLFile (myLastFile) {}
var filename = myLastFile.openDlg ("XML file choose...", "*.xml", false);
If (filename! = null) {}
/ * Default Get open the properties. Back so it can not be affected. */
var params = GetOpenDefaultParams();
/ * Set properties to open an XML document * /.
/ * Specify XML as the type of file to open * /.
var i = GetPropIndex (params, Constants.FS_OpenAsType)
params [i].propVal.ival = Constants.FV_TYPE_XML;
/ * Specify the XML application to use when opening the text.
I have = GetPropIndex (params, Constants.FS_StructuredOpenApplication)
params [i].propVal.sval = "myApp";
I have = GetPropIndex (params, Constants.FS_FileIsOldVersion)
params [i].propVal.ival = Constants.FV_DoOK
I have = GetPropIndex (params, Constants.FS_FontNotFoundInDoc)
params [i].propVal.ival = Constants.FV_DoOK
I have = GetPropIndex (params, Constants.FS_FileIsInUse)
params [i].propVal.ival = Constants.FV_DoCancel
I have = GetPropIndex (params, Constants.FS_AlertUserAboutFailure)
params [i].propVal.ival = Constants.FV_DoCancel
/ * The file structapps.fm that contains the specified app must have
already been read. The default structapps.fm file is read when FrameMaker is
open so this shouldn't be a problem if the application to use is
listed in the structapps.fm fichier.*.
var retParm = new PropVals()
var fileObj = Open (filename, params, retParm);
return fileObj
} else {}
Returns a null value.
}
}
Stone,
According to the "myLastFile" object, the method openDlg may not yet exist (if the myLastFile object is not an object file, for example). And I do not see the myLastFile be necessary anyway, you present a dialog box to select a file to open. I recommend to use the global method of ChooseFile () instead. This will give you a file name as string in the notation of full path, or null if no file has been selected in the dialog box. I'm not sure of what your States of the return value for ChooseFile ExtendScript documentation, but if that differs from what I tell you here, won't the documentation. For example, if you change the first lines of your code by the following it should work:
function () {} openXMLFile
var filename = ChooseFile ('choose XML file... ("," ","*.xml", Constants.FV_ChooseSelect);
While writing this, I see that Russ already gave you the same advice. Use the value of symbolic constant, I stated to use the ChooseFile dialog box to select a single file (it can also be used to select a directory or open a file - but you want control you the logon process). Note that this method allows you to define a directory for the dialog (second parameter). The ESTK autocompletion also gives you a fifth parameter "helplink" who is undocumented and may be ignored.
Good luck
Jang
-
Problem with load LOV value reset
12.1.3 ADF
I am facing a problem with load LOV set to reset.
I have a page in waterfall surrounded by af LOV: PanelFormLayout. Also do some validation on the data entered by the user when clicked on submit. If the validation fails, an alert will appear on the validation failed and user will stay on the same page.
Values LOV child get back their null or empty when you click on the "submit" button. It works as expected when the validation failed and the user has navigated to the next page. But if validation fails, the user stays on the same page and child LOV connection reset to NULL or emptyvalue. For this reason, NPE error occurs when the user attempts submit again and have to select again the child value LOV.
Is it possible to keep the child LOV value even after submitting a form?
Page code:
< af:panelBox text = "Product Details" id = "pb4" >
< af:panelFormLayout id = labelWidth "180px" = "pfl4" >
< af:selectOneChoice value = "#{bindings." ProdType.inputValue}.
label = "#{bindings." Required to ProdType.label'} = 'true '.
requiredMessageDetail = "product Type cannot be NULL. Please select a value.
shortDesc = "Select the Type of product" id = "soc1' autoSubmit = 'true '.
showRequired = "true" contentStyle = "width: 150.0px".
Binding = "#{viewScope.provBean.prodType} '"
valueChangeListener = "#{viewScope.provBean.prodTypeVCL}" >
< f: selectItems value = "#{bindings." ProdType.items}"id ="si1"/ >
< f: validator binding = "#{bindings." ProdType.validator} "/ >"
"< af:target execute="@this "make ="soc2"/ >
< / af:selectOneChoice >
< af:selectOneChoice value = "#{bindings." ProdVer.inputValue}.
label = "#{bindings." Required to ProdVer.label'} = 'true '.
requiredMessageDetail = 'Product Version cannot be NULL. Please select a value.
shortDesc = 'Select Product Version' id = 'soc2 '.
Disabled = ' #{bindings. " ProdVer.inputValue == null} ".
contentStyle = "width: 150.0px" showRequired = "true".
Binding = "#{viewScope.provBean.prodVer}" >
< f: selectItems value = "#{bindings." ProdVer.items}"id ="si2"/ >
< f: validator binding = "#{bindings." ProdVer.validator} "/ >"
< / af:selectOneChoice >
< / af:panelFormLayout >
< / af:panelBox >
Timo thanks for your response.
Child LOV I created is an attribute of transient and resolved the problem by setting the property of passivation to true.
-
Problem with Android config.xml
Hi all
I work with a team, and we are more familiar with versions of iOS.
We have created this file config.xml for the Android build, however, when we try to download and test it on devices, it crashes after opening.
I guess the config.xml document can contain errors, the cause.
You could review the config.xml for Android below and provide your thoughts or even a basic config.xml we could use?
<? XML version = "1.0" encoding = "UTF-8"? >
< widget xmlns = " " http://www.w3.org/ns/widgets "
xmlns:gap = " " http://PhoneGap.com/ns/1.0 "
xmlns:android = " " http://schemas.Android.com/APK/RES/Android " " "
ID = "com.company.appname".
versionCode = "20".
version = "2.0.0" >
< name > APPNAME < / name >
< description > Description Here. < / description >
" < author href = ' http://www.company.com "email =" [email protected] "> AuthorName < / author > " "
< name of option = "phonegap-version" value = "cli - 6.3.0" / >
< name of option = value "android-build-tool" = "gradle" / >
< name of option = "orientation" value = "default" / >
< name of option = "full screen" value = "false" / >
< name of option = "target device" value = "combined" / >
< name of option = "webviewbounce" value = "false" / >
< name of option = "rentals-icon" value = "false" / >
< = "stay webview" option name value = "false" / >
< name of option = "detect types of data" value = "true" / >
< = 'exit suspend' option name value = "false" / >
< name of option = "show-splash-screen-spinner" value = "false" / >
< = "auto hide splash screen" option name value = "false" / >
< name of option = "FadeSplashScreen" value = "true" / >
< name of option = "EnableViewportScale" value = "true" / >
< name of option = "MediaPlaybackRequiresUserAction" value = "false" / >
< name of option = "AllowInlineMediaPlayback" value = "true" / >
< name of option = "BackupWebStorage" value = "none" / >
< name of option = "TopActivityIndicator" value = "white" / >
< name of option = "KeyboardDisplayRequiresUserAction" value = "false" / >
< name of option = "KeyboardShrinksView" value = "true" / >
< name of option = "HideKeyboardFormAccessoryBar" value = "false" / >
< name of option = "SuppressesIncrementalRendering" value = "false" / >
< = 'windows-identity-name' option name value = "" / > "
< name of option = "android-minSdkVersion" value = "0" / >
< name of option = "android-targetSdkVersion" value = "14" / >
< name of option = "android-maxSdkVersion" value = "16" / >
< = "android-installLocation' value = 'auto' option name / >
< name of option = "SplashScreenDelay" value = "1000" / >
< name of option = "ErrorUrl" value = "null" / >
< name of option = "BackgroundColor" value = "0x000000" / >
< name of option = "DisallowOverscroll" value = "true" / >
< name of option = "LoadingDialog" value = "," / >
< name of option = "LoadUrlTimeoutValue" value = "null" / >
< name of the plugin = "cordova-plugin-inappbrowser" / >
" < allow intention href = ' http://*/* " />
" < allow intention href = ' https://*/* " />
< allow intention href = "" Tel: * "/ >"
< allow intention href = "" sms: * "/ >"
< platform name = "android" >
< / platform >
< src = "icon.png icon" / > "
<! - to PhoneGap android splash screens - >
< platform name = "android" >
< splash src = "androidl.png" density = "ldpi" / > "
< splash src = "androidm.png" density = "mdpi" / > "
< splash src = "anroidh.png" density = "hdpi" / > "
< splash src = "androidx.png" density = "xhdpi" / > "
< / platform >
< / widget >
Thank you very much for your help!
1. replace this value = 15:
2. change it to a value between 15 and 24:
3. change it to a value > = 16 and > = targetSdkVersion
4. This combination is foolish, as yu say: "do not automatically hide my splash, and after 1 second. :
5. your white list rules do not work, because you are missing the plugin whitelist.
Add
6. you can add projections for xxhdpi and xxxhdpi.
How your app "crash"? Do you get any error messages? External content is not loaded?
-
Having a problem with loading in the combustion chamber
Hello
I'm having a small problem I could use help with. I'm not really sure what's going on, but I'm having a problem with one of the pages of my site does not when you try to view the page in Firefox. But if I loaded this page in Safari or Chrome, it loads very well.
Here is the URL of the page to take a look:
Specific link removed by moderator display ~ J99 < sitename >.com/top-10/top...services/No idea why this might be happening or how to fix it? I don't know if it's just my computer, or if others have the same problem.
Thanks in advance,
Mike
There's two of us have confirmed the page will load so I deleted the link to display as it could be construed as advertising.
P.S. Note only forum content in the resolved threads is now indexed by search engines.
(Last updated: February 14, 2015 08:45 CEST)
Solved the locked thread now ~ J99
-
Printing problems with XP and Lexmark-documents are just stuck in the print queue
Original title: printing problems with XP and Lexmark
Until yesterday, I was able to print OK using Windows XP and a Lexmark Printer series 3500-4500 with wireless capabilities. Reported network test wireless (on printer) and report indicates that there are no reported problem, also did the diagnostic test and which shows no problem either. I can't print and documents are just stuck in the print queue - please can someone help, it drives me crazy because it's probably a very simple solution.
I guess you do not have all of the error messages.
It is possible that comes to mind that your printer has received a new IP address of your router (this could easily happen if you have several computers and other devices that connect to your wireless network).
Find the IP address of the printer of his network diagnostic page.
Click Start > printers and faxes, right-click the printer and select Properties
Select the Ports tab, then click on the button "Configure Port" (be careful NOT to click anywhere in the list of ports)
Make sure that the IP address in 'Port settings' is identical to that shown on the diagnosis of your network printer page.To avoid this problem in the future, you must configure the printer to have a static IP address. See your printer User Guide for instructions.
Choose an appropriate subnet address (i.e., has the first 3 groups of numbers the same as the other addresses in your network) but who is not in the range of addresses assigned by the DHCP server on your router. See the User Guide of your router for more details.
-
LaserJet Pro M426fdw: Problems with printing of pdf documents
Whenever I try to print PDFs in duplex (although occasionally same problem print one page) the first page does not print and on the pages that follow, most of the lines are blackened the right edge in towards the middle of the page. I didn't notice the problem with documents in other formats, but I always have problems with pdf files, and I have no problem, print the pdf to my other printers.
Do other normal Duplexes of programs (word, etc.)?
If so, it sounds Adobe specific, otherwise I would reinstall the printer driver.
-
I discovered a bug in my Windows 7 (64-bit) that causes security errors in my system. I honestly do not know or understand how these mistakes happened. For example, my system lists the group "power users ^ 0' and 'Power users' (the latter should of course)." I have never tested with the accounts system, not to mention the well known windows accounts.
Even when I try to delete the group "power users ^ 0' the system replied that he could not remove a well-known group." This isn't a well-known group. The Group initially appeared in 'users and groups' within the 'computer management '. I made a few changes to the security in the registry settings to try to fix my system, but the group no longer appears in "computer Management\Users and groups." It appears when I look at the 'properties' for a user and select ' Add/search' when I try to add a group to the user. »
Regarding Adobe Flash, it does not when I am connected with a normal user account. It does not load when I log in as an administrator (on the same machine). So I suspect there is a security problem in the registry which prevents Adobe Flash to load for a regular user. What me stem, is that when I go there and install Adobe Flash for a normal user (Yes, he invites me to run the installation as long as the administrator - date which I enter the password to continue the installation, which runs without error reported). The installation of Adobe Flash completed successfully for the user as an Explorer window showing the installation of Adobe Flash successfully, I proceed to access any site that requires Adobe Flash to be installed on the client computer and the site if poster correctly - flash loads fine. Now, if log out me of the account of user and re - login under the same user on this computer, even when the user has just installed Adobe Flash, it loads is no longer! When I navigate to a site that requires Adobe Flash, it generates an error indicating that Adobe Flash must be installed! Curiously, when I connect as administrator, Adobe Flash loads very well! For me, Windows 7 displays security system errors / makes me crazy. I would be grateful if I get assistance for this problem. All system errors have focused on SIDS invalid, invalid years system well-known accounts created by Windows 7. In the meantime, I connect as administrator because he never complains you need to install Adobe Flash.
Help, please!Thank you
E-mail address is removed from the privacy *... comI decided to do a clean reinstall of my computer Windows 7 (64 bit)... Nevertheless, I think that I think I know when the error with the "Power User ^ 0' saw the light of day..." When I was rebuilding my machine with a fresh install of Windows 7 (with a full format my system drive), I noticed that when I renamed my machine (as everyone would expect to see), I inspected the "users and groups" in "Computer management" and low and has appeared the "power users ^ 0' group." I believe that this has happened during the time where I've renamed my machine. I have never messed with the creation of groups or something of the sort. I am amazed that such a simple task would result in such a mistake. As for my problem with impossible to load Adobe Flash, that the error has been removed, but I don't see how it existed in the first place. I do not understand why Microsoft publishes several buggy instead of solidification Windows 7 systems.
Thank you for your help,
~ sreyes27
-
Problem with dynamic arrays, XML and JavaScript patterns
With the applied XML schema my JavaScript does not correctly work when it is added a 2nd row at my dynamic table. Instead of an added empty line 1st row data is copied on the 2nd line and if you change the data in the 2nd row it modifies data in the 1st row also. It works fine if the XML schema data connection is well removed.
No idea what I can do to get this working with the schema that is applied in the same way, it works without the schema?
Thanks for your help,
Brian
There you go. Its not a problem.
-
huge problem with loading text fromXML
Hi, I have spent hours trying to load text from XML, which is already responsible for thumbnails and FLV.
I have a function that loads the xml file and then call for the FLV file from an onclick which requires the event.currentTarget.name
Which works very well.
Now I need to have a text in a text box, but I can only fill it with. currentTarget.name because all the other values are like... uh... lost?
Here is the code:
Acciones.transitions import. *;
import of gs. TweenLite;
import fl.motion.easing. *.
var playeron = 0;
var urlRequest:URLRequest = new URLRequest ("pics.xml");
var urlLoader:URLLoader = new URLLoader();
var xml;
var xmlList:XMLList; urlLoader.load (urlRequest);
urlLoader.addEventListener (Event.COMPLETE, urlLoaded);
var arrayThumb:Array = new Array();
var arrayName:Array = new Array();
var arrayTitulo:Array = new Array();
var photoContainer: Sprite = new Sprite();
addChild (photoContainer);
photoContainer.mask = thumb_holder;
IT'S THE TEXT BOX WHERE THE TITLE SHOULD APPEAR
var cartel: TextField = new TextField;
cartel.x = 5;
cartel.y = 5;
cartel. Width = 110;
cartel.autoSize = TextFieldAutoSize.LEFT;
cartel. Selectable = false;
addChild (cartel);
var i: Number;
function showXML(e:Event):void {}
var imagenes:XML = new XML (e.target.data);
}
function urlLoaded(event:Event):void {}
XML = XML (event.target.data);
xmlList = xml.children ();
trace (xmlList.length ());
for (i = 0; i < xmlList.length (); i ++) {}
thumb: thumbnail of the var = new Thumbnail (xmlList .url);
var picName:String = xmlList.big_url;
var titulo:String is xmlList .titulo;.
var picTitle: String = String (xmlList.attribute ('name'));
arrayName.push (picName);
arrayThumb.push (thumb);
arrayTitulo.push (picTitle);
arrayThumb there = 67.5;
arrayThumb.x = i * 186 + 90;
arrayThumb .addEventListener (MouseEvent.CLICK, onClick);
arrayThumb.name = arrayName ;
photoContainer.addChild (thumb);
It's the OnClick where I want to call the correspondent of TITLE I put in a table, a couple of lines before / / this. (arrayTitulo)
I no longer get the entire table, an undefined value, or nothing. quite simply, it does not recognize what I'm doing. (who is clicking on this particular button)
function onClick(event:MouseEvent):void {}
cartel. Text = event.currentTarget.name;
TweenLite.to (menutotal, 0.75, {x: 18, y:-139});})
thumb_holder.x = - 1000;
fondothumbs.x = - 1000;
handler.x =-1000;
Track.x =-1000;
TweenLite.to(cerrarvideo,1,{x:611,y:60,alpha:1});)
Fl.video import. *;
TweenLite.to(cinepressplayer,1,{x:330,y:150});)
CPL.source = event.currentTarget.name;
Cpl.Play ();
funcion close button
cerrarvideo.addEventListener (MouseEvent.CLICK, onClick2);
function onClick2(event:MouseEvent):void {}
CPL.pause ();
TweenLite.to(cerrarvideo,0.50,{x:-200,y:-200,alpha:0});)
TweenLite.to(cpl,1,{x:-390,y:105});)
TweenLite.to (menutotal, 0.75, {x: 18, y:56});})
thumb_holder.x = 20;
fondothumbs.x = 20;
handler.x = 20;
Track.x = 20;
}
}
}
-handles the Click event we added thumbnails.
}
var minScroll:Number = 0;
var maxScroll:Number = track.width - handler.width;
var shuffling: Boolean = false;
limits: var = new Rectangle Rectangle(handler.x,handler.y,maxScroll,0);
handler.buttonMode = true;
handler.addEventListener (MouseEvent.MOUSE_DOWN, beginDrag);
function beginDrag(event:MouseEvent):void {}
handler.startDrag (false, bounds);
dragging = true;
handler.addEventListener (Event.ENTER_FRAME, checkingProgress);
stage.addEventListener (MouseEvent.MOUSE_UP, endDrag);
}
function endDrag(event:MouseEvent):void {}
handler.stopDrag ();
dragging = false;
}
function checkingProgress(event:Event):void {}
this var: number = handler.x/maxScroll.
If (dragging) {}
Tweener.addTween (photoContainer, {x: (-this *(photoContainer.width-thumb_holder.width)-6), duration: 1});
}
}
ThisI forgot to mark it as resolved.
-
Problem with XMLSerialize / indented XML
My problem is that my XML output is only a line like:
<? XML version = "1.0" encoding = "ISO-8859-15? > < rss version = "2.0" > < channel > < title > Test < / title > < / channel > < / rss >
IAM want to export xml like this:
<? XML version = "1.0" encoding = "ISO-8859-15? >
< rss version = "2.0" >
.. < String >
... < title > Test < /title >
.. < / channel >
< / rss >
I heard from xmlserialize that should be used like this:
Select xmlserialize (DOCUMENT xmltype (' <? xml version = "1.0" encoding = "ISO-8859-15"? > < rss version = "2.0" > < channel > < title > Test < /titre > < / channel > < / rss > ')) twice;
but its no change in my outings.
Can someone help me?
Published by: Oliver L the 07.11.2008 14:15You are interested in the concept called "pretty printing".
http://download.Oracle.com/docs/CD/B19306_01/AppDev.102/b14259/xdb04cre.htm#sthref469If you're on 11, you can use one of the examples posted by mdrake to Re: generation of XML using XMLGEN
The concept of printing enough has been discussed in this forum before and I think that the SQL and PL/SQL forum as well.
select xmltype('
').extract('*') from dualTest The question to ask is "do you really need to? Compliant systems do not care if the XML of entry is a string unique or nice print.
-
having problems with the trash icon - documents are not deleted when deleting
original title: problems with the trash icon
I DELETED THE ICON TO THE TRASH BY ACCESS WHEN I PUT NOW THE TRASH DOESN'T DESSAPEAR WHEN ITS EMPTY
Hello
How to restore the Recycle Bin on the desktop under Vista
http://www.Vistax64.com/tutorials/168608-Recycle-Bin-restore.htmlHope this helps
-
Problems with db/task.xml
Hello
When saving a custom scheduled task, I used weblogic utility to import and export the task.xml at MDS file.
At first, I exported the file/db/task.xml task.xml, up-to-date with my tasks details custom set. And then imported it back to MDS by using the weblogicImportMetadata utility.
Updated the weblogic.properties file to change the to and from places too.
The import was successful. To check the file, I exported the file again and found that the file was in the State it had before the update.
Also, when I checked in MDS_PATHS there are several copies of/db/task.xml.
What I'm missing here? How can I make sure that the file is properly updated.
Thank you
Stone
Published by: stone on November 23, 2012 10:021. how the task.xml file is related to plugin.zip
Scheculded task xml a tag called "
oracle.iam.scheduler.TestScheduler " that defines the java class name. Now, plugin.xml also have thetag ' that define the java class is how the task.xml file to locate class java via plugin.zip. 2. If we create files with different names, how IOM identifies what file * task.xml refer?
IOM identify automatically. Only thing to consider is that the name of the file must be the same as the name of the scheduled task, with the extension .xml. You must import the scheduled task in the Oracle Identity Manager MDS/DB schema namespace.
So, always create a custom file to a custom scheduled task. It will be easy to maintain & manage.
For detailed steps, find the links above
-
Need help with loading the XML file
Hello
I spent reviewing 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 easily enough, but I think I'm missing something when I want to do the same thing in Flex.
Basically, I want to load an XML file and then set the values of the text of labels 5, equal to the data in the XML file.
So I have a button created in MXML and have put the following click event:
Click = "dsSetup (Event)" "
I also stated the following:
public var myRequest:URLRequest = new URLRequest ("assets/myFile.xml"); folder located under the CBC 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 that this line is no longer as I put it in the MXML
myLoader.load (myRequest);
It's the way I did in Flash and it worked fine, but I must be missing something when it comes to Flex.
Can you explain or point me to a good tutorial that shows how to load XML in Flex code?
Those I've found seems to have about 50 lines of code just to load a file and add through a complex for a beginner.
Thank you very much
I suggest you save the data loaded in a variable that can be linked, then bind the properties of the text - who:
[Bindable]
var myXML:XML;
public void dsSetup(event:MouseEvent):void
{
myXML = new XML (myLoader.data);currentState = "MainMenu";
}...
Maybe you are looking for
-
Smart playlist to group all covers of songs all the
-
Noice from the fan on the Satellite A100-994
HelloI recently bought an A100-994, which has a Core 2 Duo T7200 (2.GHz) processor. I noticed that the fan is always on at low speed at least that I put it out at very low outdoor temperatures when it stops. But normally inside it is still running. I
-
Pavilion FX285AV dvd5: Hp Pavilion dv5 FX285AV does not recognize the DVD in the drive
My cd/dvd RW drive + will recognize and play CDs of music in Windows Media Player, it will recognize the DVD as if a cd of music but will not play and has the error message that there is not enough memory. In HP Media Smart DVD it opens and turns and
-
Hi, I have developed a sequence of TS4.2.1 Test on my development PC. Now, I have to deploy on the client machine. The target computer has only the TS runtime installed, but it has all the software package already installed (llb, screws, ini, dll fil
-
BlackBerry Smartphones SMS - how to show time SENT on incoming messages
When I receive SMS, it shows the date / time that I GOT from her, but NOT the time that someone SENT me. Is there a way to prove this? When I turn on my phone in the morning, or have been out a signal & come it into range (often where I live), I can'