Problem with XML loading and xmlns

I'm having a problem with loading an XML file that was created by Filemaker.  Filemaker will output an XML file using one of two different grammars.  One outputs in a mostly standard form that I can use with one glitch.  Flash CS4 AS3 seems to have a problem with the xmlns in one of the nodes.
Specifically:
<FMPDSORESULT xmlns="http://www.filemaker.com/fmpdsoresult">
If I remove the xmlns="http://www.filemaker.com/fmpdsoresult" the file loads properly and I can access the various fields with no problem.  However, when I leave the xmlns=... in, it will trace out the XML properly but I can't access the fields using the code listed below.  This is driving me crazy!
With the xmlns part in the XML file I get the following error when it tries to load the thumbnail files:
TypeError: Error #1010: A term is undefined and has no properties.
I need to have it so that the user can enter/edit data and simply output the XML file from Filemaker and then Flash will load up the unaltered XML file and show the info requested by the user.  That is to say I could have the user open the XML file in a word processing application and have them delete the xmlns..., but that is rather cumbersome and not very user friendly.
I've tried every xml.ignore function I could find but it doesn't help.  Hopefully someone out there can help
Thanks,
-Mark-
Partial XML:
XML From Filemaker Export:
<?xml version="1.0" encoding="UTF-8" ?>
<!-- This grammar has been deprecated - use FMPXMLRESULT instead -->
<FMPDSORESULT xmlns="http://www.filemaker.com/fmpdsoresult">
  <ERRORCODE>0</ERRORCODE>
  <DATABASE>Sport.fp7</DATABASE>
  <LAYOUT></LAYOUT>
  <ROW MODID="1" RECORDID="1">
    <FirstName>Mark</FirstName>
    <LastName>Fowle</LastName>
    <Sport>Sailing</Sport>
    <Medal>None</Medal>
    <CourseOfStudy>Design</CourseOfStudy>
    <Year>1976-1978</Year>
    <HomeState>California</HomeState>
    <ImageName>93</ImageName>
  </ROW>
