XML + Papervision = Frustration

What should I do to get this "ERROR 1009" go away?

[quote]
TypeError: Error #1009: cannot access a property or method of a null object reference.
to org.papervision3d.render:
[/ quote]

I've read various websites and this problem creeps for many by using papervision people but I have not really found a solid solution. I think it's more fundamental than papervision and it is why I post here. I think it has to do with the order in which things are firing off. Maybe the onEnterFrame method is triggered before the XML has been read. BUT I tried to hold my script in a way that would avoid such a situation and that's what is frustrating. Any idea that you may have in what I'm doing wrong would be appreciated.

Basically, I'm trying to write a simple script that will allow me to read a XML file that contains the nodes that describe patterns and primitive forms that I want to make in the flash animation.

Here is an extract from the XML file that I'm loading:

[code]
<? XML version = "1.0" encoding = "utf-8"? >
< scenes >
< scene >
< window width = "820" height = "440" scaleToStage = "false" interactive = "true" / >
< model >
< model id = "base" castShadows = "true" type = "flat" >
< dimensions l = "600" h = "600" / >
< material type = "BitmapFileMaterial" >
materials / base.png < path > < / path >
< / equipment >
< x position y = "0" = "0" z = "0" / >
< rotating '0' = XY = "0" z = "0" / >
< scale > 1 < / scale >
< segments w = '3' h = "3" / >
< / template >
< / models >
< / scene >
< / scenes >
[/ code]

So in this XML snippet I have only one scene, and only one, but I plan on adding more once I get this script running breath.

My whole project can be downloaded here. I've also attached the code. I also note that I use to compile Flash and Flex for the code project.

Thank you.

Well...

I think I knew my problem.

1 tip Amy helped me to remove and check the existence of my 3d objects before calling the render method using a few simple Boolean flags. (Thank you Amy)

2 comments to LuigiL lead me in the right direction regarding the XML code. I went in another project that I had created and noticed that I had an XML node root of all packaging. And so I decided to pack my new XML document in another layer and for some reason I things to a correct level of talk now.

Thus, I am able to generate a simple 3D plan by using Papervision, AS3 + XML. I have a long way to go, but I'll post my code here for anyone who wants to learn from him. You can also download here. Thank you.

XML:










Materials / base.png









Code:

package {}
//- LIBRARIES ----------------------------------------------------------------------------------------- ----
import flash.display.Sprite;
import flash.events.Event;
import flash.net.URLLoader;
import flash.net.URLRequest;

Import org.papervision3d.cameras.Camera3D;
Import org.papervision3d.materials.BitmapFileMaterial;
Import org.papervision3d.materials.ColorMaterial;
Import org.papervision3d.objects.primitives.Plane;
Import org.papervision3d.render.BasicRenderEngine;
Import org.papervision3d.scenes.Scene3D;
Import org.papervision3d.view.Viewport3D;

public class pluhome extends Sprite
{
-VARIABLES PRIVATE & PROTECTED-

XML
private var xml;

Papervision
private var viewport:Viewport3D;
private var scene: Scene3D = new Scene3D();
private var camera: Camera3D = new Camera3D();
private var renderer: BasicRenderEngine = new BasicRenderEngine();

Variables space (so that the import scripts get included)
private var placeholderBitmapFileMaterial:BitmapFileMaterial = new BitmapFileMaterial("materials/placeholder.png");
private var placeholderColorMaterial:ColorMaterial = new ColorMaterial (0xFFCC00);
private var placeholderMovieAssetMaterial:MovieAssetMaterial = new MovieAssetMaterial ("materials / placeholder.swf", false);

Flags
private var flagInit3d:Boolean = false;
private var flagInitModels:Boolean = false;

-VARIABLES PUBLIC & INTERNS-

//- CONSTRUCTOR ----------------------------------------------------------------------------------------- --

public void pluhome()
{
initXML();
}
-METHODS PRIVATE & PROTECTED-

private function initXML (): void
{
The XML configuration path
var xmlDefault:String = "papervision.xml";
var xmlPath:String = this.loaderInfo.parameters.xmlpath;

If (xmlPath! = null)
{
xmlDefault = xmlPath;
}

Load the XML, call event
var loader: URLLoader = new URLLoader (new URLRequest (xmlDefault));
loader.addEventListener (Event.COMPLETE, onXMLLoaded);
}

private function init3d (): void
{
trace ("done within the init3d");

for each var property: XML (in xml.scenes.scene)
{

Configuration window
Viewport = new Viewport3D (property.viewport.attribute ("width")
property.viewport.attribute ("height")
property.viewport.attribute ("scaleToStage")
", property.viewport.attribute ("interactive"));
Add to the sequence
addChild (viewport);

Configuration models
initModels (property);
}

Flag - check acceded to this init3d
flagInit3d = true;

addEventListener (Event.ENTER_FRAME, onEnterFrame);
}

private void initModels(property:XML):void
{
trace ("done within the initModels");

for each var model: XML (in property.models.model)
{
var type: String = model.attribute ("type");

Switch (type)
{
case "airplane":
modelBuildPlane (model);
break;
by default:
Do nothing
;
}
}

Flag - check that agreed to this initModels
flagInitModels = true;
}

private void modelBuildPlane(model:XML):void
{
trace ("done within the modelBuildPlane");

Type of material
var type: String = model.material.attribute ("type");

Material
material var;

Switch (type)
{
case "BitmapFileMaterial":
var bitmapMaterial:BitmapFileMaterial = new BitmapFileMaterial (model.material.path);
bitmapMaterial.doubleSided = true;
material = bitmapMaterial;
break;
case "ColorMaterial:
var colorMaterial:ColorMaterial = new ColorMaterial (model.material.color);
colorMaterial.doubleSided = true;
material = colorMaterial;
break;
case "MovieAssetMaterial:
break;
case "WireframeMaterial":
break;
by default:
Color material
break;
}

trace (Material);

Create the plan
plan: var map = new plane (material
model.dimensions.attribute ("width")
model.dimensions.attribute ("height")
model.segments.attribute ("w")
", model.segments.attribute ("h"));

Plan of situation
plane.x = model.position.attribute ("x");
plane.y = model.position.attribute("y");
plane.z = model.position.attribute ("x");

Rotate the plan
plane.rotationX = model.rotation.attribute ("x");
plane.rotationY = model.rotation.attribute("y");
plane.rotationZ = model.rotation.attribute ("z");

Terms of scale
plane.scaleX = model.scale.attribute ("x");
plane.scaleY = model.scale.attribute("y");
plane.scaleZ = model.scale.attribute ("z");

If (type is "BitmapFileMaterial")
{
Add stage plan
scene.addChild (plane);
}
on the other
{
Add stage plan
scene.addChild (plane);
}

}

//- PUBLIC & INTERNAL METHODS -----------------------------------------------------------------------------

//- EVENT HANDLERS ----------------------------------------------------------------------------------------

public void onXMLLoaded (e: Event): void
{
Assign the XML data to a variable
XML = new XML (e.target.data);

Initialize the 3d
If (xml! = null)
{
init3d();
}
}

public function onEnterFrame (e: Event): void
{
If (flagInit3d == true & flagInitModels == true)
{
renderer.renderScene (scene, camera, viewport);
}
}

-GETTERS & SETTERS VARIABLES-

//- HELPERS ----------------------------------------------------------------------------------------- ------

//- END CLASS ----------------------------------------------------------------------------------------- ----
}
}

Tags: Flex

Similar Questions

  • My games will [some] pogo not download what is very frustrating please help I do not understand why my question will not go through

    Some games do not download its very frustrating when games do not download always appears as an error

    Hi Wilma Peters,.

    ·        What is the exact error that you receive when you try to download the game?

    ·        What browser do you use to play games on Pogo.com?

    I suggest you try the troubleshooting steps on Java for Pogo Support site:

    http://www.Java.com/en/download/help/Pogo.XML?OS=Vista&JRE=6.0

    If you use Internet Explorer as your browser, then try IE optimization by the link provided, follow step 2 and step 4:

    http://Windows.Microsoft.com/en-us/Windows/help/Internet-Explorer/slow-five-tips-to-boost-performance

    Alternatively, you can contact pogo support for more help and information.

    I hope this helps.

    Kind regards

    Sandeep

    Microsoft Answers Support Engineer

