Nested XML Output in PL/SQL

I need to generate XML that looks like this:
<Person>
<Name>
<FirstName>IMA</FirstName>
<MiddleName>ANOTHER</MiddleName>
<LastName>TEST</LastName>
<BirthDate>04/05/1982</BirthDate>
</Name>
<IDDetails>
<SSNID>234-23-3333</SSNID>
<OtherID>19781</OtherID>
</IDDetails>
<PhysicalDetails>
<Weight>145</Weight>
<EyeColor>BLUE</EyeColor>
<HairColor></HairColor>
<Sex>FEMALE</Sex>
<Race>BLACK</Race>
<SkinToneText></SkinTone>
</PhysicalDetails>
<SocialDetails>
<Ethnicity>UNKNOWN</Ethnicity>
<Language>ENGLISH</Language>
</SocialDetails>
<Address>
<Street>123 Somewhere Street</Street>
<City>AnyWhere</City>
<State>Confusion</State>
<Zip>99999</Zip>
</Address>
</Person>
I was able to sucessfully generate it in SQL by creating a view using this code:
create or replace view person_xml_view as
select
xmlelement("Person",
xmlelement("Name",
xmlelement("FirstName", first_name),
xmlelement("MiddleName",middle_name),
xmlelement("LastName",last_name),
xmlelement("BirthDate",to_char(date_of_birth,''MM/DD/YYYY''))),
xmlelement("IDDetails",
xmlelement("SSN",b.external_number),
xmlelement("OtherID",a.mni)),
xmlelement("PhysicalDetails",
xmlelement("Weight",a.weight),
xmlelement("EyeColor",a.eye_color),
xmlelement("HairColor",a.hair_color),
xmlelement("Sex",a.sex),
xmlelement("Race",a.race),
xmlelement("SkinTone",a.skin_tone)),
xmlelement("SocialDetails",
xmlelement("Ethnicity",ethnicity),
xmlelement("Language",language)),
xmlelement("Address",
xmlelement("Street",c.address),
xmlelement("City",c.city),
xmlelement("State",c.state),
xmlelement("Zip",c.zip)))
as result from
names a,
numbers b,
addresses c
where
(a.mni = b.mni (+) AND
b.number_type (+) = 'SOCIAL SECURITY NUMBER') AND
(a.mni = c.mni (+) AND
c.current_address_flag (+)= 'T') AND
a.MNI = 19781);
My end goal is to write a function that returns the XML back to the caller, but when I the dbms_xmlgen I can't get the sub-tags to be inserted correctly. Here's the code as it is today:
FUNCTION GETXML
( v_pk IN Number)
RETURN xmltype as out xmltype;
ctx dbms_xmlgen.ctxhandle;
BEGIN
ctx := dbms_xmlgen.newcontext('select a.first_name as "FirstName",
a.middle_name as "MiddleName",
a.last_name as "LastName",
to_char(a.date_of_birth,''MM/DD/YYYY'') AS "BirthDate",
b.external_number as "SSNID",
a.mni as "OtherID",
a.weight as "Weight",
a.eye_color as "EyeColor",
a.hair_color as "HairColor",
a.sex as "Sex",
a.race as "Race",
a.skin_tone as "SkinTone",
a.ethnicity as "Ethnicity",
a.language as "Language",
c.address as "Street",
c.city as "City",
c.state as "State",
c.zip as "Zip"
from
names a,
numbers b,
addresses c
where
(a.mni = b.mni (+) AND
b.number_type (+) = ''SOCIAL SECURITY NUMBER'') AND
(a.mni = c.mni (+) AND
c.current_address_flag (+)= ''T'') AND
a.MNI = '||V_MNI);
dbms_xmlgen.setrowsettag(ctx,'Person');
dbms_xmlgen.setrowtag(ctx,'Name');
dbms_xmlgen.setrowtag(ctx,'IDDetails');
dbms_xmlgen.setrowtag(ctx,'PhysicalDetails');
dbms_xmlgen.setrowtag(ctx,'SocialDetails');
dbms_xmlgen.setrowtag(ctx,'Address');
out := dbms_xmlgen.getxmltype(ctx);
dbms_xmlgen.closecontext(ctx);
return out;
END;
How do you do the nested tags?

Hi,
Here is simple way of genrating nested XML.
FUNCTION GETXML
( v_pk IN Number)
RETURN sys.XMLType
CURSOR C1
IS
xmlelement("Person",
xmlelement("Name",
xmlforest(first_name as "FirstName",
middle_name as "MiddleName",
last_name as "LastName",
to_char(date_of_birth,''MM/DD/YYYY'') as"BirthDate"),
xmlelement("IDDetails",
xmlforest(b.external_number as "SSN",
a.mni as "OtherID")),
xmlelement("PhysicalDetails",
xmlforest(a.weight as "Weight",
a.eye_color as "EyeColor",
a.hair_color as "HairColor",
a.sex as "Sex",
a.race as "Race",
a.skin_tone as "SkinTone")),
xmlelement("SocialDetails",
xmlforest(ethnicity as "Ethnicity",
language as "Language")),
xmlelement("Address",
xmlforest(c.address as "Street",
c.city as "City",
c.state as "State",
c.zip as "Zip")) as result
from
names a,
numbers b,
addresses c
where
(a.mni = b.mni (+) AND
b.number_type (+) = 'SOCIAL SECURITY NUMBER') AND
(a.mni = c.mni (+) AND
c.current_address_flag (+)= 'T') AND
a.MNI = 19781);
v_xml sys.XMLType
BEGIN
open c1;
fetch c1 into v_xml;
close c1;
return v_xml;
END
In short use xmlforest to genrate inner child tags.

Similar Messages

  • Xml output format in sql*plus problem

    Hi all,
    In stead of seeing xml output in multiple line format, my sql*plus always returns xml output in ONE line, is there a way to change the format, it's really hard to read.
    Thanks
    1 select xmlelement("row", xmlelement("user", xmlattributes(username as "name", default_tablespa
    2 from dba_users
    3* where rownum=1
    SQL>/
    XMLELEMENT("ROW",XMLELEMENT("USER",XMLATTRIBUTES(USERNAMEAS"NAME",DEFAULT_TABLES
    <row><user name="SYS" tbs="SYSTEM"></user></row>
    however I want to see something well formatted like
    <row>
    <user name="SYS" tbs="SYSTEM"></user>
    </row>

    Not sure if there are any settings with the SQL*PLUS but if you use packages other than the SQLX operators like DBMS_XMLQUERY, DBMS_XMLGEN, SYS_XMLGEN to generate xml then the output is as desired.
    select dbms_xmlgen.getxml('select username, default_tablespace from dba_users
    where rownum=1') from dual
    DBMS_XMLGEN.GETXML('SELECTUSERNAME,DEFAULT_TABLESPACEFROMDBA_USERSWHEREROWNUM=1'
    <?xml version="1.0"?>
    <ROWSET>
    <ROW>
    <USERNAME>REVIEW</USERNAME>
    <DEFAULT_TABLESPACE>METRICS</DEFAULT_TABLESPACE>
    </ROW>
    </ROWSET>
    But these packages does not offer the flexibility you have with SQLX operators.
    so if you requirement is simple generation you can use the above method.

  • JDev generated webservices encodes XML output from PL/SQL procedure

    I have a PL/SQL packaged procedure which takes some input parameters and produces one output parameter. The output parameter is of type CLOB and after the procedure has run, it contains a big piece of XML data.
    Using JDeveloper 10.1.3.1, I've published this packaged procedure as a webservice. The generated webservice is fine and works, except for one tiny little issue: the XML that is taken from the output parameter is encoded.
    Here is an example of the SOAP message that the webservice returns:
    <?xml version="1.0" encoding="UTF-8"?>
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:ns0="http://gbv0300u/GBV0300U.wsdl/types/"><env:Body><ns0:gbv0300uResponse
    Element><ns0:result><ns0:obvglijstOut> & gt;type>GBV0001& gt ;/type& lt;
    & gt;diensten& lt;
    & gt;dienst>some value& gt;/dienst& lt;
    & gt;/diensten& lt;
    </ns0:obvglijstOut></ns0:result></ns0:gbv0300uResponseElement></env:Body></env:Envelope>
    (I've manually added an extra space between the & and lt; or gt; to make sure a browser will not translate it into a < or >!)
    The contents of the <ns0:obvglijstOut> element are filled with the output parameter from the PL/SQL package.
    How can I change the generated webservice, so the output from the PL/SQL package is used as is instead of being encoded?

    Update: I've tested a bit more by adding some output statements to the java code that JDeveloper generated. I'm now 100% sure the PL/SQL code gives the XML data correctly to the webservice.
    At this moment my guess is that somewhere in the WSDL definition there is something that enables the encoding of the data. But I'm not sure.
    Any help is greatly appreciated.

  • Nested XML output in relational format

    I have serious performance issue in converting the relational xml in to relational table.
    Below is my query which works good if number of nodes are around <100.
    I have issue if number of node is more then 500.I have requirement where the number of nodes can be >5000.
    I am using Oracle 11g R2.
    Appreciate the help in tuning this or any alternative for this.
    Thanks,
    WITH t1
           AS (SELECT xmltype('<Id_359328 prodId="101265" prodName="Computer">
      <Id_359329  prodId="101788" prodName="C1">
        <Id_359330 prodId="175" prodName="C2"/>
        <Id_359331 prodId="101766" prodName="C3"/>
      </Id_359329>
      <Id_388909 prodId="100654" prodName="C4"/>
      <Id_388191 prodId="100672" prodName="C5"/>
      <Id_388927 prodId="100625" prodName="C6"/>
      <Id_359332 prodId="101766" prodName="C7">
        <Id_359380 prodId="100651" prodName="C8" />
        <Id_359334 prodId="100643" prodName="C9">
          <Id_359337 prodId="101788" prodName="C10">
            <Id_359338 prodId="175" prodName="C11"/>
            <Id_359339 prodId="101766" prodName="C12"/>
          </Id_359337>
        </Id_359334>
        <Id_359336 prodId="101860" prodName="C13"/>
      </Id_359332>
    </Id_359328>')
                         t1_val
               FROM DUAL)
    SELECT ROWNUM rn, id, prod_id, prnt_id
    FROM t1,
         XMLTABLE ('for $i in $doc/descendant::*
                             return <ROW><Id>{name($i)}</Id>
                             <PROD_ID>{data($i/@prodId)}</PROD_ID>
                              <PRNT_ID>{name($i/..)}</PRNT_ID>
                                                    </ROW>'
                      PASSING t1.t1_val AS "doc"
                      COLUMNS id VARCHAR2 (100) PATH '/ROW/Id',
                              prod_id NUMBER PATH '/ROW/PROD_ID',
                              prnt_id VARCHAR2 (100) PATH '/ROW/PRNT_ID'
    ORDER BY ROWNUM
    Output
    RN     ID             PROD_ID     PRNT_ID
    1     Id_359328     101265     
    2     Id_359329     101788     Id_359328
    3     Id_359330     175     Id_359329
    4     Id_359331     101766     Id_359329
    5     Id_388909     100654     Id_359328
    6     Id_388191     100672     Id_359328
    7     Id_388927     100625     Id_359328
    8     Id_359332     101766     Id_359328
    9     Id_359380     100651     Id_359332
    10     Id_359334     100643     Id_359332
    11     Id_359337     101788     Id_359334
    12     Id_359338     175     Id_359337
    13     Id_359339     101766     Id_359337
    14     Id_359336     101860     Id_359332Edited by: ravit on Apr 20, 2010 4:43 PM

    Hi,
    I agree with damorgan, XQuery processing requires some ressources and it could help to have some of your system specs and settings.
    Anyway, tuning is not my specialty but I can give you an alternative.
    You could move the XQuery logic to an XSLT stylesheet and transform the document before passing it to XMLTable.
    For example :
    Creating sample data like yours...
    CREATE TABLE test_tree AS
    SELECT n,
           power(10,p)*(1+trunc(n/power(10,p))) p
    FROM (
      SELECT level n,
             nvl(length(regexp_substr(level,'0+$')),0)+1 p
      FROM dual
      CONNECT BY level < 10000
    UNION ALL
    SELECT 10000, null FROM dual
    CREATE TABLE test_xml (
    doc1 xmltype,
    doc2 xmltype
    DECLARE
    ctx dbms_xmlgen.ctxHandle;
    doc xmltype;
    xsl xmltype := xmltype(
    '<?xml version="1.0"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="xml"/>
    <xsl:template match="/">
    <root>
      <xsl:apply-templates/>
    </root>
    </xsl:template>
    <xsl:template match="*">
    <ROW Id="{name(.)}">
      <PROD_ID><xsl:value-of select="@prodId"/></PROD_ID>
      <PRNT_ID><xsl:value-of select="name(..)"/></PRNT_ID>
    </ROW>
    <xsl:apply-templates/>
    </xsl:template>
    </xsl:stylesheet>'
    BEGIN
    -- hierarchical XML generation :
    ctx := dbms_xmlgen.newContextFromHierarchy(
    'select level,
             xmlelement(evalname(''Id_''||to_char(n,''fm09999'')),
               xmlattributes( to_char(n) as "prodId",
                              ''C''||to_char(n) as "prodName" )
      from test_tree
      connect by prior n = p
      start with p is null'
    doc := dbms_xmlgen.getXMLType(ctx);
    dbms_xmlgen.closeContext(ctx);
    INSERT INTO test_xml VALUES(doc, doc.transform(xsl));
    COMMIT;
    END;
    /Now, TEST_XML.DOC1 holds the original document, DOC2 holds the result of the transformation :
    <root>
      <ROW Id="Id_10000">
        <PROD_ID>10000</PROD_ID>
        <PRNT_ID>#document</PRNT_ID>
      </ROW>
      <ROW Id="Id_01000">
        <PROD_ID>1000</PROD_ID>
        <PRNT_ID>Id_10000</PRNT_ID>
      </ROW>
      <ROW Id="Id_00100">
        <PROD_ID>100</PROD_ID>
        <PRNT_ID>Id_01000</PRNT_ID>
      </ROW>
      <ROW Id="Id_00010">
        <PROD_ID>10</PROD_ID>
        <PRNT_ID>Id_00100</PRNT_ID>
      </ROW>
      <ROW Id="Id_09997">
        <PROD_ID>9997</PROD_ID>
        <PRNT_ID>Id_10000</PRNT_ID>
      </ROW>
      <ROW Id="Id_09998">
        <PROD_ID>9998</PROD_ID>
        <PRNT_ID>Id_10000</PRNT_ID>
      </ROW>
      <ROW Id="Id_09999">
        <PROD_ID>9999</PROD_ID>
        <PRNT_ID>Id_10000</PRNT_ID>
      </ROW>
    </root>Then we can execute the query on DOC2:
    SELECT rn, id, prod_id, prnt_id
    FROM test_xml x,
         XMLTable(
          '/root/ROW'
          passing x.doc2
          columns
            id      VARCHAR2(100) path '@Id',
            prod_id NUMBER        path 'PROD_ID',
            prnt_id VARCHAR2(100) path 'PRNT_ID',
            rn      FOR ORDINALITY
    ;On my environment, 10000 records fetched in about 18s.

  • SQL * Plus to XML output

    Hi,
    I have a requirement for a report , report output should be in Excel.
    I created a sql query using user defined functions and inline query. I registered the query in concurrent program with XML output. When I run the request i'm getting the below error
    The XML page cannot be displayed
    Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
    Invalid at the top level of the document. Error processing resource 'http://opusapp1.co.pinellas.fl.us:8010/OA_CGI/FNDWRR.e...
    If the output is text then i got the output. I need the XML output, so that i can create XML template.
    Thanks for your help.

    Please post the details of the application release, database version and OS.
    Please see if (Report Output Error: The XML page cannot be displayed. Cannot view XML input using style sheet. [ID 753620.1]) helps.
    Also, see old threads for similar discussion about generating Excel output format -- http://forums.oracle.com/forums/search.jspa?threadID=&q=Excel+AND+XML+AND+Publisher&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Extract XML output to file using PL/SQL

    Hi.
    Since Oracle 8.1.4.7.1 I am using XML output in my applications.
    With that version of Oracle, my method was:
    1. Make the select;
    2. Create a file somewhere in my C drive;
    3. Create the XML file header;
    3. For each row, insert into the file, with the correct format;
    4. Close the file;
    ... and, voilá ... the XML file was made.
    Now, with the Oracle 10g, I know that I have much more ways to do it:
    1. Package DBMS_XMLQUERY
    2. Statements like
    "SELECT XMLELEMENT("USERS", XMLELEMENT("nome_pessoa", e.nome_pessoa ||' - '|| e.login), XMLELEMENT ( "password", e.password)) AS "result"
    FROM pessoa e"
    3. Or finally using XML SQL Utility.
    My question, is that if there is any way that i can make it all of this automatically. If there is any procedure or method that allow me to do all this stuff in just one step:
    1. Select in XML output;
    2. Creation of file;
    3. Insertion of Select output in file and Close of File;
    Thankx,

    I'm assuming that you want to write to the file system of the server that the database is running on...
    you'll have to use utl_file
    See
    http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/appdev.920/a96612/u_file.htm

  • XML Output with nesting of group

    Hi,
    Not sure if this is even possible to resolve but I figured I might as well ask.
    I have a report which is built using a Reference Cursor which outputs to XML. The data is coming back exactly as expected so I am happy that the cursor is working.
    I am now moving into trying to make the report a bit more advanced.
    My aim is to get the XML output looking like:
    <?xml version="1.0" encoding="WINDOWS-1252"?>
    <!-- Generated by Oracle Reports version 9.0.2.0.3 -->
    <TEST1>
    <STANDARD1>
    <IDENTIFIER>000005385/7743198743</IDENTIFIER>
    <RUNDATE>21-AUG-09</RUNDATE>
    <TABLE1>
    <TABLE1_FIELD1>000708</TABLE1_FIELD1>
    <TABLE1_FIELD2>ABCDEF</TABLE1_FIELD2>
    <TABLE1_FIELD3>123456</TABLE1_FIELD3>
    </TABLE1>
    <TABLE2>
    <TABLE2_FIELD1>Happy</TABLE2_FIELD1>
    <TABLE2_FIELD2>Days</TABLE2_FIELD2>
    <TABLE2_FIELD3>Are Here</TABLE2_FIELD3>
    </TABLE2>
    </STANDARD1>
    </TEST1>
    At the moment the best that I can seem to do is the following using Break Groups.
    <?xml version="1.0" encoding="WINDOWS-1252"?>
    <!-- Generated by Oracle Reports version 9.0.2.0.3 -->
    <TEST>
    <STANDARD1>
    <IDENTIFIER>000005385/7743198743</IDENTIFIER>
    <RUNDATE>21-AUG-09</RUNDATE>
    <TABLE1>
    <TABLE1_FIELD1>000708</TABLE1_FIELD1>
    <TABLE1_FIELD2>ABCDEF</TABLE1_FIELD2>
    <TABLE1_FIELD3>123456</TABLE1_FIELD3>
    <TABLE2>
    <TABLE2_FIELD1>Happy</TABLE2_FIELD1>
    <TABLE2_FIELD2>Days</TABLE2_FIELD2>
    <TABLE2_FIELD3>Are Here</TABLE2_FIELD3>
    </TABLE2>
    </TABLE1>
    </STANDARD1>
    </TEST>
    So the Table2 tags are a child of the Table1 grouping. In reality the table2 information should be at the same level as table1.
    Is there anyway in Oracle Reports where you can create the equivilant of a break group but allow multiple groups to have the same level?
    My aim is to allow multiple groups (at least 8) that are a subset of the STANDARD1 tag, but are all at the same level.
    Any ideas?
    Thanks in advance,
    Leanne

    I am facing same problem when i generate the xml from oracle reports. did you get any solution from this problem.
    Thanks in advance,

  • Nesting xml in Oracle 8i

    How to generate nested xml/ complex xml in Oracle 8i using 8i packages dbms_xmlquery or xmlgen .
    The xml might be looked like this..
    if any body have idea then pls let me know.
    i am trying to write Stored procedure on that i am using query like select c1,c2, cursor(c3,c4 from xyb) from ABC
    but not getting required output
    <?xml version="1.0" ?>
    - <File>
    <File_Type>ETNL_TRAVELR_PAYMENTS</File_Type>
    - <File_Header_Record>
    <File_Format_Version>0002</File_Format_Version>
    <Creation_Module />
    </File_Header_Record>
    - <Transaction>
    <Transaction_Type>FT_TRANS_IMP</Transaction_Type>
    - <Transaction_Header>
    <Record_Number>1</Record_Number>
    <Urgent>N</Urgent>
    </Transaction_Header>
    - <Model_Info>
    - <Model_ID>
    - <![CDATA[ FF DOM EXT PAY
      ]]>
    </Model_ID>
    </Model_Info>
    - <Transfer_Info>
    <Charges>15</Charges>
    </Transfer_Info>
    - <Amounts>
    - <Transaction_Amount>
    <Amount>154.00</Amount>
    <Currency>GBP</Currency>
    </Transaction_Amount>
    </Amounts>
    - <Dates>
    <Trusted_Source>N</Trusted_Source>
    <Value_Date />
    </Dates>
    - <Bank_Account>
    <Bank_Account_Type>DR</Bank_Account_Type>
    - <Bank>
    - <Bank_Route_Code>
    <Code_Type>K</Code_Type>
    </Bank_Route_Code>
    </Bank>
    - <Account>
    <Account_ID>D562</Account_ID>
    </Account>
    </Bank_Account>
    - <Bank_Account>
    <Bank_Account_Type>CR</Bank_Account_Type>
    - <Bank>
    - <Bank_Route_Code>
    <Code_Type>K</Code_Type>
    - <Code>
    - <![CDATA[ 538111
      ]]>
    </Code>
    </Bank_Route_Code>
    - <Bank_Address_Info>
    - <Name>
    - <![CDATA[ Natwest
      ]]>
    </Name>
    - <Street1>
    - <![CDATA[ Long Sutton Branch
      ]]>
    </Street1>
    - <Street2>
    - <![CDATA[ 25 market Place
      ]]>
    </Street2>
    - <City>
    - <![CDATA[ Spalding
      ]]>
    </City>
    <Country>GB</Country>
    </Bank_Address_Info>
    </Bank>
    - <Account>
    - <Account_Number>
    - <![CDATA[ 12345678
      ]]>
    </Account_Number>
    - <Account_Address_Info>
    - <Name>
    - <![CDATA[ John Doe
      ]]>
    </Name>
    - <Street1>
    - <![CDATA[ Employee Addr1
      ]]>
    </Street1>
    - <Street2>
    - <![CDATA[ Employee Addr2
      ]]>
    </Street2>
    - <City>
    - <![CDATA[ EmployeeCity
      ]]>
    </City>
    <Country_Sub_Entity />
    <Postal>CF375YL</Postal>
    <Country>GB</Country>
    </Account_Address_Info>
    </Account>
    </Bank_Account>
    - <Payment_Details_Or_Addenda>
    - <Details_Text>
    - <![CDATA[ PAY OHRID: 100000999
      ]]>
    </Details_Text>
    </Payment_Details_Or_Addenda>
    - <Comments>
    - <Comment_Text>
    - <![CDATA[ NONE
      ]]>
    </Comment_Text>
    </Comments>
    - <References>
    - <Reference>
    <Reference_Type>FBNF</Reference_Type>
    - <Reference_Value>
    - <![CDATA[ INVOICE 20021004001542
      ]]>
    </Reference_Value>
    </Reference>
    - <Reference>
    <Reference_Type />
    - <Reference_Value>
    - <![CDATA[
      ]]>
    </Reference_Value>
    </Reference>
    - <Reference>
    <Reference_Type>FMAILEN</Reference_Type>
    - <Reference_Value>
    - <![CDATA[ [email protected]
      ]]>
    </Reference_Value>
    </Reference>
    </References>
    </Transaction>
    + <Transaction>
    <Transaction_Type>FT_TRANS_IMP</Transaction_Type>
    + <Transaction_Header>
    <Record_Number>2</Record_Number>
    <Urgent>N</Urgent>
    </Transaction_Header>
    + <Model_Info>
    - <Model_ID>
    - <![CDATA[ FF DOM EXT PAY
      ]]>
    </Model_ID>
    </Model_Info>
    + <Transfer_Info>
    <Charges>15</Charges>
    </Transfer_Info>
    - <Amounts>
    - <Transaction_Amount>
    <Amount>46.00</Amount>
    <Currency>EUR</Currency>
    </Transaction_Amount>
    </Amounts>
    - <Dates>
    <Trusted_Source>N</Trusted_Source>
    <Value_Date />
    </Dates>
    - <Bank_Account>
    <Bank_Account_Type>DR</Bank_Account_Type>
    - <Bank>
    - <Bank_Route_Code>
    <Code_Type>G</Code_Type>
    </Bank_Route_Code>
    </Bank>
    - <Account>
    <Account_ID>D202</Account_ID>
    </Account>
    </Bank_Account>
    - <Bank_Account>
    <Bank_Account_Type>CR</Bank_Account_Type>
    - <Bank>
    - <Bank_Route_Code>
    <Code_Type>G</Code_Type>
    - <Code>
    - <![CDATA[ 234543
      ]]>
    </Code>
    </Bank_Route_Code>
    - <Bank_Address_Info>
    - <Name>
    - <![CDATA[
      ]]>
    </Name>
    - <Street1>
    - <![CDATA[
      ]]>
    </Street1>
    - <Street2>
    - <![CDATA[
      ]]>
    </Street2>
    - <City>
    - <![CDATA[
      ]]>
    </City>
    <Country />
    </Bank_Address_Info>
    </Bank>
    - <Account>
    - <Account_Number>
    - <![CDATA[ DE65100700000123456789
      ]]>
    </Account_Number>
    - <Account_Address_Info>
    - <Name>
    - <![CDATA[ Test User
      ]]>
    </Name>
    - <Street1>
    - <![CDATA[ Employee Addr1
      ]]>
    </Street1>
    - <Street2>
    - <![CDATA[ Employee Addr2
      ]]>
    </Street2>
    - <City>
    - <![CDATA[ Berlin
      ]]>
    </City>
    <Country_Sub_Entity />
    <Postal>1234323</Postal>
    <Country>DE</Country>
    </Account_Address_Info>
    </Account>
    </Bank_Account>
    - <Payment_Details_Or_Addenda>
    - <Details_Text>
    - <![CDATA[ PAY OHRID: 100000888
      ]]>
    </Details_Text>
    </Payment_Details_Or_Addenda>
    - <Comments>
    - <Comment_Text>
    - <![CDATA[ NONE
      ]]>
    </Comment_Text>
    </Comments>
    - <References>
    - <Reference>
    <Reference_Type>FBNF</Reference_Type>
    - <Reference_Value>
    - <![CDATA[ INVOICE 20021101001053
      ]]>
    </Reference_Value>
    </Reference>
    - <Reference>
    <Reference_Type />
    - <Reference_Value>
    - <![CDATA[
      ]]>
    </Reference_Value>
    </Reference>
    - <Reference>
    <Reference_Type>FMAILEN</Reference_Type>
    - <Reference_Value>
    - <![CDATA[ [email protected]
      ]]>
    </Reference_Value>
    </Reference>
    </References>
    </Transaction>
    + <Transaction>
    <Transaction_Type>FT_TRANS_IMP</Transaction_Type>
    + <Transaction_Header>
    <Record_Number>3</Record_Number>
    <Urgent>N</Urgent>
    </Transaction_Header>
    + <Model_Info>
    - <Model_ID>
    - <![CDATA[ FF INTL EXT PAY
      ]]>
    </Model_ID>
    </Model_Info>
    + <Transfer_Info>
    <Charges>15</Charges>
    </Transfer_Info>
    + <Amounts>
    + <Transaction_Amount>
    <Amount>265.00</Amount>
    <Currency>EUR</Currency>
    </Transaction_Amount>
    </Amounts>
    + <Dates>
    <Trusted_Source>N</Trusted_Source>
    <Value_Date />
    </Dates>
    + <Bank_Account>
    <Bank_Account_Type>DR</Bank_Account_Type>
    - <Bank>
    - <Bank_Route_Code>
    <Code_Type>S</Code_Type>
    </Bank_Route_Code>
    </Bank>
    - <Account>
    <Account_ID>D202</Account_ID>
    </Account>
    </Bank_Account>
    + <Bank_Account>
    <Bank_Account_Type>CR</Bank_Account_Type>
    - <Bank>
    - <Bank_Route_Code>
    <Code_Type>S</Code_Type>
    - <Code>
    - <![CDATA[
      ]]>
    </Code>
    </Bank_Route_Code>
    + <Bank_Address_Info>
    - <Name>
    - <![CDATA[
      ]]>
    </Name>
    - <Street1>
    - <![CDATA[
      ]]>
    </Street1>
    - <Street2>
    - <![CDATA[
      ]]>
    </Street2>
    - <City>
    - <![CDATA[
      ]]>
    </City>
    <Country />
    </Bank_Address_Info>
    </Bank>
    + <Account>
    - <Account_Number>
    - <![CDATA[ NL02ABNA0123456789
      ]]>
    </Account_Number>
    - <Account_Address_Info>
    - <Name>
    - <![CDATA[ New User
      ]]>
    </Name>
    - <Street1>
    - <![CDATA[ Employee Addr1
      ]]>
    </Street1>
    - <Street2>
    - <![CDATA[ Employee Addr2
      ]]>
    </Street2>
    - <City>
    - <![CDATA[ Ansterdam
      ]]>
    </City>
    <Country_Sub_Entity />
    <Postal>34242</Postal>
    <Country>NL</Country>
    </Account_Address_Info>
    </Account>
    </Bank_Account>
    + <Payment_Details_Or_Addenda>
    - <Details_Text>
    - <![CDATA[ PAY OHRID: 100000777
      ]]>
    </Details_Text>
    </Payment_Details_Or_Addenda>
    + <Comments>
    + <Comment_Text>
    - <![CDATA[ NONE
      ]]>
    </Comment_Text>
    </Comments>
    + <References>
    + <Reference>
    <Reference_Type>FBNF</Reference_Type>
    - <Reference_Value>
    - <![CDATA[ INVOICE 20021101001025
      ]]>
    </Reference_Value>
    </Reference>
    + <Reference>
    <Reference_Type />
    - <Reference_Value>
    - <![CDATA[
      ]]>
    </Reference_Value>
    </Reference>
    + <Reference>
    <Reference_Type>FMAILEN</Reference_Type>
    - <Reference_Value>
    - <![CDATA[ [email protected]
      ]]>
    </Reference_Value>
    </Reference>
    </References>
    </Transaction>
    + <Transaction>
    <Transaction_Type>FT_TRANS_IMP</Transaction_Type>
    - <Transaction_Header>
    <Record_Number>4</Record_Number>
    <Urgent>N</Urgent>
    </Transaction_Header>
    - <Model_Info>
    - <Model_ID>
    - <![CDATA[ FF INTL EXT PAY
      ]]>
    </Model_ID>
    </Model_Info>
    - <Transfer_Info>
    <Charges>15</Charges>
    </Transfer_Info>
    - <Amounts>
    - <Transaction_Amount>
    <Amount>34.70</Amount>
    <Currency>EUR</Currency>
    </Transaction_Amount>
    </Amounts>
    - <Dates>
    <Trusted_Source>N</Trusted_Source>
    <Value_Date />
    </Dates>
    - <Bank_Account>
    <Bank_Account_Type>DR</Bank_Account_Type>
    - <Bank>
    - <Bank_Route_Code>
    <Code_Type>S</Code_Type>
    </Bank_Route_Code>
    </Bank>
    - <Account>
    <Account_ID>D202</Account_ID>
    </Account>
    </Bank_Account>
    - <Bank_Account>
    <Bank_Account_Type>CR</Bank_Account_Type>
    - <Bank>
    - <Bank_Route_Code>
    <Code_Type>S</Code_Type>
    - <Code>
    - <![CDATA[
      ]]>
    </Code>
    </Bank_Route_Code>
    - <Bank_Address_Info>
    - <Name>
    - <![CDATA[
      ]]>
    </Name>
    - <Street1>
    - <![CDATA[
      ]]>
    </Street1>
    - <Street2>
    - <![CDATA[
      ]]>
    </Street2>
    - <City>
    - <![CDATA[
      ]]>
    </City>
    <Country />
    </Bank_Address_Info>
    </Bank>
    - <Account>
    - <Account_Number>
    - <![CDATA[ FR313000400828000123456789
      ]]>
    </Account_Number>
    - <Account_Address_Info>
    - <Name>
    - <![CDATA[ French User
      ]]>
    </Name>
    - <Street1>
    - <![CDATA[ Employee Addr1
      ]]>
    </Street1>
    - <Street2>
    - <![CDATA[ Employee Addr2
      ]]>
    </Street2>
    - <City>
    - <![CDATA[ Paris
      ]]>
    </City>
    <Country_Sub_Entity />
    <Postal>54333</Postal>
    <Country>FR</Country>
    </Account_Address_Info>
    </Account>
    </Bank_Account>
    - <Payment_Details_Or_Addenda>
    - <Details_Text>
    - <![CDATA[ PAY OHRID: 100000666
      ]]>
    </Details_Text>
    </Payment_Details_Or_Addenda>
    - <Comments>
    - <Comment_Text>
    - <![CDATA[ NONE
      ]]>
    </Comment_Text>
    </Comments>
    - <References>
    - <Reference>
    <Reference_Type>FBNF</Reference_Type>
    - <Reference_Value>
    - <![CDATA[ INVOICE 20021101001481
      ]]>
    </Reference_Value>
    </Reference>
    - <Reference>
    <Reference_Type />
    - <Reference_Value>
    - <![CDATA[
      ]]>
    </Reference_Value>
    </Reference>
    - <Reference>
    <Reference_Type>FMAILEN</Reference_Type>
    - <Reference_Value>
    - <![CDATA[ [email protected]
      ]]>
    </Reference_Value>
    </Reference>
    </References>
    </Transaction>
    - <File_Trailer_Record>
    <File_Name>ETNL_TRAVELR_PAYMENTS</File_Name>
    <Total_Records>4</Total_Records>
    </File_Trailer_Record>
    </File>
    regards
    Ramashankar Sahu

    As I recall from my 8i days (it's been many years), the only way to do this is to install the XML XDK. From http://www.oracle.com/technology/tech/xml/xdk/xdk_java.html, it says "The Oracle9i versions of the XDK can also be used to build applications designed to interface with Oracle8i databases." I had thought the 10g version could do that as well but I'm not seeing it now.
    Since XMLType was not part of 8i, you will need to use PL/SQL to take your Select statement results and build them into a DOMDocument structure.
    Hope that helps.

  • Database data to nested xml structure

    Hi All,
    I need to convert the data in the oracle database to nested xml tree structure as below:
    Data in the database is in the following structure:
    1     branch1     13-JAN-11     a.txt
    1     branch1     25-JAN-11     b.txt
    1     branch1     25-JAN-11     c.txt
    1     branch2     20-JAN-11     d.txt
    2
    XML for the above data should be in the format:
    <Root>
    <Account_no value="1">
    <Desc value="branch1">
    <Date value="13-JAN-11">
    <Name value="a.txt"/>
    </Date>
    <Date value="25-JAN-11">
    <Name value="b.txt"/>
    <Name value="c.txt"/>
    </Date>
    </Desc>
    <Desc value="branch2">
    <Date value="20-JAN-11">
    <Name value="d.txt"/>
    </Date>
    </Desc>
    </Account_no>
    <Account_no value="2">
    </Account_no>
    </Root>
    I am able to get this kind of xml structure using java after storing the database data in a n-ary tree. But it takes more time to execute.
    Can this kind of same xml format be achieved using pl/sql programming?
    Please help me with your valuable insights.
    Thanks,
    Alagappan

    Hi,
    Please always mention your db version (select * from v$version).
    Here's one solution using SQL/XML functions :
    Sample data used :
    create table sample_data
      account_no  number,
      description varchar2(30),
      dt          date,
      name        varchar2(30)
    insert into sample_data values(1, 'branch1', to_date('13-JAN-11','DD-MON-RR'), 'a.txt');
    insert into sample_data values(1, 'branch1', to_date('25-JAN-11','DD-MON-RR'), 'b.txt');
    insert into sample_data values(1, 'branch1', to_date('25-JAN-11','DD-MON-RR'), 'c.txt');
    insert into sample_data values(1, 'branch2', to_date('20-JAN-11','DD-MON-RR'), 'd.txt');
    insert into sample_data values(2, 'branch3', to_date('20-JAN-11','DD-MON-RR'), 'e.txt');Query :
    SELECT xmlserialize(document
             xmlelement("Root",
               xmlagg(
                 xmlelement("Account_no", xmlattributes(account_no as "value"),
                   xmlagg(
                     xmlelement("Desc", xmlattributes(description as "value"), dt)
                     order by description
                 ) order by account_no
           as clob indent ) doc
    FROM (
      SELECT account_no, description,
             xmlagg(
               xmlelement("Date", xmlattributes(to_char(dt,'DD-MON-RR') as "value"), name)
               order by dt
             ) dt
      FROM (
        SELECT account_no, description, dt,
               xmlagg(
                 xmlelement("Name", xmlattributes(name as "value"))
                 order by name
               ) name
        FROM sample_data
        GROUP BY account_no, description, dt
      GROUP BY account_no, description
    GROUP BY account_no
    DOC
    <Root>
      <Account_no value="1">
        <Desc value="branch1">
          <Date value="13-JAN-11">
            <Name value="a.txt"/>
          </Date>
          <Date value="25-JAN-11">
            <Name value="b.txt"/>
            <Name value="c.txt"/>
          </Date>
        </Desc>
        <Desc value="branch2">
          <Date value="20-JAN-11">
            <Name value="d.txt"/>
          </Date>
        </Desc>
      </Account_no>
      <Account_no value="2">
        <Desc value="branch3">
          <Date value="20-JAN-11">
            <Name value="e.txt"/>
          </Date>
        </Desc>
      </Account_no>
    </Root>
    Here, I used XMLSerialize function with indent option to format the output (available starting with 11g).

  • Most effecient way to generate XML output

    What is the most effecient way to generate XML output using ORACLE.
    Presently I am aware of the following:
    1)DBMS_XMLQUERY
    2)DBMS_XMLGEN
    3)SQLX functions
    We are using the first 2 in our database to generate hierarchical XML. Once the XML is generated the XML file is ftp'd to a UNIX box. Because of the file size restrictions in our UNIX bix we decided not to transform the XML output into XML Attributes.
    The attributes are assigned from an XSLT file and the raw XML file is transformed to a file which has attributes.
    My question is:
    In the Oracle Database release 9.2 is there a better efficient way to genarate the final XML file with Attributes from the database side without using the XSLT. If yes, please give an example how to do this?
    Thank You

    In general the SQL/XML publishing functions are the most efficient way..
    DBMS_XMLQUERY is a legacy technology imlimented in Java. The main advantage is that it can be run outside the database in the mid-tier is required.
    DBMS_XMLGEN is a re-implementation of DBMS_XMLQUERY in 'C' which runs inside the database. In most cases it should be much faster than DBMS_XMLQUERY. It provides some features that are still not availalble in the SQL/XML standard such as the ability to generate XML based on a cursor, and the ability to generate recursive output from a connect by query. It is hoped that future versions of the SQL/XML publishing functions will address these issues.
    Both DBMS_XMLGEN and DBMS_XMLQUERY are somewhat limited in terms of generating complex XML documents with multiple levels of nesting.
    The SQL/XML publishing functions are the preferred way of generating XML from relational data. THey provide the ability to generate extremely complex XML structures from relation data and provide full control over element / attributes names, levels of nested etc. Future development projects will focus on enhancing the performance and functionality of the SQL/XML publishing functions rather than the PL/SQL packages
    In general if you can use SQL/XML publishing functions you should do so.
    Does this help....

  • Generating Nested XML Documents

    Hi,
    We want to generate nested XML documents from sql queries using pl/sql.
    If the output of the query is
    EMPNO NAME MGRNO
    1 Super Admin 0
    2 Mgr1 1
    4 SubMgr1_1 2
    5 SubMgr2_1 2
    3 Mgr2 1
    6 SubMgr1_2 3
    then XML generated should be in the format
    Super Admin
    Mgr1
    SubMgr1_1
    SubMgr2_1
    Mgr2
    SubMgr1_2
    Your early response is appreciated.
    Thanks.

    No, the id is not unique, it is part of the data. Also, I don't need to update the XML document.
    I store the data part (id, status, nodenum) in the "resp" table with a primary key as a combination of id and some other info. The table "nodes" will have a foreign key and multiple occurrences of node. Same with table "restricts" with multiple restrict.
    Do I need to create a DOM tree then store each part of the XML into appropriate tables? And how do I do that? (which APIs, etc.)
    Thanks,
    Thuvan

  • Generate XML output using DBMS_XMLGEN.getxmltype and not from rdf

    Hi,
    I have a requirement to display output from a particular table in XL format. Out of all the known possible options, I am planning to use the XML publisher to generate XL output.
    For the data source, instead of using the conventional way of creating XML data using rdf,I am planning to use DBMS_XMLGEN.getxmltype pl/sql procedure to generate the XML output. And from the output, call the template to generate the required Excel output.
    Now, I am using the following code to generate XML output but am not sure how to proceed from here. I need to first print the XML data in the FND Output file after which I was planning to call the 'XML Report Publisher' (XDOREPPB) program and use the current request id to get the excel output but I am not able to find the way to print the XML data in the output file as:
    fnd_file.put_line (fnd_file.output, l_xml_type); - is throwing an error as l_xml_type is an XML data output.
    PROCEDURE xml_main (
    errbuf OUT VARCHAR2
    ,retcode OUT VARCHAR2
    ,p_project_from IN VARCHAR2
    ,p_project_to IN VARCHAR2
    AS
    l_xml_type XMLTYPE;
    BEGIN
    SELECT DBMS_XMLGEN.getxmltype
    ('SELECT fnd_global.conc_request_id
    ,TO_CHAR (segment1)
    ,to_char(start_date,''MM/DD/RRRR'')
    ,to_char(xxmcc_project_details_pkg.current_profit_projection
    (project_id),''999,999,990.90'')
    ,to_char(xxmcc_project_details_pkg.cost_to_date (project_id),''999,999,990.90'')
    ,''1''
    FROM pa_projects_all
    WHERE segment1 BETWEEN NVL (p_project_from, segment1)
    AND NVL (p_project_to, segment1)')
    INTO l_xml_type
    FROM DUAL;
         fnd_file.put_line (fnd_file.output, l_xml_type);
    END xml_main;
    Can anyone point me as to how to publish XML output using a PL/SQL procedure (DBMS_XMLGEN.getxmltype)
    Thanks.

    Pl see if the example included in this presentation helps http://www.oracle.com/technology/products/applications/Events/OOW-2006/EBS/S281401_Sridhar_Bogelli.pdf
    Also, you do not need to explicitly call XDOREPPB in later versions of XML Publisher. If you set up everything correctly (as described in the presentation above and the link below) the Output Post Processor is called automatically after the XML file is generated successfully.
    Another excellent tutorial is at http://www.oracle.com/technology/obe/fusion_middleware/fusion/bi/xmlp_ebiz/index.html
    HTH
    Srini

  • Creating XML report using PL/SQL Stored Procedure

    Hi Friends,
    I am working on an xml report with the xml source as PL/SQL Stored Procedure.
    I am referring the exercise shown in the following link to understand the process:
       http://orclapp.blogspot.com/2012/02/developing-xml-publisher-report-using.html
    In the example shown in the above link I could not understand the following:
    1) In the following procedure, the out parameter 'retcode' is not used at all.
       What is the importance of this parameter.
        PROCEDURE REPORT (errbuf  OUT VARCHAR2, retcode  OUT VARCHAR2, p_product_id   IN     NUMBER)
    2)  After the xml data is prepared and put to 'l_result' Clob variable, the following
        Loop is executed. I am not able to appreciate why the following loop is required.
         LOOP
             EXIT WHEN l_length = l_retrieved;
             IF (l_length - l_retrieved) < 32000
             THEN
                SELECT SUBSTR (l_result, l_retrieved + 1) INTO l_xmlstr FROM DUAL;
                l_retrieved := l_length;
                fnd_file.put_line (fnd_file.output, l_xmlstr);
             ELSE
                SELECT SUBSTR (l_result, l_retrieved + 1, l_offset)
                  INTO l_xmlstr
                  FROM DUAL;
                l_retrieved := l_retrieved + l_offset;
                fnd_file.put_line (fnd_file.output, l_xmlstr);
             END IF;
         END LOOP;
    3) In the example it is not explained how the concurrent program gets the xml data?
       I assume it is written to a file using the following line of code:
        fnd_file.put_line (fnd_file.output, l_xmlstr);
       I would appreciate if anyone can throw some light into my above queries so that I can understand the process clearly.
    Thanks & Regards
    Hawker

    Hi 32000 in the code is a 'safe' size smaller than the max available 32767, the loops purpose is to move through the entire thing in chunks that will be manageable in the limits of the data type.
    Btw; if you are in Oracle e-business suite then you can also use Oracle reports very simply to create XML output.
    If you have reports developer all you need to do is put raw sql (without any 'artifice' to create XML) in the report SQL and then set the reports output to XML in the program definition in Oracle e-business.
    best regards,
    Robert.

  • How to create a errortag in the XML-Output ?

    Hey
    who can help me creating a error-tag in my XML-output of a PL/SQL procedure ?
    Enviroment:
    Oracle DB is 8.1.7 with installed XDK-package (in a few
    weeks perhaps Oracle 9i). I've no problems to use the dbms_xmlquery-functions and -procedures.
    I've to develop a PL/SQL procedure which is called via JDBC from a JAVA program. The procedure execute a Select-Statement. The result is transformed in XML and stored in a CLOB, which is given back to the calling JAVA-program.
    There exist 2 possible result-situations.
    -1- one or more rows are found
    -2- no row is found
    Problem:
    For each of these situation the XML-Output should have a different structure and my main problem is to integrate the errortag !!!
    for -1-
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <data>
    <error err_code="NoError"/>
    <record num="1">
    </record>
    <record num="2">
    </record>
    </data>
    for -2-
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <data>
    <error err_code="NoDataFound"/>
    </data>
    Hope somebody can help me ???
    Andre

    Hey Rajat,
    thanks for your answer, but the errortag is needed by another department. They use it for their processing.
    Have you got any idea, how to integrate the errortag with the functions or procedures of the dbms_xmlquery package ??? I've got only a few days experience with the dbms_xmlquery-package, so some code examples or advices would be great !!!
    I've tried the following coding:
    out_xmlresult OUT CLOB; -- OUT Parameter of the PLSQL-Proc
    c1 CLOB;
    queryctx dbms_xmlquery.ctxtype;
    -- create XML-context
    queryctx:=dbms_xmlquery.newcontext(<selectstatement>);
    -- delete the rowsettag (use 'data' later on)
    dbms_xmlquery.setrowsettag(queryctx,'');
    -- create new tag 'data' which enclose an empty header
    -- and the data section
    dbms_lob.createTemporary(c1, TRUE );
    c1:=EMPTY_CLOB();
    dbms_xmlquery.setDataHeader(queryctx,c1,'data');
    -- rename rowtag
    dbms_xmlquery.setrowtag(queryctx,'record');
    -- set encoding tag
    dbms_xmlquery.setEncodingTag(queryctx,'ISO-8859-1);
    -- create XML-Output
    out_xmlresult := dbms_xmlquery.getxml(queryctx);
    ...but I haven't got any success !!!
    Andre

  • Generating and Viewing XML Output without rdf

    Howdy,
    I have been dev Oracle Forms/Reports for over 10 years. We are now migrating all of our reports to BIP.
    To date when I have been developing these reports I have been using the old rdf files to "generate to a file" and thus get a nice, quick and dirty XML output file (what I am calling a “datafile”). Using this makes it substantially easier to then dev the format template. However going forward I/we would like to completely remove the Designer 2000 tool entirely when it comes to report development.
    How can we as developers can get our hands on the XML "datafiles" that are generated by the data templates in BIP? Are these stored anywhere on the server for the viewing? Is there another tool I can pop my Data template and SQL into and generate XML ‘with’ the correct groupings, ect.?
    Thanks in advance for any assistance/guidance you can provide.
    ScottC

    Or, from the browser see Note:394631.1
    1.Using System Administrator responsibility
    Nav:Profile->System
    query Viewer: Text, set this to Browser and save
    2. Using your Receivables responsibility
    Run the the XML report that is failing, note the request_id
    when it finishes, even with errors do this,
    View->Requests
    query this request_id
    click on Diagnostic button->View XML
    save the file to your PC by doing File->Save As
    3. Upload this XML data file.

Maybe you are looking for

  • How much ram supports my macbook pro late 2011 2.4 ghz

    they say 8g ram maximum...but i want to upgrade to 16 g ram ..... i use my mac in my music studio ... http://www.amazon.com/Corsair-Certified-Laptop-Memory-CMSA16GX3M2A1333C9/dp/B006 ON5KZC/ref=sr_1_6?ie=UTF8&qid=1353977003&sr=8-6&keywords=ram+for+ma

  • JAVASCRIPT ERROR  DW CC

    Hey there guys, Hope you can assist. We have a client with a number of MACs running 10.8.4 and CC. All of them generate an error when doing an HTM preview in DW. Complete CC reinstalls, and erasing and reinstalling the entire OS - even with a new har

  • Button on Top of VF0050 webcam

    Can someone tell me what the button on the top of the webcam is for/

  • Searchqu has taken over firefox, where is my comcast home page?

    no matter what I do searchqu has taken over from my Home page (comcast) I have purchased and anti virus anti malware I have removed searchqu from control panel ( that only fixed I.E.) I have changed the settings on firefox.to connect to comcast Nothh

  • I am trying to print a document. The light comes on that the Cyan ink cartridge is out of ink

    I am trying to print a document.  The light comes on that the Cyan ink cartridge is out of ink....it is at least half full...i have shaken it, disconnected the printer from power source and the pc...still will not stop flashing.  Oh, sorry...it is a