</FMPDSORESULT>
AS3 Code:
import fl.containers.UILoader;
var aPhoto:Array=new Array(ldPhoto_0,ldPhoto_1,ldPhoto_2,ldPhoto_3,ldPhoto_4,ldPhoto_5);
var toSet:int=10;//time out set time
var toTime:int=toSet;
var photoPerPage:int=6;
var fromPos:int=photoPerPage;
var imgNum:Number;
//var subjectURL:URLRequest=new URLRequest("testData_FM8.xml");
var subjectURL:URLRequest=new URLRequest("Sports.xml");
var xmlLoader:URLLoader=new URLLoader(subjectURL);
xmlLoader.addEventListener(Event.COMPLETE, xmlLoaded);
var subjectXML:XML = new XML();
subjectXML.ignoreWhitespace=true;
subjectXML.ignoreComments=true;
subjectXML.ignoreProcessingInstructions=true;
function xmlLoaded(evt:Event):void {
    subjectXML=XML(xmlLoader.data);
    if (root.loaderInfo.bytesTotal==root.loaderInfo.bytesLoaded) {
        removeEventListener(Event.ENTER_FRAME, xmlLoaded);
        trace("XML Data File Loaded");
        trace(subjectXML);
    } else {
        trace("File not Found");
    imgNum=2;//subjectXML.ROW.length;
    trace(subjectXML);
    loadThumb(0);
function loadThumb(startPos:int):void {
    var count:Number=aPhoto.length;
    trace(subjectXML.DATABASE);
    for (var i=0; i<count; i++) {
    try{
        aPhoto[i].source="images/"+subjectXML.ROW[startPos+i].ImageName+"_main.jpg";
    }catch (e:Error){
        trace(e);
        aPhoto[i].mouseChildren=false;
        aPhoto[i].addEventListener(MouseEvent.MOUSE_DOWN, onThumbClick);
    trace("Current mem: " + System.totalMemory);
    ldAttract.visible=false;
function unloadThumb():void {
    var count:Number=aPhoto.length;
    for (var i=0; i<count; i++) {
        aPhoto[i].unload();
        aPhoto[i].removeEventListener(MouseEvent.MOUSE_DOWN, onThumbClick);
    trace("Current mem: " + System.totalMemory);
function onThumbClick(evt:MouseEvent) {
    var i:Number;
    //trace("Thumbnail Clicked " + evt.target.name);
    i=findPos(evt.target.name);
    ldLrgPhoto.source="images/"+subjectXML.ROW[i+fromPos].LOCAL_OBJECT_ID+"_main.jpg";
    ldLrgPhoto.visible=true;
    btnPrev.visible=false;
    btnNext.visible=false;
    gotoAndStop("showPhoto");
function findPos(thumb:String):Number {
    var pos:Number;
    var count:Number=aPhoto.length;
    for (var i:Number=0; i<count; i++) {
        if (thumb==aPhoto[i].name) {
            pos=i;
    return pos;

Hi,
I was trying to use xml namespaces, so in my application I receive an XML file from the server. The file has a namespace, so when I parse the file I need to specify the namespace:
I got the following piece of xml:
<ls:exchange xmlns:ls=".../tsw" xmlns:tm="http://kxa">
    <ls:projects>
         <tm:annotation id="" date="" action="getprojects" status="responseok"/>         
    <ls:project id="" name="proj" description="..." owner="asss"  release="2" />
        <ls:projectV  id="" version="" creationdate="" modificationdate=""/ >
    </ls:project>
</ls:projects>
</ls:exchange>
and the following code
<mx:VBox label="WELCOME" verticalScrollPolicy="off" horizontalScrollPolicy="off">
      <mx:Tree id="tree" dataProvider="{srv.lastResult.project}" labelField="@name"  width="300" height="100%" itemOpen="itemOpenEvt(event);" />
</mx:VBox>
So i want to display the content of the xml (project nodes”) in a tree view, but i don’t know how to includes the namespace"ls:" in the data provider “srv.lastResult.project”. can u help me it’s urgent.
sincerly
Celine

Similar Messages

  • PROBLEM WITH XML PUBLISHER AND GRAPH NOT DISPLAYING IN ORACLE APPS

    Hi
    All you XML Gurus here. I have a problem, When i create a report in XML Publisher desktop i can see a graph im putting into the report on preview and works fine. But when i upload the report as a rtf file into Oracle applications i can see everything else the table logo and stuff .. But just not the Graph Itself when run on the concurrant manager....
    Problem number 2
    Is there a way that i can use XML Desktop and create a line graph with 2 lines rather than 1 plotting
    here is my xml for graph i have made with one line
    chart:
    <Graph>
    <Title text="" visible="true" horizontalAlignment="CENTER"/>
    <LocalGridData colCount="{count(.//SELF_OTHERS)}" rowCount="1">
    <RowLabels><Label></Label></RowLabels>
    <ColLabels>
    <xsl:for-each select=".//SELF_OTHERS"> <Label><xsl:value-of select="BEHAVIOUR"/></Label>
    </xsl:for-each>
    </ColLabels>
    <DataValues>
    <RowData>
    <xsl:for-each select=".//SELF_OTHERS"> <Cell><xsl:value-of select="SCORE"/></Cell>
    </xsl:for-each> </RowData>
    </DataValues>
    </LocalGridData>
    </Graph>
    All help would be much appreciated to my 2 problems....
    Thanks
    Sha

    Hi All
    Will post solution tomorrow or Monday on blog. Heres the chart XML for now.
    chart:
    <Graph graphType="LINE_VERT_ABS"><LegendArea visible="true" />
    <LocalGridData colCount="{count(xdoxslt:group(.//SALE, 'YEAR'))}" rowCount="3">
    <RowLabels>
    <Label>SOFTWARE</Label>
    <Label>HARDWARE</Label>
    <Label>SERVICES</Label>
    </RowLabels>
    <ColLabels>
    <xsl:for-each-group select=".//SALE" group-by="YEAR" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <Label>
    <xsl:value-of select="current-group()/YEAR" />
    </Label>
    </xsl:for-each-group>
    </ColLabels>
    <DataValues>
    <RowData>
    <xsl:for-each-group select=".//SALE" group-by="YEAR" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <Cell>
    <xsl:value-of select="sum(current-group()/SOFTWARE)" />
    </Cell>
    </xsl:for-each-group>
    </RowData>
    <RowData>
    <xsl:for-each-group select=".//SALE" group-by="YEAR" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <Cell>
    <xsl:value-of select="sum(current-group()/HARDWARE)" />
    </Cell>
    </xsl:for-each-group>
    </RowData>
    <RowData>
    <xsl:for-each-group select=".//SALE" group-by="YEAR" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <Cell>
    <xsl:value-of select="sum(current-group()/SERVICES)" />
    </Cell>
    </xsl:for-each-group>
    </RowData>
    </DataValues>
    </LocalGridData>
    </Graph>
    with the following data
    <?xml version="1.0" encoding="UTF-8"?>
    <SALES>
         <SALE>
              <YEAR>2006</YEAR>
              <SOFTWARE>1200</SOFTWARE>
              <HARDWARE>850</HARDWARE>
              <SERVICES>2000</SERVICES>
         </SALE>
         <SALE>
              <YEAR>2007</YEAR>
              <SOFTWARE>1000</SOFTWARE>
              <HARDWARE>800</HARDWARE>
              <SERVICES>1100</SERVICES>
         </SALE>
         <SALE>
              <YEAR>2008</YEAR>
              <SOFTWARE>900</SOFTWARE>
              <HARDWARE>1200</HARDWARE>
              <SERVICES>1500</SERVICES>
         </SALE>
    </SALES>
    The latest Template Builder makes this a cinch!
    Regards
    Tim
    http://blogs.oracle.com/xmlpublisher

  • Problems with browser loading and finder menus

    I have a MacPro Tower using airport to connect to a DSL modem. Recently I am having problems with very slow loading of web pages, often showing "Can't Find Server" errors. The problem is not with my DSL provider, because I have two older Macs in the house using the same DSL line and they are working fine. Video tutorials on Adobe's site are freezing about two minutes in and never load entirely (not a problem on the other Macs). This happens with any browser so not a browser problem. Also when quitting applications on occasion the finder menu continues to show the menu for the application I have just quit and seems reluctant to go back to finder or another application.
    Anyone have any ideas?

    Similar problem here: sometimes ALL browsers (Safari, Camino, Firefox) stuck randomly on certain web pages.
    If I force close the browsers, the program remain in Dock (but not in Process Monitor or in Terminal) and the machine refuse to restart (but others programs works as well).
    Even if I submit a "sudo reboot" the machine remains in unknow state.
    The only way to exit from this situation is to do an hard reset.

  • Problem with ora:output and xmlns attribute

    Using lastest XDK.
    I am using the built in extension ora:output in a stylesheet running via XSQL called from a small java prg.
    I am using this to generate several html fragments that will get processed later on not by xsql or xml/xsl but by another java prg.
    I have specifed the output as html BUT when I look at the output some of the elements have an xmlns attribute added i.e. xmlns:ora="http://www.oracle.com/XSL/Transform/java"....
    Strange thing its not on all elements, "a", "tr", "td" tags are ok but "b", "br" and "table" have this attribute added.... HELP!!
    How do I stop this attribute getting added...
    Many thanks
    Rob
    PS I know if I use an "html" tag to wrap the output then only that element ends up with the xmlns attribute but I cant/dont want to do this as the prg running later will combine many of these fragments to create a single "real" html page.

    I'm not sure whether i understand your problem,
    It doesnot need using the binding attribute If you wanna updating the value of each rows in the datatable.
    below is a sample that updating each rows of a datatable
    jsp file
    <h:dataTable value="#[sampleBean.data}" var="row">
        <h:column><h:inputText value="#{row.col1}"/></h:column>
    </h:dataTable>
    <h:commandButton value="update" action="#{sampleBean.update}"/>BackingBean:
    SampleBean.java
    public class Samplebean{
      private SampleRow[] rows[];
      public SampleRow[] getData{
              return rows;
      public String update(){
          for(int i=0; i<rows.length; i++){
             rows.update();
    return "success";
    SampleRow.java
    public class SampleRow{
      private String col1;
      public String getCol1(){
        return col1;
      public void setCol1(String col1){
        this.col1 = col1;
      public void update(){
         //write your code to save one row data to db/file here

  • Problem with SQL*Loader and different date formats in the same file

    DB: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    System: AIX 5.3.0.0
    Hello,
    I'm using SQL*Loader to import semi-colon separated values into a table. The files are delivered to us by a data provider who concatenates data from different sources and this results in us having different date formats within the same file. For example:
    ...;2010-12-31;22/11/1932;...
    I load this data using the following lines in the control file:
    EXECUTIONDATE1     TIMESTAMP     NULLIF EXECUTIONDATE1=BLANKS     "TO_DATE(:EXECUTIONDATE1, 'YYYY-MM-DD')",
    DELDOB          TIMESTAMP     NULLIF DELDOB=BLANKS          "TO_DATE(:DELDOB, 'DD/MM/YYYY')",
    The relevant NLS parameters:
    NLS_LANGUAGE=FRENCH
    NLS_DATE_FORMAT=DD/MM/RR
    NLS_DATE_LANGUAGE=FRENCH
    If I load this file as is the values loaded into the table are 31 dec 2010 and 22 nov *2032*, aven though the years are on 4 digits. If I change the NLS_DATE_FORMAT to DD/MM/YYYY then the second date value will be loaded correctly, but the first value will be loaded as 31 dec *2020* !!
    How can I get both date values to load correctly?
    Thanks!
    Sylvain

    This is very strange, after running a few tests I realized that if the year is 19XX then it will get loaded as 2019, and if it is 20XX then it will be 2020. I'm guessing it may have something to do with certain env variables that aren't set up properly because I'm fairly sure my SQL*Loader control file is correct... I'll run more tests :-(

  • Problem with pre-loader and video playback

    Hi!
    I've got a real problem - I managed to put together a
    pre-loader OK but it doesn't load the entire movie.
    Instead it loads a little bit and tries to stream, but it
    stutters of course because the server can't cope.
    So what I want to do is:
    - make my preloader wait for my video file (.swf) to load
    (about 6Mb)
    - play my video file (.swf)
    How do I do this?
    You can check out what I'm attempting to do at
    Scottish Car Club
    Also, if I go to www.scottishcarclub.com , the video loads
    up. But if I hit refresh, it turns the video from 320x260 into a
    40x40 - sized box. Why!?!?!?
    Thanks for the help

    try this place
    http://www.communitymx.com/

  • Problem with Batch Loader and FDM user regional settings

    Hi
    I am using FDM 11.1.2.1.
    When I use the English regional settings for my FDM user account, I can do Export Excel from FDM, but Batch Loader doesn't work (Error : "one or more parallel processes failed to start).
    When I use the French regional settings for my FDM user account, Export to Excel doesn't work anymore (Error: Conversion from string "12.0" to type 'Long' is not valid. Detail: InnerException1: Input string was not in a correct format.), but the Batch loader is ok.
    Any idea?
    Thanks in advance for your help
    Fanny

    Hi Mittal,
    By default, formats for date is determined by the report server language at run time. The report server language is the language of the operating system on which the report server is installed. So the formats for date is determined by the language of the
    operating system on which the report server is installed.
    When you deploy the report to SharePoint site that the regional setting is set to English (Australia), please also set the report language to ‘en-AU’. Then the date format can be also changes to English (Australia).
    If the issue is still exited, could you please tell us the date format of date parameters and the field? If possible, please post the screenshot about this, then we can make further analysis.
    Reference:
    Solution Design Considerations for Multi-Lingual or Global Deployments (Reporting Services)
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Problems with SQL*Loader and java Runtime

    Hi. I'm trying to start SQL*Loader on Oracle 8 by using Runtime class in this way:
    try{
    Process p = Runtime.getRuntime().exec( "c:\oracle\ora81\bin\sqlldr.exe parfile=c:\parfile\carica.par" );
    /*If i insert this line my application never stops*/
    p.waitFor();
    }catch( Exception e ){
    . I have seen that if lines to insert are less then 400 all works very fine, but if lines number is greater than 400, all data go in my tables but my log file is opened always in writing.Can anyone tell me why?
    Thanks

    Just a note if the executable "sqlldr.exe" does not stop (quit running) by itself the p.waitFor() will wait for ever.

  • Making a call over HTTPS with LoadVars, XML.load(), and WebService - Yes or No?

    Hello, do LoadVars, XML.load(), or WebService support HTTPS-based endpoints, Yes or No?
    BACKGROUND
    ============
    I've been trying to get a LoadVars to actually make a call to an HTTPS endpoint. There is nothing in the documentation that says it can't. I know that there's also XML.load() and WebService class, but from the looks of it they don't do HTTPS.
    During my tests I have absolutely no issues with making calls to the same service over HTTP. When I change it to HTTPS I don't see HTTPStatus or even failures. Also, netstat on my server will show a connection being established with the endpoint when using HTTP but not when using HTTPS. I've also tried setting SSLVerifyCertificate to "false" in my Server.xml and after a restart of AMS it doesn't help, same symptom.
    I've also googled and looked through all Adobe forum posts that I can find:
    https://forums.adobe.com/message/4938426#4938426
    https://forums.adobe.com/thread/1661461
    https://forums.adobe.com/thread/782037
    https://forums.adobe.com/message/74981
    https://forums.adobe.com/message/5107735#5107735
    https://forums.adobe.com/message/7815#7815
    https://forums.adobe.com/message/53870#53870
    https://forums.adobe.com/message/87797#87797
    WebService Class - http://stackoverflow.com/questions/5619776/webservice-and-fms
    The best I found from the posts above is a non-commital answer from adobe staff at https://forums.adobe.com/message/4938426#4938426 and a 3rd party person saying that Webservice doesn't work at http://stackoverflow.com/questions/5619776/webservice-and-fms.
    All I need is an official supported/not-supported from the Adobe staff. Shouldn't be to hard after 5 years or so of ignoring the questions in the forum right?

    Adobe, please provide some details to your current and possibly potential customers, in at least one of the many unanswered posts about making HTTPS requests from AMS.
    P.S.
    realeyes_jun,
    RealEyes Media has been an inspiration to me for many years, and I would like to thank them for their efforts to better the media streaming community.
    Also, would it be possible to please release the source to REDbug?

  • Problems with Safari Loading Sites and Photos

    For the past week (Feb. 2015) I've experience problems with Safari loading websites on my 2009 20" iMac desktop. Running version OSX Lion 10.7.3  4 GB.   Intel Duo Core 2.66 GHz
    Mac also will frequently not upload photos at websites like Yahoo News or Facebook.   It does this throughout the day.
    So, I downloaded Chrome, thinking it would be a better browser if Safari is not functioning.  Chrome is just slightly better, and when it won't load a website I get the following error message from Chrome: DNS_PROBE_FINISHED_NO_INTERNET.
    I'm debating taking the Mac to the Apple store for diagnosis or repair today, but if anyone else is experiencing similar problems, could you please offer some solutions as to what is going on.
    Thank you.
    AngieRK

    Non-responsive DNS server or invalid DNS configuration can cause long delay before webpages load - Apple Support
    Unless you have a good reason not to, you should update the OS to version 10.7.5.

  • I have a desktop machine windows 7 based with CS5 loaded and working without problem. I have recently purchsed a laptop running 8.1 windows.  I have loaded the cs5 package onto the laptop and it appears ro work but I am being told there are updates. I hav

    I have a desktop machine windows 7 based with CS5 loaded and working without problem. I have recently purchased a laptop running 8.1 windows.  I have loaded the cs5 package onto the laptop and it appears to work but when I try to update, although  I am being told there are updates it attempts to download the update but then tells me there is a problem and to quit and try again later.. I have tried a number of times to download the updates but itkeeps telling  me to quit and try later. what is wrong please?

    There could be a 32 bit vs 64 bit issues-is the old machine a 32 bit? and what is the new machine as far as 32/64 bit. I am not sure now if CS5 has in the help menu of the PS app the selection to update within PS if so that might work. I know that the Creative cloud app for installs updates  etc has caused me much consternation  over the last couple few years. Last it could be something like your Software firewall settings or  anti-virus anti malware programs. I know that updating the infamous adobe flash that Internet Explorer pop ups setting and having AV turned on as opposed to off can interfere or plain break the update ability

  • Problem with the MenuBar and how can i delete a own component out of the storage

    Hello,
    I opened this thread in the category "Flex Builder 2", but
    under this category my questions fit better.
    I have a problem with the MenuBar and a question to delete a
    component out of storage.
    1. We have implemented the MenuBar, which was filled
    dynamically with XML data.
    Sporadically it will appear following fault, if we "mousover"
    the root layer.
    RangeError: Error #2006: Der angegebene Index liegt
    außerhalb des zulässigen Bereichs.
    at flash.display::DisplayObjectContainer/addChildAt()
    at mx.managers::SystemManager/
    http://www.adobe.com/2006/flex/mx/internal::rawChildren_addChildAt()
    at mx.managers::SystemManager/addChild()
    at mx.managers::PopUpManager$/addPopUp()
    at mx.controls::Menu/show()
    at mx.controls::MenuBar/::showMenu()
    at mx.controls::MenuBar/::mouseOverHandler()
    Here a abrid ged version of our XML to create the MenuBar:
    <Menuebar>
    <menu label="Artikel">
    <menu label="Artikel anlegen" data="new_article" />
    <menu label="Artikel bearbeiten" data="edit_article" />
    <menu label="Verpackung">
    <menu label="Verpackung anlegen" data="new_package" />
    <menu label="Verpackung bearbeiten" data="edit_package"
    />
    </menu>
    <menu label="Materialgruppe">
    <menu label="Materialgruppe anlegen"
    data="new_materialgroup" />
    <menu label="Materialgruppe bearbeiten"
    data="edit_materialgroup" />
    </menu>
    </menu>
    </Menuebar>
    It is a well-formed XML.
    2. Delete a component out of storage
    We have some own components (basically forms), which will be
    created and shown by an construct e.g.
    var myComponent : T_Component = new T_Component ;
    this.addChild(myComponent)
    Some of our forms will be created in an popup. On every call
    of the popup, we lost 5 mb or more, all childs on the windows will
    be removed by formname.removeAllChild();
    What cann we do, that the garbage collector will dispose this
    objects.
    Is there a way to show all objects with references (NOT
    NULL)?
    I have read in the Flex Help, that
    this.removeChild(myComponent) not delete the form and/or object out
    of the storage.
    Rather the object must be destroyed.
    It is sufficient to call delete(myComponent) about remove
    this object out of the storage as the case may be that the
    garbage-collector remove this object at any time?
    Or how can I destroy a component correctly. What happens with
    the widgets on this component e.g. input fields or datagrids?
    Are they also being deleted?
    Thanks for your help.
    Matze

    If you mena the "photo Library" then you cannot delete it.
    This is how iphone handles photos.  There are not two copies.  There a re simply two places from which to access the same photos.  ALL photos synced to iphone can be accessed via Photo Library.  Those same pics can be accessed via their individual folder.

  • Problem with XML on Linux

    hi everybody,
    I've a big problem with XML on Linux, in details I see my program stopping on Linux at the instruction
    XMLReader xr = XMLReaderFactory.createXMLReader("org.apache.crimson.parser.XMLReaderImpl");
    and it's strange because on Windows it runs and there aren't problems about permissions on files, does anyone knows what to do?
    thanks in advance!
    Stefano

    What happens on that line? I'm assuming you get some kind of error or exception.
    Make sure the JAR file for Crimson is in your classpath.

  • Problem with XML in APEX ORA-06502

    i, I have a problem with XML generation, I developed an application in APEX, and in a html page I have this process:
    declare
    l_XML varchar2(32767);
    begin
    select xmlElement
    "iva",
    xmlElement("numeroRuc",J.RUC),
    xmlElement("razonSocial", J.RAZON_SOCIAL),
    xmlElement("idRepre", J.ID_REPRE),
    xmlElement("rucContador", J.RUC_CONTADOR),
    xmlElement("anio", J.ANIO),
    xmlElement("mes", J.MES),
    xmlElement
    "compras",
    select xmlAgg
    xmlElement
    "detalleCompra",
    --xmlAttributes(K.ID_COMPRA as "COMPRA"),
    xmlForest
    K.COD_SUSTENTO as "codSustento",
    K.TPLD_PROV as "tpldProv",
    K.ID_PROV as "idProv",
    K.TIPO_COMPROBANTE as "tipoComprobante",
    to_char(K.FECHA_REGISTRO, 'DD/MM/YYYY') as "fechaRegistro",
    K.ESTABLECIMIENTO as "establecimiento",
    K.PUNTO_EMISION as "puntoEmision",
    K.SECUENCIAL as "secuencial",
    to_char(K.FECHA_EMISION, 'DD/MM/YYYY') as "fechaEmision",
    K.AUTORIZACION as "autorizacion",
    to_char(K.BASE_NO_GRA_IVA, 9999999999.99) as "baseNoGraIva",
    to_char(K.BASE_IMPONIBLE, 9999999999.99) as "baseImponible",
    to_char(K.BASE_IMP_GRAV, 9999999999.99) as "baseImpGrav",
    to_char(K.MONTO_ICE, 9999999999.99) as "montoIce",
    to_char(K.MONTO_IVA, 9999999999.99) as "montoIva",
    to_char(K.VALOR_RET_BIENES, 9999999999.99) as "valorRetBienes",
    to_char(K.VALOR_RET_SERVICIOS, 9999999999.99) as "valorRetServicios",
    to_char(K.VALOR_RET_SERV_100, 9999999999.99) as "valorRetServ100"
    xmlElement
    "air",
    select xmlAgg
    xmlElement
    "detalleAir",
    xmlForest
    P.COD_RET_AIR as "codRetAir",
    to_char(P.BASE_IMP_AIR, 9999999999.99) as "baseImpAir",
    to_char(P.PORCENTAJE_AIR, 999.99) as "porcentajeAir",
    to_char(P.VAL_RET_AIR, 9999999999.99) as "valRetAir"
    from ANEXO_COMPRAS P
    where P.ID_COMPRA = K.ID_COMPRA
    AND P.ID_INFORMANTE_XML = K.ID_INFORMANTE_XML
    xmlElement("estabRetencion1", K.ESTAB_RETENCION_1),
    xmlElement("ptoEmiRetencion1", K.PTO_EMI_RETENCION_1),
    xmlElement("secRetencion1", K.SEC_RETENCION_1),
    xmlElement("autRetencion1", K.AUT_RETENCION_1),
    xmlElement("fechaEmiRet1", to_char(K.FECHA_EMI_RET_1,'DD/MM/YYYY')),
    xmlElement("docModificado", K.DOC_MODIFICADO),
    xmlElement("estabModificado", K.ESTAB_MODIFICADO),
    xmlElement("ptoEmiModificado", K.PTO_EMI_MODIFICADO),
    xmlElement("secModificado", K.SEC_MODIFICADO),
    xmlElement("autModificado", K.AUT_MODIFICADO)
    from SRI_COMPRAS K
    WHERE K.ID IS NOT NULL
    AND K.ID_INFORMANTE_XML = J.ID_INFORMANTE
    AND K.ID BETWEEN 1 AND 25
    ).getClobVal()
    into l_XML
    from ANEXO_INFORMANTE J
    where J.ID_INFORMANTE =:P3_MES
    and J.RUC =:P3_ID_RUC
    and J.ANIO =:P3_ANIO
    and J.MES =:P3_MES;
    --HTML
    sys.owa_util.mime_header('text/xml',FALSE);
    sys.htp.p('Content-Length: ' || length(l_XML));
    sys.owa_util.http_header_close;
    sys.htp.print(l_XML);
    end;
    Now my table has more than 900 rows and only when I specifically selected 25 rows of the table "ANEXO_COMPRAS" in the where ( AND K.ID BETWEEN 1 AND 25) the XML is generated.+
    I think that the problem may be the data type declared "varchar2", but I was trying with the data type "CLOB" and the error is the same.+
    declare
    l_XML CLOB;
    begin
    --Oculta XML
    sys.htp.init;
    wwv_flow.g_page_text_generated := true;
    wwv_flow.g_unrecoverable_error := true;
    --select XML
    select xmlElement
    from SRI_COMPRAS K
    WHERE K.ID IS NOT NULL
    AND K.ID_INFORMANTE_XML = J.ID_INFORMANTE
    ).getClobVal()
    into l_XML
    from ANEXO_INFORMANTE J
    where J.ID_INFORMANTE =:P3_MES
    and J.RUC =:P3_ID_RUC
    and J.ANIO =:P3_ANIO
    and J.MES =:P3_MES;
    --HTML
    sys.owa_util.mime_header('text/xml',FALSE);
    sys.htp.p('Content-Length: ' || length(l_XML));
    sys.owa_util.http_header_close;
    sys.htp.print(l_XML);
    end;
    The error generated is ORA-06502: PL/SQL: numeric or value error+_
    Please I need your help. I don`t know how to resolve this problem, how to use the data type "CLOB" for the XML can be generate+

    JohannaCevallos07 wrote:
    Now my table has more than 900 rows and only when I specifically selected 25 rows of the table "ANEXO_COMPRAS" in the where ( AND K.ID BETWEEN 1 AND 25) the XML is generated.+
    I think that the problem may be the data type declared "varchar2", but I was trying with the data type "CLOB" and the error is the same.+
    The error generated is ORA-06502: PL/SQL: numeric or value error+_
    Please I need your help. I don`t know how to resolve this problem, how to use the data type "CLOB" for the XML can be generate+The likeliest explanation for this is that length of the XML exceeds 32K, which is the maximum size that <tt>htp.p</tt> can output. A CLOB can store much more than this, so it's necessary to buffer the output as shown in +{message:id=4497571}+
    Help us to help you. When you have a problem include as much relevant information as possible upfront. This should include:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Theme
    <li>Template(s)
    <li>Region/item type(s) (making particular distinction as to whether a "report" is a standard report, an interactive report, or in fact an "updateable report" (i.e. a tabular form)
    And always post code wrapped in <tt>\...\</tt> tags, as described in the FAQ.
    Thanks

  • Why is Apple so bad at providing customers with information on what the problem with email is and what they are doing to fix it?

    Why is apple not providing information on what the problem withe email is and what they are doing to fix, along with a time frame for fixing the problem.

    It was because the problem was major.  If you do not know tech, you should know that a two day outage usually indicates some type of virus, hack, or a bad software load that they had to unravel.  The common way to solve that is to rebuild servers and put back into service.  That takes time.
    Apple did not want to admit this problem.  My guess at this stange was that they loaded new software that might be associated with the new IOS and it crashed.  To reveal this would be to cast into doubt their future revenue.
    Either way.  Run do not walk away from Icloud products and services.  Apple has demonstrated they can not be a business partner.

Maybe you are looking for

  • How to add a new selection criteria in a report painter

    Hi I would like to know how to add a selection criteria in a report painter. I believe in Gen data we can add our selection criteria but my there is no option to select  company code in that. Can anyone help me in this Thanks in advance Sankar

  • Error while confgiuring Siebel Bi Publisher Security Model..

    Hi, Steps Done 1)     Imported the BIPSiebelSecurityWS.XML 2)     Replaced Existing address with the specific address of the Siebel Server 3)     Enabled Local Super user checkbox, entered a Super user name and password 4)     Configured the Siebel S

  • Resukt:Get number of rows from 3 different table...?

    Hi All, I need to find out number of rows from 3 different table for the same conditions. Instead of writing 3 queries, is it possible to get it thru one query? For example, i need to find out number of rows in tables where name = 'Ameet' from 3 diff

  • IWeb-made website posted to Google Page Creator

    I've got a website that was made in iWeb and I want to upload it to Google Page Creator as a non-homepage subpage. My problem is that when I publish the iWeb page to a folder, it creates subfolders for the graphics and extras. GPC doesn't support fol

  • PSE-Diashow auf DVD nur mit Adobe Premiere Elements?

    Ich habe mit PSE 4.0 eine Diashow größeren Umfangs erstellt, die ich auf DVD brennen will um sie mit dem DVD-Player am Fernseher abzuspielen. Wenn ich aber in der Diashow-Ausgabe auf den Button "auf Datenträger brennen" drücke, erkennt das Programm d