  • The file of the bar - descriptor.xml (and make the application of command line)

    I made a game with air and it is online for sale on Android and iOS. It is somewhat popular and I thought to put up on Blackberry for quite awhile now and with the Port of soon-to-start-A-Thon, this seems to be a great time to finally make it.

    BlackBerry is not very common that here where I live in Sweden, however it still looks like an interesting with a potential platform if I want to get the trip. Unfortunately I don't own a camera myself so I'll use the Simulator. With some graphic problems with the simulator when running in mode BB10DevAlpha (icons does not appear right) and the Simulator is very slow when running in mode BB10DevAlphaSafe (chart appears on the right, but it seems that updating them requires more CPU my computer are available).

    The game is built using nothing other than Adobe Flash Professional CS6 and a bunch of command line tools to build the package and sign. I've only got an old computer with Windows XP now since the death of my main PC, all at the time and since the Port-A-Thon is just a few days I do with what I got.

    Firstly I understand that only AIR 3.1 is supported by Blackberry 10, so I use the old AIR SDK 3.1 to create a SWF (flash) file.

    What I really need to do should be used in the exported SWF file of the game, then use the command line tools provided by RIM to build the package, right?

    Except that I did not count on bar - descriptor.xml to be so difficult to understand.

    I was brought to the documentation here: https://developer.blackberry.com/air/documentation/bb10/bar-descriptor_config_file.html

    It says Adobe AIR at the top, the platform selected is Blackberry 10 and the title says "bar-descriptor configuration file", so it must be in the right place!

    I start by trying the 'bar-descriptor configuration example file"on this page:

    ===========================================================



      
          None
          fake
      

     
      
       Name of the author
     
      
       gXXXxXXx ##XxXxXxxxXxXX #xxx
     
      
       Core.Games
     
      
       Icon.PNG
     
      
       HelloWorld - splash.png
     
      
       read_geolocation
       use_camera
     
      
       1

    ===========================================================

    Of course during the test I replaced a few things in the example above with the correct filenames for images etc, I just copied the example of right - off this time to you guys show what I mean.

    Firstly, I extract "blackberry-tablets-sdk - 3.0.0" in a folder on the disc, then I make sure as a full path to the "bin" in the SDK folder inside the path on the OS environment variable.

    Then I read on "Applications of Test using the command line": https://developer.blackberry.com/air/documentation/bb10/testing_your_application_cmd_ms_2010851_11.h...

    Now I run:

    BlackBerry - airpackager.bat - package installApp - blackberry-myappname - new.bar - launchApp myappname-blackberry-bar - descriptor.xml myappname.swf myappnameicon86.png bg splashscreen1024.png - device 192.168.8.128

    Note that "bg" is a folder with 500 images that must be accessible from the app. I hope that I can just add the folder like this and not type a path to each image file...

    What I get (in lib\adt.jar via the bat file):

    error 101: Namespace is missing
    Error: Validation of the AIR is not

    Okay, so the example did not straight on the box.

    Now, I've read all paragraphs in the first URL I linked above ("the bar-descriptor configuration file"). I start my own XML file and make sure to include everything that is marked as "necessary". That's what I'm left with:

    ===========================================================



        MyCompany
        
            
            com.mydomain.myappname
            My App name
            3.0.0
            
                splashscreen1024.PNG
            

            1.5.0
        

        run_native
        
            application
            
                bb.action.VIEW
                application/octet-stream
            

        

    ===========================================================

    I have no idea of what concerns the block whole call target, but it took, so he must be there.

    Now I launch (notice that myappnameicon86.png is gone since no icon is mentioned in the above XML code, it is not mandatory):

    BlackBerry - airpackager.bat - package installApp - blackberry-myappname - new.bar - launchApp myappname-blackberry-bar - descriptor.xml myappname.swf bg splashscreen1024.png - device 192.168.8.128

    Yet once, I get:

    error 101: Namespace is missing
    Error: Validation of the AIR is not

    Frustrated I get autour on the forums for answers, because the official documentation is nowhere getting me.

    I'm left with this:

    ===========================================================


    http://ns.Adobe.com/air/application/3.1">
        com.mydomain.myappname
        1.5.0
        
        My App name
        
        My App name
        
        
            myappname.swf
            standard
            fake
            true
            true
            landscape
            GPU
            fake
        

        
            myappnameicon36.PNG
            myappnameicon48.PNG
            myappnameicon72.PNG
        

        fake
        fake
        
            qnx.fuse.ui.skins.QNXDevice
            qnx.fuse.ui.skins.QNXNetwork
            qnx.fuse.ui.skins.QNXSensors

            qnx.fuse.ui.skins.QNXSkins
        

    ===========================================================

    Looks like the XML code that I use when I build for Android.

    First of all it doesn't have the tag root of qnx, but also nothing of the icons are of the required size (86 x 86). The tag required splashscreens and invoke target is also absent, to name a few. No idea of what the entire block of 'extensions' really do.

    Surely, this does not work:

    BlackBerry - airpackager.bat - package installApp - blackberry-myappname - new.bar - launchApp myappname-blackberry-bar - descriptor.xml myappname.swf QNXDevice.ane QNXNetwork.ane QNXSensors.ane QNXSkins.ane myappnameicon36.png myappnameicon48.png myappnameicon72.png bg-device 192.168.8.128

    Success in building the package BAR to my infinite surprise!

    He even managed to install on the Simulator. An icon for the game. However when it auto-couru the app went into landscape, thought for a second and then crashed (or you leave?) without a message.

    Perhaps because the required qnx tag was missing in the XML?
    Perhaps because images in the bg file could not be loaded?
    Perhaps because he had no permission to keep screen from dimming?

