Link to iframe from xml file

Hello

Could someone tell me what to do with this "simple question?"

I want to connect to an iframe from a xml file, how do I write this code?
It is used on a page of portfolio with a flash element:
link: http://www.clownfish.nl/cfcc/portfolio/portfolio_ca/portfolio_ca.html

part of my xml code example:
< element path = "images/1.jpg" width = "200" height = "200" >
Point < title > < /title >
< description > the item description < / description >
"< iframe name ="of the project"src="./projecten/project-1.html ">
< / iframe >
< / point >

Thank you

Pascal

HI -.

Not an answer, but have you looked at your page in Firefox?

"helppascal911" wrote in message
News:g56tsp$51O$1@forums. Macromedia.com...
> Hello,
>
> Could someone tell me what to do with this "simple question?"
>
> I want to connect to an iframe to an xml file, how do I write this code?
> It is used on a portfolio with a flash element page:
> link:
> http://www.clownfish.nl/cfcc/portfolio/portfolio_ca/portfolio_ca.html
>
> some of my xml code sample:
>
>The title of the item
> Description of the object
>
>

>
> Thank you,
>
> Pascal
>

Tags: Dreamweaver

Similar Questions

  • Retrieve data from xml file

    Hello

    Consider, having more xml file

    
        

    How can I retrieve the value of the key to lonlat "36.76,3.05."

    in my qml file, I had something like

    ...
            Page {
                id: ch_loc
                Container {
    
                    //background: Color.White
                    ListView {
                        dataModel: XmlDataModel {
                            source: "LonLat.xml"
                        }
                        listItemComponents: [
                            ListItemComponent {
                            }
                        ]
                        onTriggered: {
                            //qDebug(indexPath[3]);
                            app.initiateRequest(dataModel.data(indexPath[0]))
                        }
                    }
                }
            }
    ...
    

    I'm on the right track? Need help please.

    Thank you, best regards.

    Maddin

    Hello

    OK after some reading, I thought about it.

    What I did:

    Page {
                id: ch_loc
                Container {
    
                    //background: Color.White
                    ListView {
                        dataModel: XmlDataModel {
                            source: "LonLat.xml"
                        }
                        listItemComponents: [
                            ListItemComponent {
                            }
                        ]
                        onTriggered: {
                            var selectedItem = dataModel.data(indexPath);
                            app.initiateRequest(selectedItem.value);
                        }
                    }
                }
            }
    

    Please don't quite understand. IAM does not ask for help without doing anything by myself. IAM at this new and iam from difficult to understand the whole material. For now iam happy that I understood this part.

    If this is done for me.

    Concerning

    Maddin

  • Extract data from xml file item

    I inserted all data from an xml file into an xml table in the database (after creating the directory and getclobdocument function)
    with

    INSERT INTO TEST_XML
    SELECT (XMLTYPE (getCLOBDocument ('MXMLF.xml'))) FROM DUAL;

    Now how to extract the individual item in the relational table my data in the xml table is something like the following.

    rowset <>
    < TransmissionHeader >
    < TransmissionDateTime > 2008 - 12 - 04T 09: 30:47 - 05:00 < / TransmissionDateTime >
    IATA:ISXMLInvoiceV3.1 < version > < / Version >
    < IssuingOrganizationID > 111 < / IssuingOrganizationID >
    < BillingCategory > various < / BillingCategory >
    < / TransmissionHeader >
    < invoice >
    < InvoiceHeader >
    < InvoiceNumber > 182792000 < / InvoiceNumber >
    < invoiceDate > 2007 - 12 - 19 < / InvoiceDate >
    Bill < InvoiceType > < / InvoiceType >
    < LocationCode > EWR < / LocationCode >
    Engineering of < ChargeCategory > < / ChargeCategory >
    < SellerOrganization >
    < > 111 OrganizationID < / OrganizationID >
    < OrganizationDesignator > ZZ < / OrganizationDesignator >
    Zed airlines < Nomorganisation1 > < / Nomorganisation1 >
    < TaxRegistrationID > 111ABC111 < / TaxRegistrationID >
    < CompanyRegistrationID > ABC111ABC < / CompanyRegistrationID >
    Patrick < ContactName > < / ContactName >
    < address >
    < > 111, Zed AddressLine1 headquarters < / AddressLine1 >
    Montreal < CityName > < / Nom_ville >
    < CountryCode > CA < / CountryCode >
    Canada < CountryName > < / CountryName >
    < code postal > 110011 < / code >
    < / address >
    < / SellerOrganization >
    < BuyerOrganization >
    < > 222 OrganizationID < / OrganizationID >
    < OrganizationDesignator > GG < / OrganizationDesignator >
    < Nomorganisation1 > Globe Airlines < / Nomorganisation1 >
    < TaxRegistrationID > GB22200222 < / TaxRegistrationID >
    < CompanyRegistrationID > Go 222 222 < / CompanyRegistrationID >
    George < ContactName > < / ContactName >
    < address >
    < AddressLine1 > 222, Globe headquarters < / AddressLine1 >
    London < CityName > < / Nom_ville >
    < CountryCode > GB < / CountryCode >
    England < CountryName > < / CountryName >
    < code postal > 220022 < / code >
    < / address >
    < / BuyerOrganization >
    < ConditionsPaiement >
    < CurrencyCode > $ < / CurrencyCode >
    < SettlementMonthPeriod > 071203 < / SettlementMonthPeriod >
    < SettlementMethod > I < / SettlementMethod >
    < / ConditionsPaiement >
    < ISDetails >
    < DigitalSignatureFlag > N < / DigitalSignatureFlag >
    < / ISDetails >
    < setting >
    < AttachmentIndicatorOriginal > Y < / AttachmentIndicatorOriginal >
    < / fixing >
    < / InvoiceHeader >
    < LineItem >
    < LineItemNumber > 1 < / LineItemNumber >
    < ChargeCode > MRO repairs and review < / ChargeCode >
    < description > package for unique maintenance work. Water VAVLE drain compl. P/N 9350022 < / Description >
    < EndDate > 2007 - 12 - 10 < / EndDate >
    < UOMCode quantity = "EA" > 1.0000 < / quantity >
    < UnitPrice SF = "1" > 300,0000 < / UnitPrice >
    < ChargeAmount > 300,00 < / ChargeAmount >
    < TotalNetAmount > 300,00 < / TotalNetAmount >
    < / LineItem >
    < LineItem >
    < LineItemNumber > 2 < / LineItemNumber >
    < ChargeCode > MRO repairs and review < / ChargeCode >
    < description > material consumption for the single interview. Water VAVLE drain compl. P/N 9350022, S/N FRTR013AW < / Description >
    < EndDate > 2007 - 12 - 10 < / EndDate >
    < UOMCode quantity = "EA" > 1.0000 < / quantity >
    < UnitPrice SF = "1" > 900.0000 < / UnitPrice >
    < ChargeAmount > 900.00 < / ChargeAmount >
    < TotalAddOnChargeAmount > 180.00 < / TotalAddOnChargeAmount >
    < TotalNetAmount > 1080.00 < / TotalNetAmount >
    < / LineItem >
    < LineItemDetail >
    < DetailNumber > 1 < / DetailNumber >
    < LineItemNumber > 1 < / LineItemNumber >
    < description > package for unique maintenance work. Water VAVLE drain compl. P/N 9350022 < / Description >
    < EndDate > 2007 - 12 - 10 < / EndDate >
    < UOMCode quantity = "EA" > 1.0000 < / quantity >
    < UnitPrice > 300,0000 < / UnitPrice >
    < ChargeAmount > 300,00 < / ChargeAmount >
    < TotalNetAmount > 300,00 < / TotalNetAmount >
    < AircraftDetails >
    < AircraftRegistrationNo > DAIGS < / AircraftRegistrationNo >
    < PartNo > 9350022 < / PartNo >
    < / AircraftDetails >
    < / LineItemDetail >
    < LineItemDetail >
    < DetailNumber > 1 < / DetailNumber >
    < LineItemNumber > 2 < / LineItemNumber >
    < description > material consumption diaphragm < / Description >
    < EndDate > 2007 - 12 - 10 < / EndDate >
    < UOMCode quantity = "EA" > 1.0000 < / quantity >
    < UnitPrice > 200.0000 < / UnitPrice >
    < ChargeAmount > 200.00 < / ChargeAmount >
    < AddOnCharges >
    Handling of < AddOnChargeName > < / AddOnChargeName >
    < AddOnChargePercentage > 20.00 < / AddOnChargePercentage >
    < AddOnChargeableAmount > 200.00 < / AddOnChargeableAmount >
    < AddOnChargeAmount > 40.00 < / AddOnChargeAmount >
    < / AddOnCharges >
    < TotalNetAmount > 240.00 < / TotalNetAmount >
    < AircraftDetails >
    < AircraftRegistrationNo > DAIGS < / AircraftRegistrationNo >
    < PartNo > 9350584 < / PartNo >
    < / AircraftDetails >
    < / LineItemDetail >
    < LineItemDetail >
    < DetailNumber > 2 < / DetailNumber >
    < LineItemNumber > 2 < / LineItemNumber >
    < description > material consumption coverage < / Description >
    < EndDate > 2007 - 12 - 10 < / EndDate >
    < UOMCode quantity = "EA" > 1.0000 < / quantity >
    < UnitPrice > 177.5000 < / UnitPrice >
    < ChargeAmount > 177,50 < / ChargeAmount >
    < AddOnCharges >
    Handling of < AddOnChargeName > < / AddOnChargeName >
    < AddOnChargePercentage > 20.00 < / AddOnChargePercentage >
    < AddOnChargeableAmount > 177,50 < / AddOnChargeableAmount >
    < AddOnChargeAmount > 35.50 < / AddOnChargeAmount >
    < / AddOnCharges >
    < TotalNetAmount > 213,00 < / TotalNetAmount >
    < AircraftDetails >
    < AircraftRegistrationNo > DAIGS < / AircraftRegistrationNo >
    < PartNo > 9350595 < / PartNo >
    < / AircraftDetails >
    < / LineItemDetail >
    < LineItemDetail >
    < DetailNumber > 3 < / DetailNumber >
    < LineItemNumber > 2 < / LineItemNumber >
    Assembly of material consumption - Base < description > < / Description >
    < EndDate > 2007 - 12 - 10 < / EndDate >
    < UOMCode quantity = "EA" > 1.0000 < / quantity >
    < UnitPrice > 520.0000 < / UnitPrice >
    < ChargeAmount > 520.00 < / ChargeAmount >
    < AddOnCharges >
    Handling of < AddOnChargeName > < / AddOnChargeName >
    < AddOnChargePercentage > 20.00 < / AddOnChargePercentage >
    < AddOnChargeableAmount > 520.00 < / AddOnChargeableAmount >
    < AddOnChargeAmount > 104.00 < / AddOnChargeAmount >
    < / AddOnCharges >
    < TotalNetAmount > 624,00 < / TotalNetAmount >
    < AircraftDetails >
    < AircraftRegistrationNo > DAIGS < / AircraftRegistrationNo >
    < PartNo > 9350598 < / PartNo >
    < / AircraftDetails >
    < / LineItemDetail >
    < LineItemDetail >
    < DetailNumber > 4 < / DetailNumber >
    < LineItemNumber > 2 < / LineItemNumber >
    Packaging material consumption < description > < / Description >
    < EndDate > 2007 - 12 - 10 < / EndDate >
    < UOMCode quantity = "EA" > 1.0000 < / quantity >
    < UnitPrice > 0.0800 < / UnitPrice >
    < ChargeAmount > 0.08 < / ChargeAmount >
    < AddOnCharges >
    Handling of < AddOnChargeName > < / AddOnChargeName >
    < AddOnChargePercentage > 20.00 < / AddOnChargePercentage >
    < AddOnChargeableAmount > 0.08 < / AddOnChargeableAmount >
    < AddOnChargeAmount > 0.02 < / AddOnChargeAmount >
    < / AddOnCharges >
    < TotalNetAmount > 0.10 < / TotalNetAmount >
    < AircraftDetails >
    < AircraftRegistrationNo > DAIGS < / AircraftRegistrationNo >
    < PartNo > AS3209-009 < / PartNo >
    < / AircraftDetails >
    < / LineItemDetail >

    How now?

    Please a little help

    I tried to instead of but of no use

    The new element in the root is 'InvoiceTransmission', so replace 'Lines' with it.
    In addition, there is now a default namespace, you must declare it as well:

    SELECT x1.InvoiceNumber
         , x1.InvoiceDate
         , x1.InvoiceType
         , x1.LocationCode
         , x2.*
         , x3.*
    FROM test_xml t
       , XMLTable(
           XMLNamespaces(default 'http://www.IATA.com/IATAAviationInvoiceStandard')
         , '/InvoiceTransmission/Invoice'
           passing t.object_value
           columns InvoiceNumber   number       path 'InvoiceHeader/InvoiceNumber'
                 , InvoiceDate     date         path 'InvoiceHeader/InvoiceDate'
                 , InvoiceType     varchar2(30) path 'InvoiceHeader/InvoiceType'
                 , LocationCode    varchar2(3)  path 'InvoiceHeader/LocationCode'
                 , LineItems       xmltype      path 'LineItem'
                 , LineItemDetails xmltype      path 'LineItemDetail'
         ) x1
       , XMLTable(
           XMLNamespaces(default 'http://www.IATA.com/IATAAviationInvoiceStandard')
         , '/LineItem'
           passing x1.LineItems
           columns LineItemNumber         number        path 'LineItemNumber'
                 , ChargeCode             varchar2(80)  path 'ChargeCode'
                 , Description            varchar2(200) path 'Description'
                 , EndDate                date          path 'EndDate'
                 , Quantity               number(8,4)   path 'Quantity'
                 , Quantity_UOM           varchar2(3)   path 'Quantity/@UOMCode'
                 , UnitPrice              number(8,4)   path 'UnitPrice'
                 , UnitPrice_SF           varchar2(3)   path 'UnitPrice/@SF'
                 , ChargeAmount           number(6,2)   path 'ChargeAmount'
                 , TotalAddOnChargeAmount number(6,2)   path 'TotalAddOnChargeAmount'
                 , TotalNetAmount         number(6,2)   path 'TotalNetAmount'
         ) x2
       , XMLTable(
           XMLNamespaces(default 'http://www.IATA.com/IATAAviationInvoiceStandard')
         , '$d/LineItemDetail[LineItemNumber=$lin]'
           passing x1.LineItemDetails as "d"
                 , x2.LineItemNumber as "lin"
           columns AircraftRegistrationNo varchar2(30) path 'AircraftDetails/AircraftRegistrationNo'
                 , PartNo                 varchar2(30) path 'AircraftDetails/PartNo'
         ) x3
    ;
    
  • How to extract more than a records from xml file

    I want to extract several records in the xml file

    Now, I'm able to extract only one record at a time
    using the

    Select xmltype(transaction_document).extract('//IrcPostingContentsVlEORow/CreationDate/text()').getStringVal (CreationDate)
    of hr_api_transactions
    where transaction_ref_table = 'PER_ALL_VACANCIES. '
    and transaction_ref_id = 4693;
    How can I find or retrieve multiple records?

    Hello

    and appear in several places in the document, please be specific.
    Ideally give the full path to access the data.

    It goes the same for : want you PerRequisitionsEORow or PerAllVacanciesEORow?

    Here's an overview of what you can do, assuming that you want the data from the PerAllVacanciesEORow element:

    select x.*
    from hr_api_transactions t,
         xmltable('//PerAllVacanciesEORow'
                  passing xmltype(transaction_document)
                  columns requisition_id  number        path 'RequisitionId',
                          organization_id number        path 'OrganizationId',
                          name            varchar2(100) path 'Name',
                          creation_date   varchar2(30)  path 'CreationDate'
                 ) x
    where t.transaction_ref_table = 'PER_ALL_VACANCIES'
    and t.transaction_ref_id = 4693
    ;
    
    REQUISITION_ID ORGANIZATION_ID NAME                 CREATION_DATE
    -------------- --------------- -------------------- -----------------------
              7471                 yogesh               2011-01-29 20:01:57.0
    
  • AOP of EtherCAT Slave not load completely from XML file

    Hi all

    I'm trying to import an XML file of Beckhoff device profile for the EL 6695 EtherCAT Slave in the LabVIEW project.

    I brought changes to the Beckhoff as XML files so that all the 'user-defined AOP"is also included, when I connect this slave of my LabVIEW project.

    Screenshot below will give you an idea on my LabVIEW project.

    In the screenshot, you can see the entries of the AO responsible for the EL 6695 ethercat slave.

    The main problem here is that entered the AOP list / output entered is incomplete. I have 100 + entries "Of DDR" and even outputs.

    Please let me know if anyone has an idea about this.

    Thanks in advance!

    Rahul.

    Germany

    Hi Raul,

    Sorry for the end frequency! China observed holidays these days.

    Finally, I found the cause of this problem! It's because of the extra 'space' behind the text of the name of the entry.

    If all the entries after the entry of this issue will be ignored by LabVIEW. LabVIEW currently has some limitation to detect this. I go to your comments this problem to the right team to solve this problem in the future! Please see the attached XML, I modified according to your version.

    Sorry to have caused you so much pain because of this!

    Wendy

  • [Database Toolbox] possibility to Load From xml file in Labview and then in the database

    Before you write in my database, I want to save it and reload if the user wants to cancel the new charge that can last several minutes.

    If he cancels the load I get back my previous database data.

    I managed to save my database in XML through the "DB tools SaveRecordSet To File" VI. This VI records directly contains my database table in the xml file. And finally, I only if the other VI to load file will do the same thing, means load the file and save it in my database but it gives just a recordset in labview.

    Question: is it possible just to load the xml file into the database directly through Labview?

    Why, finally, these screws do not have the same behavior?

    I don't know, but I just thought I would chime, that if you fail to do with LabvIEW, you might want to look by making your writing in a 'Transaction' database, if your DBM takes in charge (most except MS Access)

  • read data from xml file

    Hi all

    I have an xml file store on my bb.

    How can I read data within the tag? I think that one way is to use blackberry.find.FilterExpression (), like the example below. I don't know how... but it's okay. I will try!!

    function handleOpenedFile(fullPath, blobData) {
    
        temp = blackberry.utils.blobToString(blobData);
    
       //var NomeOperatore = blackberry.find.FilterExpression('');
    }
    
    function readPianoViaggi() {
        if (blackberry.io.file.exists(filePath)) {
            blackberry.io.file.copy(filePath, filePath2);
            blackberry.io.file.readFile(filePath, handleOpenedFile);
    
        }
    }
    

    my question is: I can read data within the tag using an operation such as

    itemDescription = temp.getElementsByTagName ('NomeOperatore') var [0].firstChild.data or something similar?

    Thank you

    You would do something like the following... I don't know if my syntax is correct

    function readFile() {
      blackberry.io.file.readFile("file:///store/home/user/sample.xml",handleOpenedFile);
    }
    
    function handleOpenedFile(fullPath, blobData)
    {
      var xmlString = blackberry.utils.blobToString(blobData, null);
      var parser = new DOMParser();
      var doc = parser.parseFromString(xmlString, "text/xml");
    
      var itemDescription = doc.getElementsByTagName('NomeOperatore')[0].firstChild.data;
    }
    
  • extract data from xml file

    Hi all
    what it means:

    Select xxx xmltype(transaction_document).extract('//PerAllVacanciesEORow/xxx/text()').getStringVal)
    of hr_api_transactions
    where transaction_ref_table = 'PER_ALL_VACANCIES. '
    and transaction_ref_id = 4608;
    I think it gives only the value of the numeric type to a string format

    Please explain each step in detail

    Hello

    xmltype(transaction_document)
    

    Which converts the TRANSACTION_DOCUMENT (probably from the CLOB data type) in an XMLType data type column.

    .extract('//PerAllVacanciesEORow/xxx/text()')
    

    The part retrieves all text nodes containing elements 'xxx', whose parent is an element of 'PerAllVacanciesEORow '.
    Note that if the XPath "//PerAllVacanciesEORow/xxx" corresponds to multiple nodes, then text() values will be concatenated.

    .getStringVal()
    

    Converts the XMLType return VARCHAR2 data type.

    If you have a problem with the result, post an example of XML, the output data wanted him.
    Please also give your version of the database.

  • How to import a task from a file XML?

    I created a scheduled task in Windows 7. The task runs perfectly on my computer.

    I also exported the task in an XML file and you want to create the same task on another computer automatically. How to import the XML file with pragmatism in the Task Scheduler on the second computer?

    Hi Chathurangabandara,

    Welcome to the Microsoft Community Forums.

    According to the description, it seems that you want to import a scheduled task from a XML file on another computer. I'll be happy to help you in this problem.

    You can import a task, which will add the task imported to a task folder and allow you to use and perform the task. A task properties, triggers, actions, conditions, and settings are represented in an XML file.

    I suggest you follow the steps in the link to import the XML file and check if it helps.
    Import a task
    http://TechNet.Microsoft.com/en-us/library/cc722156.aspx

    I hope it helps. If you have any questions about Windows in the future, please let us know. We will be happy to help you.

  • Two apparently identical xml files. A fine exception analysis expects a name

    Hey. For a beginner to xml, these look similar v:

    Analysis:

    
        
        
        
        
    
    

    Will not scan:

    
      
      
      
      
      
      
      
      
      
    
    

    Code is below. Thoughts why?

        private static NodeList GetNodeListFromInputStream(InputStream is) {
    
            NodeList list = null;
    
            try {
    
                DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory. newInstance();
                DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder(); 
    
                docBuilder.isValidating();
                Document doc = docBuilder.parse(is);  // FAILS HERE- why         // Get stream from xml file
    
                // 2 ways to do it- heirarchically from root node or getElByTag* as a list. We do list
                list = doc.getElementsByTagName("*"); 
    
            }
            catch ( Exception e )
            {
                    System.out.println( "\n\n*****************\n" + e.toString() );
            }
    
            return list;
    
        }
    

    If you don't find anything, why not try and write it yourself? You can easily write a parser of the state machine-based in order to transform the entrance in a simple way.

  • How to check if a node exists in the XML file?

    I was asked to program a method to import data from xml files in our Coldfusion 8 Web site, I am new to the use of XML.

    My method worked however I encountered the following error:

    Element NETWORKORDER. SECONDARYADDRESS. CONTACTNAME is undefined in MYDOC.

    Investigation on the node in the XML file was not present.

    Is there a method I can use to resolve this error by checking if a node exists in the xml file, which works with my current code below?

    <!--> reading XML file
    < cffile action = "read" file = "D:\website\XML\#FileName#" variable = "myxml" >
    < cfset mydoc = XmlParse (myxml) >

    <!--> to extract data from the XML of NDS file
    < cfset aPrimaryContactName =(#mydoc.NetworkOrder.PrimaryAddress.ContactName#) >
    < cfset aPrimaryContactNumber =(#mydoc.NetworkOrder.PrimaryAddress.ContactNumber#) >
    < cfset aPrimaryContactNumber = tostring(#mydoc.NetworkOrder.PrimaryAddress.ContactNumber#) >
    < cfset aPrimaryContactAddressLine1 =(#mydoc.NetworkOrder.PrimaryAddress.line1#) >
    < cfset aPrimaryContactAddressLine2 =(#mydoc.NetworkOrder.PrimaryAddress.line2#) >
    < cfset aPrimaryContactAddressLine3 =(#mydoc.NetworkOrder.PrimaryAddress.line3#) >
    < cfset aPrimaryContactAddressLine4 =(#mydoc.NetworkOrder.PrimaryAddress.line4#) >
    < cfset aPrimaryContactAddressLine5 =(#mydoc.NetworkOrder.PrimaryAddress.line5#) >
    < cfset aPrimaryContactCity =(#mydoc.NetworkOrder.PrimaryAddress.City#) >
    < cfset aPrimaryContactPostcode =(#mydoc.NetworkOrder.PrimaryAddress.PostalCode#) >
    < cfset aPrimaryContactCounty =(#mydoc.NetworkOrder.PrimaryAddress.CountrySubdivision#) >
    < cfset aPrimaryContactCountryCode =(#mydoc.NetworkOrder.PrimaryAddress.CountryCode#) >
    < cfset aPrimaryContactCountry =(#mydoc.NetworkOrder.SecondaryAddress.Country#) >
    < cfset aSecondaryContactName =(#mydoc.NetworkOrder.SecondaryAddress.ContactName#) >
    < cfset aSecondaryAttentionOfName =(#mydoc.NetworkOrder.SecondaryAddress.AttentionOfName#) >
    < cfset aSecondaryContactNumber =(#mydoc.NetworkOrder.SecondaryAddress.ContactNumber#) >
    < cfset aSecondaryContactAddressLine1 =(#mydoc.NetworkOrder.SecondaryAddress.line1#) >
    < cfset aSecondaryContactAddressLine2 =(#mydoc.NetworkOrder.SecondaryAddress.line2#) >
    < cfset aSecondaryContactAddressLine3 =(#mydoc.NetworkOrder.SecondaryAddress.line3#) >
    < cfset aSecondaryContactAddressLine4 =(#mydoc.NetworkOrder.SecondaryAddress.line4#) >
    < cfset aSecondaryContactAddressLine5 =(#mydoc.NetworkOrder.SecondaryAddress.line5#) >
    < cfset aSecondaryContactCity =(#mydoc.NetworkOrder.SecondaryAddress.City#) >
    < cfset aSecondaryContactPostcode =(#mydoc.NetworkOrder.SecondaryAddress.PostalCode#) >
    < cfset aSecondaryContactCounty =(#mydoc.NetworkOrder.SecondaryAddress.CountrySubdivision#) >
    < cfset aSecondaryContactCountryCode =(#mydoc.NetworkOrder.SecondaryAddress.CountryCode#) >
    < cfset aSecondaryContactCountry =(#mydoc.NetworkOrder.SecondaryAddress.Country#) >

    Since you already have the XML parsed in a document, the easiest is to use xmlSearch(). Take a look at the doc, it is pretty easy to use. Something as simple as:

    To the most complex as:

    And in both cases:

    Read the doc and google is your friend "coldfusion xmlsearch.

  • Generation of XML files in oracle procedure

    I have to generate a SQL query as XML files:

    • If the number of records in the query result exceeds 40 000 then the data must be divided into two XML files with different file names.

    Following XML file format:

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <EMP_INFO xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <EMP>
      <CR_NO>12345678</CR_NO>
      <EMPLOYER_NAME>ABC</EMPLOYER_NAME>
      <ID_NO>12345678</ID_NO>
      <EMPLOYEE_NAME>ABC</EMPLOYEE_NAME>
      </EMP>
      <EMP>
      <CR_NO>12345678</CR_NO>
      <EMPLOYER_NAME>XYZ</EMPLOYER_NAME>
      <ID_NO>12345678</ID_NO>
      <EMPLOYEE_NAME>ABC</EMPLOYEE_NAME>
      </EMP>
    </EMP_INFO>
    
    
    
    • Also, an XML file will contain information from XML file with the number of records in each file:
    <?xml version="1.0" encoding="utf-8"?>
    <Files>
      <File>
        <FileName>ABCD071120130001.xml</FileName>
        <CountOfRecords>499</CountOfRecords>
      </File>
    
    
      <File>
        <FileName>ABCD071120130002.xml</FileName>
        <CountOfRecords>9</CountOfRecords>
      </File>
    
    
    </Files>
    
    
    

    My PL SQL procedure follows, but throws an error:

    CREATE OR REPLACE PROCEDURE P_DATAXML AS
    BEGIN
    
      DECLARE
        XML_PROLOG    CLOB := '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
        xml_header    clob;
        xml_trailer   clob;
        tmp_xml       clob;
        tmp_file      clob;
      
        CURSOR C_REC IS  
        SELECT XMLELEMENT("EMP_INFO",
                                XMLELEMENT("CR_NO", "1234" ),
                                XMLELEMENT("EMPLOYER_NAME", "ABC" ),
                                XMLELEMENT("ID_NO", "9876541" ),
                                XMLELEMENT("EMPLOYEE_NAME", "XYZ" )
                 ).GETCLOBVAL() AS DATA_XML
               
          FROM TABLES;
      
      BEGIN
    
        -- create the temporary clob :
        DBMS_LOB.CREATETEMPORARY(TMP_FILE, TRUE);
      
        -- fetch records
        for r in C_REC loop
          DBMS_LOB.append(TMP_FILE, xml_prolog);
          DBMS_LOB.append(TMP_FILE, r.DATA_XML);
        end loop;
    
    
        -- write file to directory :
        dbms_xslprocessor.clob2file(TMP_FILE, 'CDIR', 'test.xml', nls_charset_id('AL32UTF8'));
        dbms_lob.freetemporary(TMP_FILE);
    
      END;
    
    END P_DATAXML;
    
    
    

    After my initial coding, I get the error made his first appearance on "dbms_xslprocessor.clob2file":

    ORA-21560: 3 argument is null, invalid or out of range

    ORA-06512: at "SYS." DBMS_LOB", line 991

    ORA-06512: at "XDB". DBMS_XSLPROCESSOR', line 324

    What could be wrong?

    You were on the right track. Continue to use SQL/XML, in special XML files XMLAGG logical global functions.

    The following should answer your initial needs.

    For this demonstration, I used resources. Table EMPLOYEES and a batch size of 100. It generates three files, 'file0001.xml' (100 records), "file0002.xml" (7 records) and a summary file:

    DECLARE

    file_desc_array xmlsequencetype: = xmlsequencetype();

    CLOB file_desc_xml;

    prolog1 CLOB: = '';

    prolog2 CLOB: = '';

    BEGIN

    for r in)

    Select xmlserialize (document

    XmlElement ('method'

    , xmlattributes ("http://www.w3.org/2001/XMLSchema-instance" under the name "xmlns: xsi" "")

    xmlagg)

    XmlElement ("EMP"

    xmlelement ("ID_NO", e.employee_id)

    , xmlelement ("EMPLOYEE_NAME", select)

    )

    )

    )

    ) as xmldoc

    --< generating="" summary="" record="">

    xmlelement ("file",

    xmlelement ("filename",

    , "file" | TO_CHAR (trunc ((rownum-1)/100) + 1, "fm0999"). ".xml".

    )

    xmlelement ("CountOfRecords", Count

    ) as file_desc

    -->

    , "file" | TO_CHAR (trunc ((rownum-1)/100) + 1, "fm0999"). '.xml' as file name

    of e hr.employees

    Group of trunc ((rownum-1)/100)

    )

    loop

    dbms_xslprocessor.clob2file (prolog1 | r.xmldoc, 'TEST_DIR', r.filename, nls_charset_id ('AL32UTF8'));

    file_desc_array.extend;

    file_desc_array (file_desc_array. (Last): = r.file_desc;

    end loop;

    Select xmlserialize (document

    XmlElement ("Files", xmlagg (column_value))

    )

    in file_desc_xml

    table (file_desc_array);

    dbms_xslprocessor.clob2file (prolog2 | file_desc_xml, 'TEST_DIR', 'summary.xml', nls_charset_id ('AL32UTF8'));

    END;

    /

  • How to create ViewObject to generate the xml file?

    Hello everyone...

    People, I would like to know if it is possible to create a ViewObject to generate an xml file.
    In other words, I have a database table and I need to generate an xml file based on this table.

    Someone has already done it?

    The ADF swing.
    JDeveloper Studio 11.1.1.4.0.

    Hello

    Try this link

    Generate the xml file based on the java oracle table using jdeveloper 10 g

  • having a problem with parsing the XML file

    Hi all
    I am trying to get data from XML file
    I want to only 4-5 values in this XML file
    Here is an example of XML file
    -< transaction >
    -< TransCtx >
    > < pAMETranType > IRCVACAPPROVAL < / pAMETranType >
    > < / TransCtx >
    > < / transaction >

    I want to add value and to store this value in table
    I'm here, I want to "IRCVACAPPROVAL".
    the tag
    < pAMETranType >

    for this purpose


    I created a procedure

    CREATE OR REPLACE PROCEDURE insert_xml_emps (p_directory in varchar2,
    > p_filename in varchar2)
    (> vtableName in varchar2) as
    > v_filelocator BFILE.
    > v_cloblocator CLOB.
    > l_ctx DBMS_XMLSTORE. CTXTYPE;
    > l_rows NUMBER;
    > v_amount_to_load NUMBER;
    > dest_offset NUMBER: = 1;
    > offset NUMBER: = 1;
    > lang_context NUMBER: = DBMS_LOB. DEFAULT_LANG_CTX;
    > WARNING NUMBER;
    > START
    > dbms_lob.createtemporary (v_cloblocator, true);
    > v_filelocator: = bfilename (p_directory, p_filename);
    > dbms_lob.open (v_filelocator, dbms_lob.file_readonly);
    > v_amount_to_load: = DBMS_LOB.getlength (v_filelocator);
    >-* this line is changed * -.
    > DBMS_LOB. LOADCLOBFROMFILE (v_cloblocator,
    > v_filelocator.
    > v_amount_to_load.
    > dest_offset.
    > offset.
    > 0,
    > lang_context.
    (> warning);
    >
    > l_ctx: = DBMS_XMLSTORE.newContext (vTableName);
    > DBMS_XMLSTORE.setRowTag (l_ctx, 'TRANSACTION');
    > DBMS_XMLSTORE.setRowTag (l_ctx, 'TRANSCTX');
    >-clear the update settings
    > DBMS_XMLStore.clearUpdateColumnList (l_ctx);
    >-set the columns to update a list of values
    > DBMS_XMLStore.setUpdateColumn (l_ctx, 'PAMETRANTYPE');
    >
    >-now insert the doc.
    > l_rows: = DBMS_XMLSTORE.insertxml (l_ctx, v_cloblocator);
    > DBMS_XMLSTORE.closeContext (l_ctx);
    > dbms_output.put_line(l_rows ||) "... inserted rows. ») ;
    > dbms_lob.close (v_filelocator);
    > DBMS_LOB. FREETEMPORARY (v_cloblocator);
    > END;

    I also have on the table who get this value

    whenever I call that created the procedure
    it sometime gives an error or sometime run correctly but store null in the table


    But when I change the XML file
    as
    When convert all lowercase letters in the capital then it works fine

    Is tehre to other ways to parse the XML file with no change in the XML file?

    Did you use the same test (with the exception of file name and directory) case?

    What I posted is a copy/paste direct SQL * Plus, and it works on version 11.2.0.1.

  • Google indexing of xml files, how to prevent...

    Hello developers,

    Maybe it's a weird question, but I have a small dilemma.

    I have a few sites flash-xml and Google will index the xml files.
    When a user is searching (Google) and the text can be found in the xml file, the result of the search sometimes will be http://domain.com/file.xml
    For example, when the user click on it only the xml file is displayed in the Explorer.

    Question:
    Is there a way to link or redirect the xml file automatically to the site index.html file?
    Or y at - it another way to avoid this?

    Thanks in advance for any help!

    You can get help here, though it is not a question related to the AS1/AS2 and is probably better to take to a forum such as http://forums.adobe.com/community/design_development/webdesign web design

    Or better yet, you could try Google itself.  They provide advice to deal with things that are not indexed.

Maybe you are looking for

  • Removal of noise from charge related? -E2 Bike LTE

    I use an app 3rd - party for the specific purpose of change/activation of the related fresh sounds. While it works fine when I plug my phone in & when my battery reaches 100%, the disconnection is interrupted, or rather to silence as it turns off. "L

  • My name is James I pay just for download

    can I sync all my music on the computer on my iPhone or what I have to pay someone help me please what is the first thing I need to sync all my music to get started what is the second thing I have to do, I already have iTunes on my computer can I syn

  • HP Pavilion Notebook PC g6

    Hi team, I recently updated my laptop for windows 8.1. Before I used Windows 8, I used Bluetooth to send files. But after the upgrade to windows 8.1 Bluetooth works at all. Name of product: notebook PC HP Pavilion g6 Product number: C9L68PA #ACJ I've

  • C5180: C5180 change to the previous version of the operating system in the drop-down dialog box

    I tried to fix the parse error: 4, [(0,12,80004005), (2,7,80040007), (3,7,0) error of scanning hp] and stumbled upon a fix in support of HP that says if the scanning functions work properly before an upgrade of the operating system to try to use the

  • Fax and Scan Error - Message could not be sent. Media is write protected

    I have a PC with Windows Vista Ultimate on it.  Turns off user access control.  On the sign as Admin will have all the rights. Windows Fax and Scan works very well for a long time.  Had a modem comes to shove, he replaced everything works fine. In th