#DATA # table XML
The field #DATA # Chart XML takes data from your SQL query and it wraps in XML so that AnyChart can return the table correctly.Is it possible for me to customize how the XML is generated?
Where can I find the definition of the field #DATA #?
Thank you
Austin
Hi Austin,.
First of all, what APEX version do you use? Before APEX 4.0, Flash cards are supported using AnyChart 3.3 graphics, but with APEX 4.0, we have integrated AnyChart 5 cards. The XML reference differs a lot between releases two chart, so I just want to make sure I provide you with the correct information for the version of graphics you ' using #re.
The #DATA substitution string # on your list THAT XML is replaced at run time with XML tags containing the result set of your query for the chart series. If the XML table did not contain the #DATA substitution string #, then we assume that you provide your own data, and the chart series query will not be used. The generation of the XML tags for data differs from the type of graph type chart for example data for a pie chart labels are very different from that of a Gantt chart. Generally, users don't need to worry about this. They just need to provide the graphic series query, and the underlying logic supports the rest. However, if you need to customize only XML tags for data, for some reason, then you essentially have two options here:
(1) hard-code XML necessary in the area of Custom XML in your chart. This would require that you set "Use Custom XML" Yes, on the page table and in the area of Custom XML attributes, replace #DATA # by your XML example
NOTE: the above XML code is AnyChart 5 format, so if you use graphics AnyChart 3.3 XML code will look very different. I can provide a sample for that if needed. The reference XML 3.3 AnyChart are available here: http://3.anychart.com/products/docs/anychart/index.htm and the reference to XML AnyChart 5 are available here: http://anychart.com/products/anychart/docs/xmlReference/index.html.
or
(2) to generate your own data, through a process of page labels, for example, save the output in a page hidden item and then make reference to this element of the page on the list XML custom... again, you would remove the #DATA substitution string # and replaced by a reference to a hidden example item & P1_DATA. I had an example how to do that on my example of thresholds in sample, here: http://apex.oracle.com/pls/apex/f?p=36648:35. Basically, I used an application process to generate XML, to be customized because the tag must refer to a threshold attribute for example , and by default, the tag does not reference this attribute.
I hope that the above information is useful and if you need further explanation or assistance, let me know. Kind regards
Hilary
Tags: Database
Similar Questions
-
Insert data as XML into the Oracle Table
Hi all
I have a requirement where the data in XML format, and I need to insert into the Oracle Table. For example, I get XML data in the following format,
< results >
< row >
< BANK_ACCOUNT_ID > 10010 < / BANK_ACCOUNT_ID >
< BANK_ID > 300968 < / BANK_ID >
Vision operations < LEGAL_ENTITY > < / LEGAL_ENTITY >
< BANK_NAME > BofA < / BANK_NAME >
< BANK_ACCOUNT_NUM > 10271-17621-619 < / BANK_ACCOUNT_NUM >
< BANK_ACCOUNT_NAME > BofA-204 < / BANK_ACCOUNT_NAME >
< BRANCH_NAME > New York < / BRANCH_NAME >
USD < CURRENCY_CODE > < / CURRENCY_CODE >
< BALANCE_DATE > 2007 - 11 - 09 < / BALANCE_DATE >
< LEDGER_BALANCE > 432705900.56 < / LEDGER_BALANCE >
< / row >
< row >
< BANK_ACCOUNT_ID > 10091 < / BANK_ACCOUNT_ID >
< BANK_ID > 300984 < / BANK_ID >
Vision industries < LEGAL_ENTITY > < / LEGAL_ENTITY >
Barclay Bank < BANK_NAME > < / BANK_NAME >
< BANK_ACCOUNT_NUM > 70986798 < / BANK_ACCOUNT_NUM >
Bank Multi currency-626 < BANK_ACCOUNT_NAME > Barclays < / BANK_ACCOUNT_NAME >
Reading < BRANCH_NAME > < / BRANCH_NAME >
GBP < CURRENCY_CODE > < / CURRENCY_CODE >
< BALANCE_DATE > 2007 - 11 - 14 < / BALANCE_DATE >
< LEDGER_BALANCE > 24244085.24 < / LEDGER_BALANCE >
< / row >
< row >
< BANK_ACCOUNT_ID > 10127 < / BANK_ACCOUNT_ID >
< BANK_ID > 300968 < / BANK_ID >
< LEGAL_ENTITY > SSC U.S. 01 < / LEGAL_ENTITY >
< BANK_NAME > BofA < / BANK_NAME >
< BANK_ACCOUNT_NUM > 4898744 < / BANK_ACCOUNT_NUM >
< BANK_ACCOUNT_NAME > BofA SSC U.S. 02-7188 < / BANK_ACCOUNT_NAME >
< BRANCH_NAME > New York < / BRANCH_NAME >
USD < CURRENCY_CODE > < / CURRENCY_CODE >
< BALANCE_DATE > 2007 - 11 - 28 < / BALANCE_DATE >
< LEDGER_BALANCE > 10783815.28 < / LEDGER_BALANCE >
< / row >
< / results >
I like to write PLSQL code that will receive these data with XML tags and insert it into the Oracle Table. Is this possible with built-in XML features provided in the Oracle database?
Please Guide...
Kind regards
PriyankaBut the problem is the file XML is to have the details of the records if you carefully observed the XML file. But by using more high statement select I get output in the following format.
ORG_ID REQ_LINE PO_NUMBER EXPECTED_REC_QTY USER_NAME REQ_NUMBER
204204 1444714450 11 64446445 11 OPERATIONSOPERATIONSThe table has only one row, so you get a single row as output.
I'm surprised that you find useful examples showing how to divide the data into several lines.(1) create the table with the following option, it will optimize the performance of storage and query for large XML documents:
CREATE TABLE xxios_xml_data_test(xml_data XMLTYPE) XMLTYPE COLUMN xml_data STORE AS SECUREFILE BINARY XML ;
(2) interview table with:
SQL> select x.* 2 from xxios_xml_data_test t 3 , xmltable( 4 '/Results/Row' 5 passing t.xml_data 6 columns ORG_ID number path 'ORG_ID' 7 , REQ_NUMBER number path 'REQ_NUMBER' 8 , REQ_LINE number path 'REQ_LINE' 9 , PO_NUMBER number path 'PO_NUMBER' 10 , EXPECTED_REC_QTY number path 'EXPECTED_REC_QTY' 11 , USER_NAME varchar2(30) path 'USER_NAME' 12 ) x 13 ; ORG_ID REQ_NUMBER REQ_LINE PO_NUMBER EXPECTED_REC_QTY USER_NAME ---------- ---------- ---------- ---------- ---------------- ------------------------------ 204 14447 1 6444 1 OPERATIONS 204 14450 1 6445 1 OPERATIONS
-
SQL error: ORA-31038: invalid number '420,05' when extracting data from XML
Hello everyone ,
J’ai créé dietingDBMS_XMLSCHEMA. REGISTERSCHEMA (SCHEMAURL = > 'OrdenDetalle.xsd', SCHEMADOC = > ' <? xml version = "1.0" encoding = "UTF?) 8 "? >
" < xs: schema xmlns: XS =" http://www.w3.org/2001/XMLSchema ">
< xs: element name = "Monsigniore" >
< xs: complexType >
< xs: SEQUENCE >
< xs: element name = "Quantity" type = "Integer" / >
< xs: element name = "FechaCreacion" type = "xs: DateTime" / >
< xs: element name = "Version" type = "xs: String" / >
< xs: ELEMENT ref = "News" / >
< / xs: SEQUENCE >
< / xs: complexType >
< / xs: element >
< xs: element name = "News" >
< xs: complexType >
< xs: Choice >
< xs: element name = "OrdenCompra" type = "T_OrdenCompra" / >
< / xs: Choice >
< / xs: complexType >
< / xs: element >
< name XS: complexType = "T_OrdenCompra" >
< xs: SEQUENCE >
< xs: element name = "Code" type = "xs: String" / >
< xs: element name = "Number" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "CodigoEstado" type = "Integer" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "CodigoLicitacion" type = "xs: String" nillable = "true" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "Description" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "CodigoTipo" type = "Integer" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "Type" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "TipoMoneda" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "State" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "CodigoEstadoProveedor" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "EstadoProveedor" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >
< xs: ELEMENT ref = "Fechas" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "TieneItems" type = "Integer" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "PromedioCalificacion" type = "xs: Decimal" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "CantidadEvaluacion" type = "xs: Decimal" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "Well" type = "xs: Decimal" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "Freighters" type = "xs: Decimal" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "TotalNeto" type = "xs: Decimal" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "PorcentajeIva" type = "xs: Decimal" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "Impuestos" type = "xs: Decimal" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "Total" type = "xs: Decimal" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "Financing" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "Country" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "TipoDespacho" type = "Integer" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "FormaPago" type = "Integer" minOccurs = "0" maxOccurs = "1" / >
< xs: ELEMENT ref = "Comprador" minOccurs = "0" maxOccurs = "1" / >
< xs: ELEMENT ref = "Proveedor" minOccurs = "0" maxOccurs = "1" / >
< xs: ELEMENT ref = "Items" minOccurs = "0" maxOccurs = "1" / >
< / xs: SEQUENCE >
< / xs: complexType >
< xs: element name = "Items" >
< xs: complexType >
< xs: SEQUENCE >
< xs: element name = "Quantity" type = "Integer" / >
< xs: element name = "News" >
< xs: complexType >
< xs: SEQUENCE >
< xs: ELEMENT ref = "Item" minOccurs = "0" maxOccurs = "unbounded" / >
< / xs: SEQUENCE >
< / xs: complexType >
< / xs: element >
< / xs: SEQUENCE >
< / xs: complexType >
< / xs: element >
< name XS: complexType = "OrdenCompraBusqueda" >
< xs:complexContent >
< xs:extension base = "T_OrdenCompra" >
< / xs:extension >
< / xs:complexContent >
< / xs: complexType >
< xs: element name = "Item" >
< xs: complexType >
< xs: SEQUENCE >
< xs: element name = "Correlativo" type = "Integer" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "CodigoCategoria" type = "Integer" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "Category" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "CodigoProducto" type = "Integer" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "Product" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "EspecificacionComprador" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "EspecificacionProveedor" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "Quantity" type = "xs: Decimal" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "Moneda" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >
"< xs: element name ="PrecioNeto"type ="XS: Decimal"minOccurs ="0"maxOccurs ="1"/ >
< xs: element name = "TotalCargos" type = "xs: Decimal" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "TotalDescuentos" type = "xs: Decimal" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "TotalImpuestos" type = "xs: Decimal" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "Total" type = "xs: Decimal" minOccurs = "0" maxOccurs = "1" / >
< / xs: SEQUENCE >
< / xs: complexType >
< / xs: element >
< xs: element name = "Fechas" >
< xs: complexType >
< xs: SEQUENCE >
< xs: element name = "FechaCreacion" type = "xs: DateTime" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "FechaEnvio" type = xs: DateTime "" nillable = "true" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "FechaAceptacion" type = xs: DateTime "" nillable = "true" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "FechaCancelacion" type = xs: DateTime "" nillable = "true" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "FechaUltimaModificacion" type = xs: DateTime "" nillable = "true" minOccurs = "0" maxOccurs = "1" / >
< / xs: SEQUENCE >
< / xs: complexType >
< / xs: element >
< xs: element name = "Comprador" >
< xs: complexType >
< xs: SEQUENCE >
< xs: element name = "CodigoOrganismo" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "NombreOrganismo" type = "xs: String" nillable = "true" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "RutUnidad" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "CodigoUnidad" type = "Integer" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "NombreUnidad" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "Activity" type = "xs: String" nillable = "true" / >
< xs: element name = "DireccionUnidad" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "ComunaUnidad" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "RegionUnidad" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "Country" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "NombreContacto" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "CargoContacto" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "FonoContacto" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "MailContacto" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >
< / xs: SEQUENCE >
< / xs: complexType >
< / xs: element >
< xs: element name = "Proveedor" >
< xs: complexType >
< xs: SEQUENCE >
< xs: element name = "Code" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "Number" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "Activity" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "CodigoSucursal" type = "Integer" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "NombreSucursal" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "RutSucursal" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "Address" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "Comuna" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "Region" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "Country" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "NombreContacto" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "CargoContacto" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "FonoContacto" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >
< xs: element name = "MailContacto" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >
< / xs: SEQUENCE >
< / xs: complexType >
< / xs: element >
< / xs: Schema >
', LOCAL = > true, GENTYPES = > false, GENBEAN = > false, GENTABLES = > false,
FORCE = > false, OPTIONS = > DBMS_XMLSCHEMA. REGISTER_BINARYXML, OWNER = > USER);
I have a table with one xml domain.
CREATE TABLE XML_Orden_Detalle (Fecha_GET date default current_date not null,
Fecha_Ordenes number not null,
Correlativo_Ordenes number not null,
Codigo_Orden varchar2 (20) not not null primary key,
Cant_Item,
Date of InicioProceso,
Date of FinProceso,
Xmltype Orden_Detalle not null)
Orden_Detalle XMLTYPE COLUMN
STORE AS BINARY XML
XMLSCHEMA " " http://xmlns.Oracle.com/xdb/schemas/CCS_XML/OrdenDetalle.xsd "" "
ELEMENT "command";
I inserted data like that, without any Errors:" < Command containing = ' http://www.w3.org/2001/XMLSchema "" xmlns: xsi = " " http://www.w3.org/2001/XMLSchema-instance ">
< Number > 1 < / quantity >
< FechaCreacion > 2015-05-28T 12: 10:26.947000 < / FechaCreacion >
v1 < version > < / Version >
< Return >
< OrdenCompra xsi: type = "OrdenCompraBusqueda" >
3879-2661-SE14 < code > < / code >
< Number > PSP DAEM 2014. COFFEE BREAK PARA FRINGE OP21838 < / number >
< CodigoEstado > 6 < / CodigoEstado >
3902 5-on 14 < CodigoLicitacion > < / CodigoLicitacion >
< Description > PSP DAEM 2014. COFFEE BREAK PARA FRINGE OP21838 < / description >
< CodigoTipo > 8 < / CodigoTipo >
< Type > SE < / Type >
< TipoMoneda > CLP < / TipoMoneda >
Is < State > < / Estado >
< CodigoEstadoProveedor > 4 < / CodigoEstadoProveedor >
Is < EstadoProveedor > < / EstadoProveedor >
< Fechas >
< FechaCreacion > 2014-12-29T 17: 43:32.287000 < / FechaCreacion >
< FechaEnvio > 2014-12-31T 10: 32:35.480000 < / FechaEnvio >
< FechaAceptacion > 2015 - 01-01 T 21: 03:03.660000 < / FechaAceptacion >
< FechaCancelacion xsi: Nil = "true" / >
< FechaUltimaModificacion > 2014-12-29T 17: 51:00.000000 < / FechaUltimaModificacion >
< / Fechas >
< TieneItems > 1 < / TieneItems >
< PromedioCalificacion > 5 < / PromedioCalificacion >
< CantidadEvaluacion > 1 < / CantidadEvaluacion >
< Well > 0 < / well >
cargo <>0 < / cargo >
< TotalNeto > 53782 < / TotalNeto >
< PorcentajeIva > 19 < / PorcentajeIva >
< Impuestos > 10218 < / Impuestos >
< total > 64000 < / Total >
< Financing > 1140569 < / financing >
< Country > CL < / Pais >
< TipoDespacho > 12 < / TipoDespacho >
< FormaPago > 2 < / FormaPago >
< comprador >
< CodigoOrganismo > 118069 < / CodigoOrganismo >
< NombreOrganismo > Ilustre municipalidad of Bulnes < / NombreOrganismo >
< RutUnidad > 69.141.200 - 8 < / RutUnidad >
< CodigoUnidad > 4799 < / CodigoUnidad >
Daem < NombreUnidad > < / NombreUnidad >
< Actividad / >
< DireccionUnidad > VICTOR BIANCHI Nº415 < / DireccionUnidad >
Bulnes < ComunaUnidad > < / ComunaUnidad >
< RegionUnidad > Region del Biobio < / RegionUnidad >
< Country > CL < / Pais >
Antonella Brunetti < NombreContacto > < / NombreContacto >
Adquisiciones < CargoContacto > < / CargoContacto >
< FonoContacto > 56-42-2204053-2204054 < / FonoContacto >
< MailContacto > [email protected] < / MailContacto >
< / comprador >
< Proveedor >
< Code > 275020 < / code >
Luis < number > < / number >
< Activity > MANUFACTURING OF PAN, BLOCK PANADERIA Y PRODUCTOS < / activity >
< CodigoSucursal > 280820 < / CodigoSucursal >
Luis < NombreSucursal > < / NombreSucursal >
< RutSucursal > 5.940.940 - 9 < / RutSucursal >
< Address > Carlos Palacios 125 < / address >
Bulnes < Comuna > < / Comuna >
Region del Biobio < region > < / region >
< Country > CL < / Pais >
< NombreContacto > Luis Leonardo Valdés Landero < / NombreContacto >
Gerente < CargoContacto > < / CargoContacto >
< FonoContacto > (56) (42) 631498 < /FonoContacto >
< MailContacto > [email protected] < / MailContacto >
< / Proveedor >
elements <>
< Quantity > 7 < / quantity >
< Return >
< item >
< Correlativo > 1 < / Correlativo >
< CodigoCategoria > 30222700 < / CodigoCategoria >
< Category > items para estructuras, obras y construcciones / permanent Construcciones / industriales Construcciones < / categories >
< CodigoProducto > 30222703 < / CodigoProducto >
< product > ALMACEN Mercancias < / product >
< EspecificacionComprador > 3 LITROS BEBIDAS < / EspecificacionComprador >
< EspecificacionProveedor / >
< Number > 10 < / quantity >
< Moneda > CLP < / Moneda >
< PrecioNeto > 1550 < / PrecioNeto >
< TotalCargos > 0 < / TotalCargos >
< TotalDescuentos > 0 < / TotalDescuentos >
< TotalImpuestos > 0 < / TotalImpuestos >
< total > 15500 < / Total >
< / point >
< item >
< Correlativo > 2 < / Correlativo >
< CodigoCategoria > 30222700 < / CodigoCategoria >
< Category > items para estructuras, obras y construcciones / permanent Construcciones / industriales Construcciones < / categories >
< CodigoProducto > 30222703 < / CodigoProducto >
< product > ALMACEN Mercancias < / product >
< EspecificacionComprador > DEEMED OF 1 1/2 LITYROS < / EspecificacionComprador >
< EspecificacionProveedor / >
< Number > 10 < / quantity >
< Moneda > CLP < / Moneda >
< PrecioNeto > 1150 < / PrecioNeto >
< TotalCargos > 0 < / TotalCargos >
< TotalDescuentos > 0 < / TotalDescuentos >
< TotalImpuestos > 0 < / TotalImpuestos >
< total > 11500 < / Total >
< / point >
< item >
< Correlativo > 3 < / Correlativo >
< CodigoCategoria > 30222700 < / CodigoCategoria >
< Category > items para estructuras, obras y construcciones / permanent Construcciones / industriales Construcciones < / categories >
< CodigoProducto > 30222703 < / CodigoProducto >
< product > ALMACEN Mercancias < / product >
< EspecificacionComprador > PACKAGES SERVILLETAS < / EspecificacionComprador >
< EspecificacionProveedor / >
< Number > 8 < / quantity >
< Moneda > CLP < / Moneda >
< PrecioNeto > 170 < / PrecioNeto >
< TotalCargos > 0 < / TotalCargos >
< TotalDescuentos > 0 < / TotalDescuentos >
< TotalImpuestos > 0 < / TotalImpuestos >
< total > 1360 < / Total >
< / point >
< item >
< Correlativo > 4 < / Correlativo >
< CodigoCategoria > 30222700 < / CodigoCategoria >
< Category > items para estructuras, obras y construcciones / permanent Construcciones / industriales Construcciones < / categories >
< CodigoProducto > 30222703 < / CodigoProducto >
< product > ALMACEN Mercancias < / product >
< EspecificacionComprador > pounds OF AZÚCAR < / EspecificacionComprador >
< EspecificacionProveedor / >
< Number > 5 < / quantity >
< Moneda > CLP < / Moneda >
< PrecioNeto > 580 < / PrecioNeto >
< TotalCargos > 0 < / TotalCargos >
< TotalDescuentos > 0 < / TotalDescuentos >
< TotalImpuestos > 0 < / TotalImpuestos >
< total > 2900 < / Total >
< / point >
< item >
< Correlativo > 5 < / Correlativo >
< CodigoCategoria > 30222700 < / CodigoCategoria >
< Category > items para estructuras, obras y construcciones / permanent Construcciones / industriales Construcciones < / categories >
< CodigoProducto > 30222703 < / CodigoProducto >
< product > ALMACEN Mercancias < / product >
< EspecificacionComprador > NESCAFE < / EspecificacionComprador >
< EspecificacionProveedor / >
< Number > 2 < / quantity >
< Moneda > CLP < / Moneda >
< PrecioNeto > 3900 < / PrecioNeto >
< TotalCargos > 0 < / TotalCargos >
< TotalDescuentos > 0 < / TotalDescuentos >
< TotalImpuestos > 0 < / TotalImpuestos >
< total > 7800 < / Total >
< / point >
< item >
< Correlativo > 6 < / Correlativo >
< CodigoCategoria > 30222700 < / CodigoCategoria >
< Category > items para estructuras, obras y construcciones / permanent Construcciones / industriales Construcciones < / categories >
< CodigoProducto > 30222703 < / CodigoProducto >
< product > ALMACEN Mercancias < / product >
< EspecificacionComprador > CAJAS OF TE 20 BOWL < / EspecificacionComprador >
< EspecificacionProveedor / >
< Number > 5 < / quantity >
< Moneda > CLP < / Moneda >
< PrecioNeto > 340 < / PrecioNeto >
< TotalCargos > 0 < / TotalCargos >
< TotalDescuentos > 0 < / TotalDescuentos >
< TotalImpuestos > 0 < / TotalImpuestos >
< total > 1700 < / Total >
< / point >
< item >
< Correlativo > 7 < / Correlativo >
< CodigoCategoria > 30222700 < / CodigoCategoria >
< Category > items para estructuras, obras y construcciones / permanent Construcciones / industriales Construcciones < / categories >
< CodigoProducto > 30222703 < / CodigoProducto >
< product > ALMACEN Mercancias < / product >
TRITON GALLETAS < EspecificacionComprador > < / EspecificacionComprador >
< EspecificacionProveedor / >
< Number > 31 < / quantity >
< Moneda > CLP < / Moneda >
< PrecioNeto >420,05< / PrecioNeto >
< TotalCargos > 0 < / TotalCargos >
< TotalDescuentos > 0 < / TotalDescuentos >
< TotalImpuestos > 0 < / TotalImpuestos >
< total > 13021,550000000001 < / Total >
< / point >
< / News >
< / object >
< / OrdenCompra >
< / News >
< / Monsigniore >
However when I extract data, for example:
Select *.
from xmltable (to_char (' / Monsigniore/news/OrdenCompra/Items/News/Item[1] ''))
passage (select Orden_Detalle
of xml_Orden_Detalle
where Fecha_Ordenes = 20150101 and Correlativo_ordenes = 83)
path of columns Correlativo varchar2 (15) 'Correlativo '.
, Path of varchar2 (15) CodigoCategoria 'CodigoCategoria '.
, Path Categoria Varchar2 (100 CHAR) "category.
, Path of varchar2 (15) CodigoProducto 'CodigoProducto '.
, Path of Producto Varchar2 (100 CHAR) 'product '.
, Path of the EspecificacionComprador Varchar2 (100 CHAR) "EspecificacionComprador".
, Path of the EspecificacionProveedor Varchar2 (100 CHAR) "EspecificacionProveedor".
, Amount varchar2 (15) path 'amount '.
, Path of the Moneda Varchar2 (16 CHAR) "Moneda".
, Path of varchar2 (15) PrecioNeto 'PrecioNeto '.
, Path of varchar2 (15) TotalCargos 'TotalCargos '.
, Path of varchar2 (15) TotalDescuentos 'TotalDescuentos '.
, Path of varchar2 (15) TotalImpuestos 'TotalImpuestos '.
, Path of varchar2 (15) total 'Total '.
);
delivery the following error:
Informed of error:
SQL error: ORA-31038: Valor number no valido: "420,05."
«31038 00000 - "value not valid %s: \"%s\»»
* Cause: The text in the XML document does not represent a valid
value given the data type and other constraints in the schema.
* Action: Make sure the value specified in the XML documents is valid
regarding the data type and other constraints in the schema.
Note that extract le agenda [1] but the reported error is à la point [7]
Please If anyone can Help me with le solution for no report error
Thank you very much in advanceCarlosin Chile, the decimal point are ', 'no'.', the xml data table is OK for us
You do not understand.
Regardless of the locale, numeric values limited by a type of data XS: Decimal must use a point in a correct XML representation, otherwise, the document is not valid by the XSD.
(3) TO_CHAR (...) the code is part of a procedure
Again, do NOT build a dynamic path like that.
Why not just move through the records returned by the query (if you need close at all)?
FOR rec in)
SELECT x.*
From your_table t
XMLTABLE (...) x
)
LOOP
END LOOP;
What is the role of the v_CantItems variable? Paging?
Whence its value?
-
How can I reapply style to data in a data table Spry HTML CSS?
Hello. I have Adobe CS6 installed on my computer and am new to the use of Adobe. This is my first post. To learn Dreamweaver, I read the book Adobe Dreamweaver CS6 Classroom in a Book. I now do the Lesson 13 and will have trouble to do the part up to step 21 on page 342. I have a Spry data table in two ranks, but he lost the CSS style applied in Lesson 7. I can't reapply. For example, the title was drawn on pages 194 and 195 using the legend of table content section. To try to apply a new style, I chose the title, but did not see the style in the drop of class in the property inspector. Otherwise, I control-click on the style in the CSS Styles Panel, apply in the context menu has been grayed out. The following two sections of the Lesson 13, HTML data update and work with XML data seem to work very well however. The second data table Spry to two rows, using XML data, has all the CSS styles. The first table used in HTML, the file calendar.html (XHTML)data. I couldn't find a table called calendar.html in the folder of resources 07 lesson (step 1 on page 184). There is another difference between HTML and XML tables. When the XML table has been transformed into a Spry data set, it lost the ID created in Lesson 9. By following the instructions in step 11, page 343, it was added to the XML table. The table using HTML data kept his ID when he became a Spry data set.
Here is a screenshot showing the HTML above and XML tables downstairs.
I hope someone can explain why the table HTML lost its style CSS and how it can be reapplied. I tried to carefully follow all of the steps in the book. Thank you.
Look at the CSS file and, for example, see the following resources
. Happy section table {}
do-size: 90%;
Width: 740px;
margin left: 15px;
border-bottom-width: 3px;
border-bottom-style: solid;
border-bottom-color: #060;
border-collapse: collapse;
}
He translated means that you apply a style to an array element inside a section element that is inside an element with a class of content.
Now, take a look at the markup and see
Here we see a table inside an element with a class of content. Compared to the style rule, the section element is missing.
Add
and don't forget the closing ( ) tag. The markup becomesClasses and green events
-
to retrieve data from xml data type
Hello...
I have a doubt in the oracle database... Here's how to retrieve data from xml data type?Like this...
SQL> ed Wrote file afiedt.buf 1 with t as (select xmltype(' 2
3') as xml from dual) 12 -- 13 -- end of sample XMLDATA, use below query on your own table etc. as required 14 -- 15 select x.* 16 from t 17 ,xmltable('/DETAILS/FIELDS_VALUES/FIELD' 18 passing t.xml 19 columns name varchar2(30) path './NAME' 20 ,val varchar2(10) path './VALUE' 21* ) x SQL> / NAME VAL ------------------------------ ---------- toMonth 5 ctTestPan 1 costType 2 toYear 2012 fromMonth 12 fromYear 2011 6 rows selected.4 11 5toMonth 5 6ctTestPan 1 7costType 2 8toYear 2012 9fromMonth 12 10fromYear 2011 -
OK first of all, I will say that I am very new to LabVIEW. I only started using it last week. I'm used to other programming languages, so if I use a terminology that is not common to LabVIEW, I apologize.
What I try to do is to collect temperature data and determine when it reaches steady state. I collect data from a thermocouple USB DAQ in a loop with a user defined number of iterations. Each of these iterations will in a table. The mean and standard deviation are calculated from this table. Everything I say is done inside a while loop and the standard deviation is low enough for the while loop ends.
It works perfectly, but, there is always a but, I wanted to turn construction calculations, an average and standard deviation of array in a Subvi so that I can use it sometimes as steady state is a big part of what I test. Also in this way I don't have to have the data table appear on the front. The question that I try to convey the DAQ data in the Subvi.
No matter what help do this, or suggestions on a more elegant way to determine the State of equilibrium is greatly appreciated. I have attached the VI in its intact form and a JPEG of it with the part I want to put in a Subvi converted (boxed) in red. Hope this is enough information and if you have any questions, concerns or suggestions, do not hesitate to post. Thank you.
-Kyle
You take a single measure by the loop iteration, so to convert dynamic data to a single scalar rather than a table. Now you are left with a 1 d table after the loop and this whole mess to remodel is no longer necessary. All you nead is the Subvi to SD and the average which comes with LabVIEW and so you already have.
You have a lot of conversions. "itérations" and "numeric" should be I32 (right clic... representation...) I32)
This sequence of rube goldberg comparison is stupid. All you need is a single comparison "SD".<0.005" and="" wire="" the="" output="" to="" the="" loop="" termination="" condition.="" (btw,="" there="" is="" also="" a="" primitive="" for="">0.005"><>
Seems silly to write all the raw numbers to a file every 10ms. It is probably enough for the 'means' in a log file.
Why do you not use acquisition of single point and a loop FOR. You can not make an acquisition of hardware timed with points N and dT data, eliminating the loop FOR entirely?
-
Dear all,
OS - Windows server 2012 R2
version - 11.2.0.1.0
Server: production server
ORA-31693: Data Table object 'AWSTEMPUSER '. "' TEMPMANUALMAPRPT_273 ' failed to load/unload and being ignored because of the error:
ORA-02354: Error exporting/importing data
ORA-00942: table or view does not exist
When taken expdp and faced error mentioned above. but expdp completed successfully with waring as below.
Work "AWSCOMMONMASTER". "" FULLEXPJOB26SEP15_053001 "finished with 6 errors at 09:30:54
(1) what is the error
(2) is there any problem in the dump because file as above of the error. If Yes, then I'll resume expdp.
Please suggest me. Thanks in advance
Hello
I suspect that what has happened, is that demand has dropped a temporary table to during the time that you run the export - consider this series of events
(1) temp table created by application
(2) start expdp work - including this table
(3) the extracted table metadata
(4) the application deletes the table
(5) expdp is trying to retrieve data from the table - and gets the above error.
Just to confirm with the enforcement team that the table is just a temporary thing - it certainly seems it name.
See you soon,.
Rich
-
How to integrate the dynamic SQL generated in the data definition XML file?
Hi all
I have it here is the XML file that is attached to the definition of data model RTF as below. Also, I have a function that will return to create a dynamic query as shown below.
<?xml version="1.0" encoding="UTF-8"?> <dataTemplate name="XYZ" description="iExpenses Report" Version="1.0"> <dataQuery> <sqlStatement name="Q2"> <![CDATA[
-
MDM 2.0.1 - What is meant by the "rail" mdm data table?
What are the 'rail' mdm data table? What they contain? Examples:
* d1_dvc_k
* d1_contact_k
* d1_sp_k
* d1_install_evt_kThese tables are tables of 'key '. This concept is part of the infrastructure of the Oracle Utilities applications and is used to hold the values of the unique keys for entities among different environments. In the past it has been used for example by the engine of archive to ensure the key value of the transferred Scriptures to your archive, would still be to your live system. This would prevent the system to create a new entry with the same key as an input value in your archive.
-
Deleted lines flashback: unable to read data - table definition has changed
Hi all
Its really Important.
I unfortunately truncated a table using
Trancate table mytable;
and made an alter table to reduce the length of the pricision data.
But I need back data of tabla
I used the command to get the deleted lines, below, it shows error.
query: select * from pol_tot versions between timestamp systimestamp-1 and systimestamp;
error: ORA-01466: unable to read data - table definition has changed
query: flashback table pol_tot to timestamp systimestamp - interval '45' minutes;
error: ORA-01466: unable to read data - table definition has changed
Well want to share your ideas how can I deleted thoose Records.
Edited by: 887268 July 8, 2012 12:26This
and Made a alter table to decrease data pricision length.
is the cause of your error.
Now please do what is obvious.
-------------
Sybrand Bakker
Senior Oracle DBA -
ADFDI-05577: could not retrieve the data table on the server.
Dear all,
My use case is, when I opened my excellent work book, I have this error message is out ' ADFDI-05577: could not retrieve the data table on the server line "and when I click on the button 'OK' of the error message I can recover all the data on the server. Please help me how to solve this error?
Concerning
KTThanks much Sireesha Pinninti, John Stegeman, Arun.
Yes, my problem is of subquery. I found a solution from this site.
http://www.DBA-Oracle.com/t_ora_01427_single_row_subquery_returns_more_than_one_row.htm,
http://srinisboulevard.blogspot.com/2010/04/ora-01427-single-row-subquery-returns.html
http://StackOverflow.com/questions/3804850/erroneous-ora-01427-single-row-subquery-returns-more-than-one-row / / the answer is the last lineBefore change (error subquery)
CheckingEO.BO,
(SELECT ntr_no FROM test
WHERE cs_no = CheckingEO.CS_NO) NTR_NO
To archive the CheckingEOEdit it like this
(SELECT ntr_no FROM test
WHERE cs_no = CheckingEO.CS_NO and Rownum = 1) NTR_NO
To archive the CheckingEOConcerning
KTPublished by: KT on 23 May 2012 15:35
Published by: KT on 23 May 2012 15:48
-
Hi guru,.
I use HFM v4 and I was wondering if anyone is familiar with the tables. I have a request to the data table (AppName_DCE_3_2011) 1. I can find the join to lEntity, lAccount, Acpb, lCustom1, lCustom2, lCustom3 and lCustom4 with the exception of lValue , which consist of 2 data: 17 and 56. I have search in the list of table that can relate with lValue and I can only find AppName_VALUE_ITEM table, but the data does not match with the value of data.
Is there anyone know what is the meaning of 17 and 56 inside the lValue column?
Very much appreciate your help.
Thank you
AnnaValue item ID (an lValue) dimension for the tables of the WFD are derived from the table of CURRENCIES. The formula should be
(Currency ITEMID x 3) + 15 = Total of currency
(Currency ITEMID x 3) + 16 = currency Adj
(Currency ITEMID x 3) + 17 = currencyFor example, if your first currency is USD (ITEMID = 0) and your second currency CAD (ITEMID = 1)
$ Total = 15
Adjs USD = 16
USD = 17
Total CAD = 18
CAD Adjs = 19
CAD = 20The offset of 15 are members of the dimension value in the VALUE_ITEM table.
-Keith
-
Space occupied by a data table
Is there a way to know how much disk space is occupied by a data table?Try this:
select segment_name table_name, sum(bytes)/(1024*1024) table_size_meg from user_extents where segment_type='TABLE' and segment_name = '
' group by segment_name Replace
with your desired table name -
data tables store information of groups and users?
Hi all
I want to export all the information of users and groups on the Administration of BI tool. only I can copy them one by one. are there other methods?
who knows what data tables store information of groups and users?
Thank you
Dan.Hi dan,.
As you can not access the link which is very informative. Never I've implemented it but john's suggestion, it should work
Courtesy John: -.
OBIEE get all RPD users
I had to get all the users a repository very large because they where to implement a new security model. Wrote a small script to make life easier:' Read_Users.VBS
"John Minkjan
"http:// http://www.obiee101.blogspot.com/
' Get all the users from a repository
1: do an export the PRD UDML using nqgenudml.exe
2: change the location/name of file in this script
3: run the script in the cscript Read_Users.VBS command line > users.txt
Set objFSO = CreateObject ("Scripting.FileSystemObject")"this point your EXPORTSet UDML
objFile = objFSO.OpenTextFile ("E:\names.txt", ForReading)Const ForReading = 1
Dim arrFileLines()
Dim strRLinedim strTemp1dim strTemp2I have = 0
Up to objFile.AtEndOfStream
strRline = objFile.ReadLine
If left(strRline,12) = "USER to DECLARE" then
ReDim Preserve arrFileLines (i)
arrFileLines (i) = strRline
i = i + 1
end if
LoopobjFile.Close
"Then you can iterate over it like that"
For each strLine in arrFileLines
strTemp1 = MID (strLine, 15: 50)
IF instr (strline,"}" ") > 0 THEN
strTemp2 = MID (strLine, instr(strline,"{") + 1, (instr(strline,"}") - (instr(strline,"{") + 1))) ELSE strTemp2 = «»
END IF
WScript.Echo MID (strTemp1, 1, instr(strTemp1, """)-1) &"; '& strtemp2 '.
NextOBIEE get all users and roles of RPD
In this http://obiee101.blogspot.com/2009/06/obiee-get-all-users-from-rpd.html post I showed you how to get users to the RPD. That take as a point of departure it is a small step to get users and roles they have and put the export in a XLS:' Read_Usergroups.VBS 'John Minkjan' http: / / http://www.obiee101.blogspot.com/
' Get all the users from a repository
1: do an export the PRD UDML using nqgenudml.exe
2: change the location/name of file in this script
3: run the script in the cscript Read_Usergroups.VBS command line > users.txt
4: put the export in a pivot table XLSSet objFSO = CreateObject ("Scripting.FileSystemObject")
"this point your EXPORT UDML
Set objFile = objFSO.OpenTextFile ("E:\usergroup.txt", ForReading)
Const ForReading = 1
Dim arrFileLines()
Dim strRLine
Dim strTemp1
Dim strTemp2
Dim strTemp3
Dim intRoles
intRoles = 0
I have = 0
WScript.Echo "username; FULL_NAME; ROLE; COUNT. "
Up to objFile.AtEndOfStream
strRline = objFile.ReadLine
If left(strRline,12) = arrFileLines (i) 'DECLARE the USER', then Redim Preserve
strTemp1 = MID (strRLine, 15, 50)
strTemp1 = MID (strTemp1, 1, instr(strTemp1, """)-1)
IF instr (strRline,"}" ") > 0 THEN
strTemp2 = MID (strRLine, instr(strRline,"{") + 1, (instr(strRline,"}") - (instr(strRline,"{") + 1)))
ON THE OTHER
strTemp2 = «»
END IF
arrFileLines (i) = strTemp1 &"; "& strtemp2
intRoles = 1
i = i + 1
end if
If intRoles > = 1 then
If instr (strRline, "has ROLES (" ") > 0 then
intRoles = 2
end if
If intRoles = 2 and instr (strRline, "a of the ROLES (" ") = 0 then
strTemp3 = MID (strRline, instr (strRline, "" "") + 1.50)
strTemp3 = MID (strTemp3, 1, instr(strTemp3, """)-1)
WScript.Echo arrFileLines(i-1) &"; "& strTemp3 &"; 1 "
end if
If intRoles = 2 and instr (strRline)",") > 0 then intRoles = 0
end if
end ifLoop
objFile.CloseUPDATE POST
Is your on the right track, work these steps you will find glory... I force try it or needed me.hope helped you
Kind regards
Murielle.Published by: Kranthi.K on June 1st, 2011 02:28
-
Export model data as xml does not work
Please advice on this subject? I created a template with editable regions - index.dwt, but when I try to export the model as xml - it is greyed out. I read another thread in this forum, but I'm not clear on the second stage of the given statement. Please click on the header to see step 2 on a previous thread.
Please notify.
THX
Now that you have a template file, you can create a page by using the template file. Have a look here http://help.adobe.com/en_US/Dreamweaver/10.0_Using/WSc78c5058ca073340dcda9110b1f693f21-7ef da.html.
Once you have created the page, you can export as XML.
GRAMPS
Maybe you are looking for
-
iTunes not opening on El Capitan
iiTunes does not open, just icon bouncing and says that the program is not responding. I tried utilities, permissions. Uninstalling and reinstalling. Wiped my imac and reinstalled El Capitan STILL NO JOY... Someone at - it solutions to help me? Thank
-
dc7800 minitower: dc 7800 - 32 or 64 bit?
Operating system on the hard drive was wiped out and was crushed in vain (had he no recovery disk) so I can't access operating system. How will I know if it is 32 or 64 bit system so that I can install the new OEM operating system? Thank you.
-
linking the two sliders property nodes in a graph
Hello I had a chart with 2 sliders. And I have to be able to set the coordinates of each cursor using nodes of property. "However, if I click on the mouse button right button - create - node - cursor - property cursor position - there are only 3 poss
-
Updates automatic XP does not work
Marlyn says enter: net stop wuauserv - ENTER. Had "system error 5 has occurred." - access denied. Also, I can't delete the catroot2. I get "it is used by the qanother program."
-
How disconnec to the "rocket"?
Hello: I have several computers and a rocket. I move around computer to computer, but one of the things that I find confusing is the lack of some sort of "eject" or "it shutting down. There are no icons on the taskbar. There is nothing in the Media C