    I have no idea. I tried to add XML to qnx at the address previous to the bar - descriptor.xml, I thought that maybe he needed both the qnx block for when you run the application and the application block for when packaging. But now, he has complained of something like XML is not not clean ("' fatal error: markup in the document following the root element must be well-formed." ").

    So he came to it, I have to ask for help if I ever make the deadline of the Port-A-Thon.

    (1) how am I supposed to write the bar - descriptor.xml?
    (2) what command line starting by "blackberry - airpackager.bat" is OK to use?
    (3) all I have to do is build the SWF using Adobe Flash Professional CS6 and then pack it using the Blackberry SDK, right?

    First of all, there are two xml files that you need.

    One is called the manifesto, is to AIR and is called yourappname- app.xml. It is identical to the ones you use for Android and IOS, though some elements will be ignored. It's one you need to switch on the command line, and is probably causing the 'Namespace' missing error message. A file manifest a minimum is:

    
    http://ns.adobe.com/air/application/3.1">
    
        com.example.appname
        My Fabulous Game
        1.0.0
    
        FileNameOfYourSwfWithoutExtension
        YourCompanyName
        
            [This value will be overwritten by Flash Builder in the output app.xml]
            true
            false
            none
            cpu
            false
        
    
    

    Replace the text in red with your own stuff.

    The second xml file is called to the bar of descriptor. It is for App World and the installation process and is called bar - descriptor.xml. It contains information about signing code, icon, permissions etc. A simple bar - descriptor.xml is:

    
    
       
          none
          true
          landscape
          false
          cpu
       
    
       
       your-name-on-certificate
       your-id-on-certificate
    
       core.games
    
       
       1
    
       
       
          icon86x86.png
       
       splash-landscape.png
    
       
       2.1.0.1314
    
       
       access_shared
       access_internet
       play_audio
       set_audio_volume
    
    

    Make sure that you at least change the red dots.

  • Grandma needs help problem "sysdata.xml.

    I bought a computer about 18 months ago that started unexpectedly quit after 12 months. No error message. I went back to the provider that did not cause after replacing the power supply and move the surge protection. He replaces computer and transfer data via Acronis. Stops kept happening, but now I get the message that Microsoft has deceted a problem and restarts the computer. When I look into the details, I see whenever there is the same message but with different sysdata.xml figures for example WER-96377-0. I sent this to the supplier who ignores me currently. I ran a scan of Malware and a sweep of CCleaner. I tried to find the file, but it is not visible. I googled the file details and see that this is one problem with others. I have no hope of understanding or to fix this problem myself. What I want to know is it something I should continue with the technician who sold me this nightmare? Why this is happening? Is it her fault or mine? I'm really lost here, oh and frustrated too, I could really do with some advice on how to proceed.

    Thanks in advance.

    You are welcome.

    Quite often blue screen errors are caused by a faulty driver. The pilot could be a hardware or software driver.

    Blue screen sometimes errors are caused by defective hardware.

    By looking at the files minidump would give an indication of what (s) or material may have caused the accident.

    If the person tries to solve the problem has a background in troubleshooting blue screen error then there is a good chance that he or she can decide the issue.

    If the problem is software it might follow you for Windows 10 so it's best to try so to resolve this matter before the upgrade.

    Obviously if the problem is hardware problem would be independent of the operating system.

    If you have a new computer the problem would follow you if the problem was software and that you have installed the same software on the new computer.

  • Help help oh - use ruleset.xml for deployment in IP environment companies!

    Background...

    Our technical society with country wide deployment of the devices IP (using IP addresses) that were built and supplied with java interfaces contact. If WE use java to connect to these devices. 1.6.30 far did the job for me with minimum intervention and safety messages, but now we have new devices who need 1.7 up which brings new security features. Too many devices to add to the file "exceptions.list" in my opinion (here specific devices do not allow wildcards). They are all on our corporate 10.0.0.0/8 network.

    My attempts to overcome this far...

    Reading on the net I think it's the work of RSD "Deployment Ruleset.xml" file. Everything is ok. However so far I can't find ANY documentation on the use of wildcards in the file Ruleset.xml, which will allow us to do our job. Java quickly became a millstone around our neck and drowns, me and other technical staff.

    This isn't a question of access to domain name, we just need to be able to access the IP address ranges of these devices with a mixture of old and new java required.

    I'm not a programmer and a simple technical office that has the PC skills (and old). I tried to implement the ruleset.xml and how convoluted to certify the deployment.jar file and make changes in the future leads me to drink!

    So please help me!

    I need good information about the use of wildcard characters "ruleset.xml", especially for the IP address and the IP address ranges. That is to say am I can accommodate the 10.0.0.0/8 IP range? How?  Everything I've tried has not so far.  ID = "10.0.0.0/8" and id = "10.0. *. "*" do not seem to work for me.

    Also the possibility of using specific equipment on specific versions of Java seems possible? There seems to be information on this use.

    I am struggling to get a handle on this "free signature certificate", how it allows Java access to the equipment.

    Also good information on generating the certificate, the key file and jar, (open source = free is the only option) so that the file can be used on many portable computers / office different to allow us to do our work as becomes more frustrating. I'm tearing my hair our stong drink is my best course of action!

    If the wildcard character (for example) id = " " http://10.0. *. * . "can then be one ruleset generation and jar file seems to work for us. All character documents generic Oracle/Sun orients domain names, IE *. somebody.com and nobody says nothing about IP ranges!

    Any third party it Department manages the networking and pC support. However he seems to understand NILL making the existing network works with Java for these devices in an acceptable mansion.

    Thank you

    Karim.

    We use the RuleSet function in our Organization and for the most part, successful.  Two suggestions.  Have you tried a rule where or maybe ?  My understanding is that, using an asterisk is planned for the beginning of a path\location (i.e. *. myserver.mydomain.com).  Then watched perhaps do a hash rather rule?  If these devices 'IP' integrated java applets that are all signed by one or several digital certificates, you can create a hash rule that would trust to any code signed with this signature of any place.

    Version control is possible in most of our files, but both each version must be installed on each PC to make it work.  A potential anomaly is that the ruleset Treaty list rules until it finds a match.  If works something like it will match each device in the environment you describe so in reality, you may have only one rule of 'version '.  According to the relationship between the 'newer' vs 'old' devices you could make the rules that contain the full EPI of the "most recent" devices (if there are less of them) and then have the more generic rule "10.0" last in the list to catch everything.  Hash rules can be useful if you can determine that older devices who need 6u30 are signed with a signature and the more recent who need 7uX are signed with a different signature, then you have 2 (or more if necessary) rules that point to their respective version of hash.

    I suspect that the certificate will be the biggest obstacle for you.  Get publicity 3rd certificate of party which is by default the trust of Java would probably be the easiest path.  We use a certificate of our internal CA of organizations, your company may not have one.  My understanding of self-signed cert will be possible but you will need to distribute the key for all computers in your organization that, because they don't trust the default self-signed certificate.

    For support options, except if you pay for the Enterprise version of the Java client your options probably limited to: hoping that devices 'IP' providers have experience with other customers in the same situation and advice, ask questions here (where questions appear to be more numerous than the responses of 10:1), finally, there is a compensation to the minute 3rd party phone support option on site Oracles (I have no experience with this).

    Useful links (I used because I fell my way through this resource)

    Set of rules of deployment

    https://blogs.Oracle.com/Java-platform-group/entry/introducing_deployment_rule_sets

    https://blogs.Oracle.com/Java-platform-group/entry/self_signed_certificates_for_a

    https://blogs.Oracle.com/Java-platform-group/entry/deployment_rule_set_by_example

    https://wraithhacker.com/Java-deployment-rule-set/

    Create a deployment of signed Java rule together with the Windows Server certification authority. Enterprise Mac

  • View Sony XML Metadata in Premiere Pro CC

    When you import images on the FS5 Sony, some metadata are imported, but not all. It looks like all are not importing the metadata included in the files XML, such as the FPS capture, shutter, ISO, WB, etc. (see screenshot below for more details). All this information is available in the find a catalyst for Sony, but I am not able to use it in Premiere Pro. Main reason I'm asking is for the categorization of the sequences of metadata. Premiere Pro supports XML files metadata, specifically Sony?

    Thank you

    Justin Taylor

    Data in find a catalyst for Sony (from XML)

    Showing only the basic metadata in Premiere Pro:

    Hello Justint,

    I do not, sorry. It's a great feature request, however, and we we have shown already in our feature request database. I added a link to this discussion in this list.

    Please include your own request here so it can be added to the publication of other customers who want something new even. Thank you for the comment and apologize for the frustration.

    Thank you

    Kevin

  • Hi I have a problem of xml with xsd validation and insert into the table...

    I use this function to validate the XML with xsd, but it gives-31000 error related to xdb

    and I also try to recover data from the xml file, but it is fetching nullability of him.

    while I was trying to recover data after removing the tablenamespace, url and other additional field or can tell

    from a simple xml file than it is to get him.

    Please help me with this!

    FUNCTION to CREATE or REPLACE ALI$ XML_VALID (P_xml IN xmltype
    P_xsd IN xmltype)
    RETURN NUMBER
    is


    l_status NUMBER;
    l_xml xmltype.
    l_xsd XMLTYPE.
    l_v_schemaURL VARCHAR2 (256): = "NewBusinessApplication.xsd";
    schema_doesnt_exist exception;
    pragma exception_init (schema_doesnt_exist,-31000);

    BEGIN
    l_xsd: = p_xsd;
    Start
    DBMS_XMLSCHEMA.deleteSchema (l_v_schemaURL, dbms_xmlSchema.DELETE_CASCADE_FORCE);
    exception
    When schema_doesnt_exist then
    null;
    end;

    DBMS_XMLSCHEMA. REGISTERSCHEMA)

    schemaurl = > l_v_schemaURL

    , schemadoc = > l_xsd

    local = > TRUE

    , genTypes = > FALSE

    , genbean = > FALSE

    , genTables = > FALSE

    );
    l_xml: = p_xml;

    If l_xml.isSchemaValid () = 1 then

    dbms_output.put_line ("' scheme is valid");
    l_status: = 1;
    RETURN l_status;
    on the other
    l_xml.schemaValidate ();
    l_status: = 0;
    RETURN l_status;
    end if;
    END;

    -call to above function

    DECLARE

    l_xml xmltype: = xmltype (' <? xml version = "1.0" encoding = "UTF - 8"? >)

    "" < NewBusinessApplication xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance"

    "" xsi: schemaLocation = "http://www.example.org NewBusinessApplication.xsd.

    xmlns ="http://www.example.org" > ".

    < TransactionHeader >

    < TR_REF_NO > 000009812681 < / TR_REF_NO >

    < EFF_DT > 20140703094140.572 [-4:US / Eastern] < / EFF_DT >

    < SRC_SYS_CD dmnSRC_SYSTEM = "TSS" > Support of TV system < / SRC_SYS_CD >

    < / TransactionHeader >

    < ApplicationRq >

    < ApplInfo >

    < APPLNO > A00018L < / APPLNO >

    < MED_NONMED dmnMED_NONMED = "M" > medical < / MED_NONMED >

    < APPL_DT > 20140714 < / APPL_DT >

    < EFF_DT > 20140714 < / EFF_DT >

    < APPL_RECV_DT > 20140714 < / APPL_RECV_DT >

    < / ApplInfo >

    < AgentInfo >

    <! – repeat the nodes below for more than one agent - >

    <>Agent

    < AGT_CD > AGN0000001 < / AGT_CD >

    James < FIRSTNAME > < / NAME >

    < NAME > Whorphin < / LASTNAME >

    BKK1010090009 < AGT-LICNO > < / AGT-LICNO >

    the Warriors < TEAM > < / TEAM >

    Suriya Thapa < TEAMLEADER > < / TEAMLEADER >

    BKK909988999 < TEAMLEADER-LICNO > < / TEAMLEADER LICNO >

    < / agent >

    < / AgentInfo >

    < InsuredInfo >

    < dmnPERS_NAMEPREFIX PREFIX-TH = "XX" > Dr. < / PREFIX-TH >

    XXXXXXX < FIRSTNAME-TH > < / FIRSTNAME-TH >

    XXXXXX < MIDNAME-TH > < / MIDNAME-TH >

    XXXXXX < LASTNAME-TH > < / LASTNAME-TH >

    XXXXXX < FORMERNAME > < / FORMERNAME >

    < PREFIX-dmnPERS_NAMEPREFIX-EN = "XX" > Dr. < / PREFIX-EN >

    YYYYYY < FIRSTNAME-EN > < / FIRSTNAME-EN >

    YYYYYY < MIDNAME-EN > < / MIDNAME-FR >

    YYYYYY < LASTNAME-EN > < / LASTNAME-EN >

    < BIRTH_DT > 19800101 < / BIRTH_DT >

    < 33 YEARS > < / AGE >

    < dmnPERNSEXCD = "XX" SEX > male < / TYPE >

    < DmnPERC_MAR_STAT_CD MARITAL_STATUS = "XX" > single < / MARITAL_STATUS >

    < dmnRACE = "XX" RACE > ZZZ < / RACE >

    < dmnRELIGION RELIGION = "H" > HINDU < / RELIGION >

    < dmnNATIONALITY NATIONALITY = an' TH' > THAI < / NATIONALITY >

    < dmnIDTYPE ID-TYPE = "TI" > Thai National ID < / ID-TYPE >

    > ID < AJMPK0001J < / ID >

    < ID-XPIR_DT > 20200101 < / ID-XPIR_DT >

    < dmnOCCUP_CD OCCUPATION = "XX" / >

    < OCCUP_CLASS dmnOCCUP_CLASS_CD = 'XX' / >

    < ANNUAL_INCOME > 100000 < / ANNUAL_INCOME >

    < HEIGHT > 175 < / HEIGHT >

    < WEIGHT > 80 < / WEIGHT >

    < / InsuredInfo >

    < ProposerInfo >

    < dmnPERS_NAMEPREFIX PREFIX-TH = "XX" > Dr. < / PREFIX-TH >

    XXXXXXX < FIRSTNAME-TH > < / FIRSTNAME-TH >

    XXXXXX < MIDNAME-TH > < / MIDNAME-TH >

    XXXXXX < LASTNAME-TH > < / LASTNAME-TH >

    XXXXXX < FORMERNAME > < / FORMERNAME >

    < PREFIX-dmnPERS_NAMEPREFIX-EN = "XX" > Dr. < / PREFIX-EN >

    YYYYYY < FIRSTNAME-EN > < / FIRSTNAME-EN >

    YYYYYY < MIDNAME-EN > < / MIDNAME-FR >

    YYYYYY < LASTNAME-EN > < / LASTNAME-EN >

    < BIRTH_DT > 19800101 < / BIRTH_DT >

    < 33 YEARS > < / AGE >

    < dmnPERNSEXCD = "XX" SEX > male < / TYPE >

    < DmnPERC_MAR_STAT_CD MARITAL_STATUS = "XX" > single < / MARITAL_STATUS >

    < dmnRACE = "XX" RACE > ZZZ < / RACE >

    < dmnRELIGION RELIGION = "H" > HINDU < / RELIGION >

    < dmnNATIONALITY NATIONALITY = an' TH' > THAI < / NATIONALITY >

    < dmnIDTYPE ID_TYPE = "TI" > Thai National ID < / ID_TYPE >

    AJMPK0001J < ID_NUMBER > < / ID_NUMBER >

    < ID_XPIR_DT > 20200101 < / ID_XPIR_DT >

    < dmnOCCUP_CD OCCUPATION = "XX" / >

    < OCCUP_CLASS dmnOCCUP_CLASS_CD = 'XX' / >

    < ANNUAL_INCOME > 100000 < / ANNUAL_INCOME >

    < / ProposerInfo >

    < ContactInfo >

    < AddressInfo >

    <! – repeat the nodes below for each address type - >

    < address >

    < dmnADDR_ADDRTYPE ADDRTYPE = "01" > home < / ADDRTYPE >

    < PRIMARY_CONTACT > 0 < / PRIMARY_CONTACT >

    < / address >

    < address >

    < dmnADDR_ADDRTYPE ADDRTYPE "02" = > Office < / ADDRTYPE >

    < PRIMARY_CONTACT > 1 < / PRIMARY_CONTACT >

    < / address >

    < / AddressInfo >

    < PhoneInfo >

    <! – repeat the nodes below for each type of phone - >

    < Phone >

    < dmnADRP_PHONETYPE PHONETYPE "01" = > Mobile < / PHONETYPE >

    < PHONENUM > 9887666789 < / PHONENUM >

    < PRIMARY_CONTACT > 1 < / PRIMARY_CONTACT >

    < / Phone >

    < Phone >

    < dmnADRP_PHONETYPE PHONETYPE "02" = > home < / PHONETYPE >

    < PHONENUM > 9887666789 < / PHONENUM >

    < PRIMARY_CONTACT > 0 < / PRIMARY_CONTACT >

    < / Phone >

    < / PhoneInfo >

    < EmailInfo >

    <! – repeat the nodes below for each type of email - >

    < email >

    < EMAILTYPE dmnADRO_EMAILTYPE = "01" > e-mail1 < / EMAILTYPE >

    < EMAILDATA > [email protected] < / EMAILDATA >

    < PRIMARY_CONTACT > 0 < / PRIMARY_CONTACT >

    < / email >

    < email >

    < EMAILTYPE dmnADRO_EMAILTYPE "02" = > Email2 < / EMAILTYPE >

    < EMAILDATA > [email protected] < / EMAILDATA >

    < PRIMARY_CONTACT > 1 < / PRIMARY_CONTACT >

    < / email >

    < / EmailInfo >

    < / ContactInfo >

    < PolicyInfo >

    STG102 < BASE-PLAN_CD > < / BASE-PLAN_CD >

    < BASE-PLAN_NM > Smart term 10 gold < / BASE-PLAN_NM >

    < MODEOFPAYMENT dmnZZFREQUENCY = "M" > monthly < / MODEOFPAYMENT >

    < BASE - ITS > 100000.00 < / BASE - SA >

    < BASE-PREMIUM > 12000.00 < / BASE-PREMIUM >

    < BASE-MODALPREMIUM > 1000.00 < / BASE-MODALPREMIUM >

    < AYFP > 13200.00 < / AYFP >

    < RiderInfo >

    < rider >

    RIDER < CODE > ME < / RIDER-CODE >

    Medical costs < RIDER-NAME > < / RIDER-NAME >

    < RIDER - HIS 20000.00 > < / RIDER - SA >

    < RIDER-PREMIUM > 600.00 < / RIDER-PREMIUM >

    < RIDER-MODALPREMIUM > 50.00 < / RIDER-MODALPREMIUM >

    < / rider >

    < rider >

    RIDER HAB < CODE > < / RIDER-CODE >

    < NAME-RIDER > Admission hospitalization < / RIDER-NAME >

    < RIDER - HIS 20000.00 > < / RIDER - SA >

    < RIDER-PREMIUM > 600.00 < / RIDER-PREMIUM >

    < RIDER-MODALPREMIUM > 50.00 < / RIDER-MODALPREMIUM >

    < / rider >

    < / RiderInfo >

    < / PolicyInfo >

    < PaymentInfo >

    < borde >

    < TMP_RECEIPT_NO > TEMP0001 < / TMP_RECEIPT_NO >

    < TOTAL_PYMT_AMT > 13200.00 < / TOTAL_PYMT_AMT >

    <! – repeat the nodes below for payment through several channels - >

    < payment >

    < dmnPAYRTYPE PAYER "01" = > secured < / PAYER >

    credit card < dmnPaymentType PYMT TYPE = "01" > < / PYMT-TYPE >

    < PYMT-AMT > 13200.00 < / PYMT-AMT >

    < PYMT-Channel >

    credit <>card

    Visa < dmnCardType CARD-TYPE = "01" > < / CARD-TYPE >

    < BADGE - N ° > 9890989098909877 < / CARD-NOT >

    < HOLDERNAME-CARD > RICKY WHORPHIN < / CARD-HOLDERNAME >

    < BANKNM-CARD > Standard Chartered Bank < / MAP-BANKNM >

    < MAP SHOWED > 08/14 < / CARD-SHOW >

    < MAP-AUTHCODE / >

    < CARD-AUTHDATE / >

    < / credit card >

    < / PYMT-Channel >

    < / payment >

    < payment >

    < dmnPAYRTYPE PAYER "01" = > secured < / PAYER >

    < dmnPaymentType PYMT-TYPE = '02' > account < / PYMT-TYPE >

    < PYMT-AMT > 13200.00 < / PYMT-AMT >

    < PYMT-Channel >

    < Bank >

    < BANK CODE / >

    < BANK BRANCH / >

    < BANK-ACCNO / >

    < BANK-ACCNAME / >

    < / Bank >

    < / PYMT-Channel >

    < / payment >

    < payment >

    < dmnPAYRTYPE PAYER "01" = > secured < / PAYER >

    < dmnPaymentType PYMT TYPE = "03" > check < / PYMT-TYPE >

    < PYMT-AMT > 13200.00 < / PYMT-AMT >

    < PYMT-Channel >

    < check >

    < CHQ - n / >

    < CHQ-DATE / >

    < CHQ-ISSUEBANK / >

    < / cheque >

    < / PYMT-Channel >

    < / payment >

    < / shell >

    < RenewalPayment >

    < dmnPAYRTYPE PAYER "01" = > secured < / PAYER >

    < DDCHANNEL dmnPaymentType "01" = > SDC < / DDCHANNEL >

    < DDCDetails >

    Visa < dmnCardType CARD-TYPE = "01" > < / CARD-TYPE >

    < BADGE - N ° > 9890989098909877 < / CARD-NOT >

    < HOLDERNAME-CARD > RICKY WHORPHIN < / CARD-HOLDERNAME >

    < BANKNM-CARD > Standard Chartered Bank < / MAP-BANKNM >

    < MAP SHOWED > 08/14 < / CARD-SHOW >

    < / DDCDetails >

    < DDADetails >

    < dmnBNK_TYP_CD BANK-ACCTYPE = "01" > save < / BANK-ACCTYPE >

    < BANK-ACCNO / >

    < BANK-ACCNAME / >

    < BANK BRANCH / >

    < / DDADetails >

    < / RenewalPayment >

    < / PaymentInfo >

    < BeneficiaryInfo >

    <!--repeat the nodes below for each beneficiary and the sum of the pct should be 100-->

    < recipient >

    Joint < dmnBENE_RELT_CD RELATIONSHIP = "01" > < / RELATIONSHIP >

    XXXX < FIRSTNAME > < / NAME >

    XXXXX < MIDNAME > < / MIDNAME >

    XXXX < NAME > < / LASTNAME >

    < PERCENT > 50 < / PERCENTAGE >

    < BIRTH_DT > 19800101 < / BIRTH_DT >

    < dmnPERNSEXCD SEX = "XX" > female < / TYPE >

    < NATLIDNO > TH000001 < / NATLIDNO >

    < / recipients >

    < recipient >

    < dmnBENE_RELT_CD RELATIONSHIP "02" = > child < / RELATIONSHIP >

    XXXX < FIRSTNAME > < / NAME >

    XXXXX < MIDNAME > < / MIDNAME >

    XXXX < NAME > < / LASTNAME >

    < PERCENT > 50 < / PERCENTAGE >

    < BIRTH_DT > 19800101 < / BIRTH_DT >

    < dmnPERNSEXCD = "XX" SEX > male < / TYPE >

    < NATLIDNO > TH000002 < / NATLIDNO >

    < / recipients >

    < / BeneficiaryInfo >

    < survey >

    < HealthDeclaration >

    < question >

    Q001 < QUESTION_ID > < / QUESTION_ID >

    < dmnZZYESNO_NUM RESPONSE = "N" > n < / ANSWER >

    < / question >

    < question >

    Q002 < QUESTION_ID > < / QUESTION_ID >

    < dmnZZYESNO_NUM RESPONSE = "N" > n < / ANSWER >

    < / question >

    < question >

    Q003 < QUESTION_ID > < / QUESTION_ID >

    < dmnZZYESNO_NUM RESPONSE = "N" > n < / ANSWER >

    < / question >

    < question >

    Q004 < QUESTION_ID > < / QUESTION_ID >

    < dmnZZYESNO_NUM RESPONSE = "N" > n < / ANSWER >

    < / question >

    < question >

    Q005 < QUESTION_ID > < / QUESTION_ID >

    < dmnZZYESNO_NUM RESPONSE = "N" > n < / ANSWER >

    < / question >

    < / HealthDeclaration >

    < / questionnaire >

    < / ApplicationRq >

    < ApplicationRs >

    <-reason for the rejection / >

    < / ApplicationRs >

    < / NewBusinessApplication >

    ');

    l_xsd xmltype: = xmltype (' <? xml version = "1.0" encoding = "windows-1252"? >)

    "< xsd: Schema container ="http://www.w3.org/2001/XMLSchema"xmlns ="http://www.example.org"

    targetNamespace ="http://www.example.org" elementFormDefault = "qualified" > "

    < xsd: element name = "NewBusinessApplication" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "TransactionHeader" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "TR_REF_NO" type = "xsd: Integer" / >

    < xsd: element name = "EFF_DT" type = "xsd: String" / >

    < xsd: element name = "SRC_SYS_CD" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnSRC_SYSTEM" type = "xsd: String" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "ApplicationRq" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "ApplInfo" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "APPLNO" type = "xsd: String" / >

    < xsd: element name = "MED_NONMED" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnMED_NONMED" type = "xsd: String" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "APPL_DT" type = "xsd: Integer" / >

    < xsd: element name = "EFF_DT" type = "xsd: Integer" / >

    < xsd: element name = "APPL_RECV_DT" type = "xsd: Integer" / >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "AgentInfo" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "The Agent" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "AGT_CD" type = "xsd: String" / >

    < xsd: element name = "FIRSTNAME" type = "xsd: String" / >

    < xsd: element name = "NAME" type = "xsd: String" / >

    < xsd: element name = "AGT-LICNO" type = "xsd: String" / >

    < xsd: element name = "TEAM" type = "xsd: String" / >

    < xsd: element name = "TEAMLEADER" type = "xsd: String" / >

    < xsd: element name = "TEAMLEADER-LICNO" type = "xsd: String" / >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "InsuredInfo" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = 'PREFIX-TH' >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnPERS_NAMEPREFIX" type = "xsd: String" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "NAME-TH" type = "xsd: String" / >

    < xsd: element name = "MIDNAME-TH" type = "xsd: String" / >

    < xsd: element name = "LASTNAME-TH" type = "xsd: String" / >

    < xsd: element name = "FORMERNAME" type = "xsd: String" / >

    < xsd: element name = "PREFIX-FR" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnPERS_NAMEPREFIX-EN" type = "xsd: String" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "NAME-IN" type = "xsd: String" / >

    < xsd: element name = "MIDNAME-EN" type = "xsd: String" / >

    < xsd: element name = "LASTNAME-IN" type = "xsd: String" / >

    < xsd: element name = "BIRTH_DT" type = "xsd: Integer" / >

    < xsd: element name = "ÂGE" type = "xsd: Integer" / >

    < xsd: element name = "GENDER" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnPERNSEXCD" type = "xsd: String" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "MARITAL_STATUS" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnPERC_MAR_STAT_CD" type = "xsd: String" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "RACE" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnRACE" type = "xsd: String" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "RELIGION" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnRELIGION" type = "xsd: String" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "NATIONALITY" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnNATIONALITY" type = "xsd: String" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "ID-TYPE" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnIDTYPE" type = "xsd: String" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "ID" type = "xsd: String" / >

    < xsd: element name = "ID-XPIR_DT" type = "xsd: Integer" / >

    < xsd: element name = "OCCUPATION" >

    < xsd: complexType >

    < xsd: attribute name = "dmnOCCUP_CD" type = "xsd: String" / >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "OCCUP_CLASS" >

    < xsd: complexType >

    < xsd: attribute name = "dmnOCCUP_CLASS_CD" type = "xsd: String" / >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "ANNUAL_INCOME" type = "xsd: Integer" / >

    < xsd: element name = "HEIGHT" type = "xsd: Integer" / >

    < xsd: element name = "WEIGHT" type = "xsd: Integer" / >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "ProposerInfo" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = 'PREFIX-TH' >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnPERS_NAMEPREFIX" type = "xsd: String" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "NAME-TH" type = "xsd: String" / >

    < xsd: element name = "MIDNAME-TH" type = "xsd: String" / >

    < xsd: element name = "LASTNAME-TH" type = "xsd: String" / >

    < xsd: element name = "FORMERNAME" type = "xsd: String" / >

    < xsd: element name = "PREFIX-FR" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnPERS_NAMEPREFIX-EN" type = "xsd: String" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "NAME-IN" type = "xsd: String" / >

    < xsd: element name = "MIDNAME-EN" type = "xsd: String" / >

    < xsd: element name = "LASTNAME-IN" type = "xsd: String" / >

    < xsd: element name = "BIRTH_DT" type = "xsd: Integer" / >

    < xsd: element name = "ÂGE" type = "xsd: Integer" / >

    < xsd: element name = "GENDER" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnPERNSEXCD" type = "xsd: String" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "MARITAL_STATUS" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnPERC_MAR_STAT_CD" type = "xsd: String" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "RACE" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnRACE" type = "xsd: String" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "RELIGION" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnRELIGION" type = "xsd: String" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "NATIONALITY" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnNATIONALITY" type = "xsd: String" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "ID_TYPE" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnIDTYPE" type = "xsd: String" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "ID_NUMBER" type = "xsd: String" / >

    < xsd: element name = "ID_XPIR_DT" type = "xsd: Integer" / >

    < xsd: element name = "OCCUPATION" >

    < xsd: complexType >

    < xsd: attribute name = "dmnOCCUP_CD" type = "xsd: String" / >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "OCCUP_CLASS" >

    < xsd: complexType >

    < xsd: attribute name = "dmnOCCUP_CLASS_CD" type = "xsd: String" / >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "ANNUAL_INCOME" type = "xsd: Integer" / >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "ContactInfo" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "AddressInfo" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "Address" maxOccurs = "unbounded" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "ADDRTYPE" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnADDR_ADDRTYPE" type = "xsd: Integer" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "PRIMARY_CONTACT" type = "xsd: Integer" / >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "PhoneInfo" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "Phone" maxOccurs = "unbounded" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "PHONETYPE" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnADRP_PHONETYPE" type = "xsd: Integer" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "PHONENUM" type = "xsd: Integer" / >

    < xsd: element name = "PRIMARY_CONTACT" type = "xsd: Integer" / >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "EmailInfo" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "Email" maxOccurs = "unbounded" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "EMAILTYPE" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnADRO_EMAILTYPE" type = "xsd: Integer" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "EMAILDATA" type = "xsd: String" / >

    < xsd: element name = "PRIMARY_CONTACT" type = "xsd: Integer" / >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "PolicyInfo" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "BASE-PLAN_CD" type = "xsd: String" / >

    < xsd: element name = "BASE-PLAN_NM" type = "xsd: String" / >

    < xsd: element name = "MODEOFPAYMENT" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnZZFREQUENCY" type = "xsd: String" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "BASE - SA" type = "xsd: float" / >

    < xsd: element name = "BASE-PREMIUM" type = "xsd: float" / >

    < xsd: element name = "BASE-MODALPREMIUM" type = "xsd: float" / >

    < xsd: element name = "AYFP" type = "xsd: float" / >

    < xsd: element name = "RiderInfo" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "Rider" maxOccurs = "unbounded" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "RIDER-CODE" type = "xsd: String" / >

    < xsd: element name = "RIDER-NAME" type = "xsd: String" / >

    < xsd: element name = "RIDER - SA" type = "xsd: float" / >

    < xsd: element name = "RIDER-PREMIUM" type = "xsd: float" / >

    < xsd: element name = "RIDER-MODALPREMIUM" type = "xsd: float" / >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "PaymentInfo" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "Bordered" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "TMP_RECEIPT_NO" type = "xsd: String" / >

    < xsd: element name = "TOTAL_PYMT_AMT" type = "xsd: float" / >

    < xsd: element name = "Payment" maxOccurs = "unbounded" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "PAYER" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnPAYRTYPE" type = "xsd: Integer" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "TYPE PYMT" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnPaymentType" type = "xsd: Integer" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "PYMT-AMT" type = "xsd: float" / >

    < xsd: element name = "PYMT-Channel" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "CreditCard" minOccurs = "0" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "CARD TYPE" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnCardType" type = "xsd: Integer" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "CARD-NO" type = "xsd: Integer" / >

    < xsd: element name = "CARD-HOLDERNAME" type = "xsd: String" / >

    < xsd: element name = "CARD-BANKNM" type = "xsd: String" / >

    < xsd: element name = "CARD-DISPLAYED" type = "xsd: String" / >

    < xsd: element name = "CARD-AUTHCODE" / >

    < xsd: element name = "CARD-AUTHDATE" / >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "Bank" minOccurs = "0" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "BANK CODE" / >

    < xsd: element name = "BANK-BRANCH" / >

    < xsd: element name = "BANK-ACCNO" / >

    < xsd: element name = "BANK-ACCNAME" / >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "Cheque" minOccurs = "0" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "CHQ - NO" / >

    < xsd: element name = "CHQ-DATE" / >

    < xsd: element name = "CHQ-ISSUEBANK" / >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "RenewalPayment" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "PAYER" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnPAYRTYPE" type = "xsd: Integer" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "DDCHANNEL" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnPaymentType" type = "xsd: Integer" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "DDCDetails" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "CARD TYPE" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnCardType" type = "xsd: Integer" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "CARD-NO" type = "xsd: Integer" / >

    < xsd: element name = "CARD-HOLDERNAME" type = "xsd: String" / >

    < xsd: element name = "CARD-BANKNM" type = "xsd: String" / >

    < xsd: element name = "CARD-DISPLAYED" type = "xsd: String" / >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "DDADetails" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "BANK-ACCTYPE" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnBNK_TYP_CD" type = "xsd: Integer" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "BANK-ACCNO" / >

    < xsd: element name = "BANK-ACCNAME" / >

    < xsd: element name = "BANK-BRANCH" / >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "BeneficiaryInfo" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "Recipient" maxOccurs = "unbounded" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "RELATIONSHIP" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnBENE_RELT_CD" type = "xsd: Integer" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "FIRSTNAME" type = "xsd: String" / >

    < xsd: element name = "MIDNAME" type = "xsd: String" / >

    < xsd: element name = "NAME" type = "xsd: String" / >

    < xsd: element name = "PERCENTAGE" type = "xsd: Integer" / >

    < xsd: element name = "BIRTH_DT" type = "xsd: Integer" / >

    < xsd: element name = "GENDER" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnPERNSEXCD" type = "xsd: String" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "NATLIDNO" type = "xsd: String" / >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "Questionnaire" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "HealthDeclaration" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "Issue" maxOccurs = "unbounded" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "QUESTION_ID" type = "xsd: String" / >

    < xsd: element name = "ANSWER" >

    < xsd: complexType >

    < xsd:simpleContent >

    < xsd:extension base = "XSD: String" >

    < xsd: attribute name = "dmnZZYESNO_NUM" type = "xsd: String" / >

    < / xsd:extension >

    < / xsd:simpleContent >

    < / xsd: complexType >

    < / xsd: element >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "ApplicationRs" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "Reason for rejection" / >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < / xsd: SEQUENCE >

    < xsd: attribute name = "xsi" type = "xsd: String" / >

    < xsd: attribute name = "schemaLocation" type = "xsd: String" / >

    < / xsd: complexType >

    < / xsd: element >

    < / xsd: Schema >

    ');

    BEGIN

    dbms_output.put_line (Ali$ XML_VALID (l_xml, l_xsd));

    END;

    and please do not confused, you don't need to answer if I do not any sense.

    BUT I STILL HAVE ONE LAST QUESTION

    do you know how to use namespaces in the exctractvalue().

    I'm not "troubled", just frustrated that you don't seem to understand what I've explained so far.

    Why do you insist on the use of extractvalue? Don't use extractvalue, it is deprecated, use XMLTABLE instead.

    If you feel compelled to use extractvalue of certain grounds, just the curiosity to seek it in the documentation, you can find the syntax to use the namespaces:

    http://docs.Oracle.com/CD/E11882_01/server.112/e41084/functions061.htm#SQLRF06173

    in your last code, you first insert the XML and extract data from it. I can do it too, but it's not my requirement. I'm supposed to read the first xml (if it is valid) as I do in my code using the table function and make the continuation of the procedure.

    Look, I'll ask you one last time:

    What problem are you having? What prevents you from first reading, certain values before inserting, as you need. Just use the same query XMLTABLE that I showed in my example, except you will not query the table, but directly from the XMLType variable:

    PASSAGE v_xml

    COLUMNS...

  • XML does not not in some items marked

    I have a document with some items that are marked to match my xml document. I load this XML file to import data, there are blocks of text with the type that I've marked using the story editor.  I have 2 types of stats for 5 players from the red sox in the document.  For some reason I can't all to load at the same time.  I cut and past the info from one player to the existence of others and it will change how text stats box load and which are not.  It's frustrating because it seems completely random and I can't seem to load at the same time. Not having is not a DTD would be a problem?  I'm not familiar with how to create a.

    Any help would be appreciated.

    Files here:

    https://www.dropbox.com/sh/kg82blm8phnmtez/AACR8LWsHLgXpW3WxSCsLAgEa?DL=0

    Partial screenshots below:

    Screen Shot 2016-01-29 at 1.49.52 AM.png

    Screen Shot 2016-01-29 at 1.50.15 AM.png

    Hello

    Your error is due to your lack of understanding of some basic rules when importing XML in InDesign. The first is that the incoming structure MUST correspond to the existing structure. In your example of XML, you have this:

    
    
     
         
         
         
     
    

    But your InDesign structure is rather

    etc.

    So when the xml content, the first node is ok. Player1_HeadInformation position is consistent. But happens next Player1_SubInformation and following xmlElement is Player3_SubInformation. Not the node expected. At this point, you choose to ignore the nodes when the xml engine will continue until it finds a node of Player3_SubInformation, it allows to inject, or the motor will push the Player1_SubInformation possibly without taking account of all styles properties and messing things upwards without doubt.

    If you have hands on structures, I would recommend a more general approach:

    
    
     
         
             1
         
         
             2
         
         
             3
         
     
    

    Then you model indesign is like a node to repeat:

    And then, whatever the order of players, you're well:

    Don't forget the magic box

    Here you are!

    HTH

    Loïc

    http: www.ozalto.com

  • Categories, the application and configuration settings not migrate in the exported XML file

    We have exported our FDM of an environment and it application another via XML file imported. We have experienced several issues highlighted on the link below. In addition, the control of 'Catégories' table is not migrated at all and there seems to be no option to import or export step on the control panels. In addition, I find that many other parameters have not been migrated, such as:
    -Administration | Configuration settings | Allows a custom period description
    -Administration | Application settings | Batch charger
    -Administration | Application settings | Format of Date key time mask
    -Etc etc

    Please can anyone suggest why they have not migrated successfully? It's quite frustrating because at the present time, we have to recreate settings manually in the following environment and the control panel. Y at - it a potential bug here? We use FDM version 11.1.2.1.

    -2147418105-error automation on FDM application via XML file import

    Published by: Jubei on June 12, 2012 16:20

    You import the adapter. These tables are specific adapter and that may be your problem.

  • Beginner XML questions

    Hello

    First post on the forums in a long time and the first here altogether. I hope it's okay jump in.

    I have a little experience of FM not structured for several years ago and use Ventura (13 years) to my company's books (long directories - 3 000 + / volume). I made some scripts in Ventura have so little experience in programming.

    We are looking to switch to XML rather than text files tagged Ventura can import because of its lack of support, problems, perhaps due to Win7, and the effort required to maintain files to import. I downloaded the trial FM 11 and have been experimenting a bit with XML back and forth and also import what we already have in XML. If a bit I'm sure very simple questions. and thanks in advance:

    I was going through the tutorials from Adobe and everything I can find online. It seem not to be well reviewed books on Amazon that deal with structured FM 9-11. Some that look promising for XML are about 10 years old - I think not that our needs are sharp, so should I get something this old, or stay with most recent although we complain? Any recommendations? If I can get the hang of it with something that is not specific FM will be really difficult to adapt this knowledge to the FM band?

    I find EDD, DTD and schema to be rather confusing. Someone explain the difference in simple terms or direct me to a video, etc.? Assuming that I start with an XML file that is created in one other purpose, not meant to be FM, need more than one of them? Do you do first?

    Ventura if I want to have two separate data elements (off the coast of the database) on the same line, say a left-aligned with the other right aligned, programmers put both with a tab, and that is controlled by a tag paragraph in Ventura with a tab on the right. With XML, if I understand it correctly, you wouldn't do that in the XML file - I'm probably not ready to understand the method, I just want to know if this is possible without doing something like having paragraph of second properties point to have no line breaks. If so, where that would be appropriate, ESD, DTD, etc.?

    XML in FM can include inline graphics? What about an Excel chart?

    Thank you

    Gary

    Hi Gary,.

    a lot of questions, he

    But lets start with the first things first.

    For your general understanding: XML separates basically content layout. You can add metadata to the content by adding attributes to some semantic purposes or to include information for your page layout process (or any information that you feel should be here).

    XML is essentially made up of elements, attributes and entities. Those that are defined in a DTD or a schema. ESD does the same for the management of content structured in FM. To stuff FM back and forth into XML and vice versa, you will need both a DSP for handling in FM and the DTD or schema of XML processing. Basically the two similar at first, but ESD will be also some layout information included as well as routines to facilitate the production of structured content (so called context rules).

    The translation between XML and FM requires also some reading/writing-rules governing the specific elements of the FM and values to create "correct" XML files

    Your layout (-> master pages), styles of paragraph and character, etc. pre-set styles of paintings, graphics and so on, are stored in a template file, which is used when you import an XML file to the FM band.

    These are the basics that you are handling.

    Everything that affects page layout will be on the side of the FM of things (if you use it to publish stuff).

    Everything that affects the structure is mainly done on the DTD and the reading/writing-rules side (but has an equivalent in ESD).

    So, for your search:

    XML books who have 10 years maybe not the best choice, because they will probably have a lot of references to SGML, which doesn't help much. But some who are about 5 years old will do just fine - not much changed on the side of XML (unless you decide to use the XML schema).

    For FM11, it is preferable to use guides for FM9 (those are the most comprehensive) and use this forum.

    If you insured the most, I would say to book some consultant for training on the creation of ESD. This will help avoid a lot of frustration later and pays really fast off the coast.

    It can also provide answers to specific questions such as the ones you posted above (Yes, graphics work).

    Once your done with that, you need to do a search, if one of the XML flavors already established already meet your needs in general (I'm talking about DITA, DocBook, S1000D and others) or if you want to develop your own structure (which needs a mayor of brainstorming, but could better meet your needs).

    Soon Alex

  • Parse error the file "clients.xml" Server "SERVER IP"...

    Hello

    no idea why I get this error:

    Parse error the file "clients.xml" Server "SERVER IP". Logon will continue, contact your system administrator.

    and after pressing the OK button, I get another error:

    The initializer for type for 'VirtualInfrastructure.Utils.HttpWebRequestProxy' threw an exception

    When I try to connect to ESXi 4.0 with vSphere client?

    My clients.xml file content (https://SERVER IP/client/clients.xml):

    & lt; ConfigRoot & gt; ------& lt; ClientConnection id "0000" = & gt; ------& lt; authdPort & gt; 902 & lt; / authdPort & gt; ------& lt; version & gt; 4 & lt; / version & gt; ------& lt; exactVersion & gt; 4.0.0 & lt; / exactVersion & gt; ------& lt; patchVersion & gt; 1.0.0 & lt; / patchVersion & gt; ------& lt; apiVersion & gt; 4.0 & lt; / apiVersion & gt; ------ & lt; downloadUrl & gt; https://*/client/VMware-viclient.exe < /DownloadURL & gt; ------& lt; / ClientConnection & gt;-& lt; / ConfigRoot & gt;-

    Thank you

    I bet you're under Windows 7. The customer is currently divided on 7 and compatibility modes will not help. The frustrating bit is that it works on Vista.

  • A loop in the Variable XML records!

    Hello

    I get no way how to do this. I get the XML below from a custom component of DSC. Now, I need to treat it.

    <root>
        <records total_records="4">
            <record>
                <jobno>1122</jobno>
                <cust_name>Abhinav</cust_name>
                <email>[email protected]</email>
                <stat>1</stat>
            </record>
            <record>
                <jobno>2233</jobno>
                <cust_name>Doctor Dhober</cust_name>
                <email>[email protected]</email>
                <stat>0</stat>
            </record>
            <record>
                <jobno>4666</jobno>
                <cust_name>Vinau Dubey</cust_name>
                <email>[email protected]</email>
                <stat>1</stat>
            </record>
            <record>
                <jobno>7677</jobno>
                <cust_name>Nelesh Poda</cust_name>
                <email>[email protected]</email>
                <stat>0</stat>
            </record>
        </records>
    </root>
    
    

    Now, I have to loop through each record & to do something for each of them. In my approach, I must send a mail to each user in the XML file. I tried using the Set selector to SET the node VALUE, but without success. Any help.

    Thank you.


    -

    Afonso

    Your xpath does not match your XML code - you're missing the root node in your xpath expression:

    Expression: /process_data/myXML/records/record[1]/email
    

    must be:

    / process_data/myXML/root/records/plug [1] / email

    When you build your loop there is another thing to be careful.  If you evaluate a variable xpath within another xpath expression, it gets inserted string.  This happens even if the variable is an integer.  For example: if I have a whole variable counter that is equal to 3 and evaluate:

    / process_data/myXML/root/Records/record [/process_data/@counter] / email the xpath expression will insert "3" (a string) and not an integer, as you can imagine.  The result will not be the third node. This can be a source of frustration, and it's difficult to debug.

    Instead, use the number inside the expression:

    / process_data/myXML/root/Records/record [number (/process_data/@counter)] / email

    I've attached an example of process that shows this.

  • need help to load the image from a xml file

    (Based on the example of Chapter 10, ActionScript 3.0 for ADOBE FLASH CS4, IPC)
    By using the 'setSong' function, I shoot with success of the < artist > child of my xml data, no problem. But I also have to display the jpg file in the < image > node and I meet a lot of difficulties. I tried adding more variables to the setSong function, but am frustrated. Someone could shine a little light and point this beginner in the right direction?

    function setSongs (): void {}
    for (var i = 0; i < 4; i ++) {}
    var artistText:String = songList_XML.song [i + songCount] .artist;
    Customizer var = this ["song" + (i + 1)] .artist;
    clipArtist.text = artistText;
    }
    }

    myXML:

    <? XML version = "1.0" encoding = "utf-8"? >
    < songlist >
    song <>
    < image id = "1" > images/dummyFace1.jpg < / image >
    < artist > first guy < / artist >
    < album > Aliquam neque dui, sold at, egestas nec, egestas dignissim, tortor. < / album >
    < / song >

    song <>
    < image id = "2" > images/dummyFace2.jpg < / image >
    < artist > second person < / artist >
    ante < album > Nam. Metus had integer and lacus accumsan commodo. < / album >
    < / song >

    song <>
    < image id = "3" > images/dummyFace3.jpg < / image >
    < artist > third Fellow < / artist >
    < album > Cras non sem vitae massa pharetra sold. Integer outbound < / album >
    < / song >

    song <>
    < image id = "4" > images/dummyFace4.jpg < / image >
    Fourth individual < artist > < / artist >
    < album > surpassing ullamcorper quam and ipsum. Aenean sed lacus sit amet leo so restore. < / album >
    < / song >
    < / songlist >

    :

    function setSongs (): void {}
    for (var i = 0; i)< 4;="" i++)="">
    var artistText:String = songList_XML.song [i + songCount] .artist;
    Customizer var = this ["song" + (i + 1)] .artist;
    clipArtist.text = artistText;

    var ldr:Loader = new Loader();

    var urlR:URLRequest = new URLRequest (image songList_XML.song [i + songCount]);

    LDR. Load (urlR);

    LDR.x = Whatever (i);

    LDR.y = whateverelse (i);

    addChild (ldr);

    }
    }

    myXML:




    images/dummyFace1.jpg
    First guy
    Aliquam neque dui, sold at, egestas nec, egestas dignissim, tortor.


    images/dummyFace2.jpg
    Second person
    Nam ante. Metus had integer and lacus accumsan commodo.


    images/dummyFace3.jpg
    Third Member
    CRAs non sem vitae massa pharetra sold. Integer is.


    images/dummyFace4.jpg
    Fourth person
    Surpassing ullamcorper quam and ipsum. Aenean sed lacus sit amet leo so restore.

  • Error specifying the spry xml data source?

    I have been using Spry in Dreamweaver XML data sets without any problem until I added the YUI calendar widget. After that, I get a message error "no entity expected to name reference (65: 23). Also, there is no evidence in the bindings panel. I have a Mac OS X, which I find very frustrating after being on a PC for 15 years. I can never find anything that I am looking help section.

    Here's what I tried to present this has not worked.

    1 removed the YUI extension

    2. remove the * file *.dat in the folder of configuration in the user library folder

    3 Rename the configuration folder in the user library folder

    4 copy the folder of my laptop configuration library works

    5. uninstalled and reinstalled Dreamweaver CS4

    I can code everything by hand, but it of a lot of your time and makes the software a virtual paper weight.

    I would be recognizing an advisor who may be offered.

    Preference for programs files Mac is in your user folder/Library/Preferences account.  The files that DW and other applications create end in .plist.  These files are created by Mac OS for many applications.  If you delete one, the operating system will be re - create another preferences file the next time the application opened.

    Also other files DW records during a re - install are saved only if you go through the uninstall process and enable this option.  It's the same for the Windows version.  Sometimes if there are strange errors you can contact Adobe support for more information.

    If not and you need to do a reinstall, I would recommend disabling everything first.  Then, by running the adobe CS # own tool.  Just type this phrase into Google and you'll find the best result for CS3 or CS4.

    Adobe - Adobe CS3Clean Script

    Adobe - Adobe CS4 clean Script

    Those more that simply remove the program.  They will remove all the items in the applications folder and shared in the user's library and the library of the system.  It is the only true way to make a re-install AFAIK.  But you will need to disable the function before doing so because it will erase all files and all the serial numbers of all the Adobe programs with this tool.

  • XML file recovery

    So I need help trying to recover a file. I clicked without saving on a lot of work and resulted in losing me a lot of pages of work. Frantically, I searched for ways to find this back but was left empty handed and even brought a software to help recover it but still no result. I found a method which I think may be a possibility to retrieve this information by going to the trash and the research in the recovered files, so I'm hopeful, however the FILE I want TO SAID OPEN it IS XML AND IT IS CORRUPT SO that WORD cannot OPEN it. Search on youtube there is no means to do it on mac, so I need your help guys.

    Currently, on a Macbook calculated no laptop, if that makes sense.

    Joey

    A Macbook is not 'laptop' makes no sense.

    You have not tells us which version of Pages, if you have never saved the file, nor why you try to open a file with Word Pages.

    Peter

Maybe you are looking for