XML (Add_field_section)

I am confused as to using XML with Intermedia....Is there a way to feed an
XML document into Intermedia and have it recognize the tags, or do I have to
use the add_field_section command for each
tag in the XML document....My XML documents
have hundreds of tags....
Is there an easy way to do this....

Which version of the database are you using? I beleive you need to to do it for 8.1.5 but not 8.1.6.
Oracle XML Team

Similar Messages

  • Problem in creating xml section group

    I have created xml section group with some sections defined in the field.Now my attributes are repeated with different root nodes.so i have put braces for differentiation and created context index.
    drop index abc_indexes_idx;
    begin
    ctx_ddl.remove_section('xyz_xml_group','abLName');
    ctx_ddl.remove_section('xyz_xml_group','abFName');
    ctx_ddl.remove_section('xyz_xml_group','cdLName');
    ctx_ddl.remove_section('xyz_xml_group','cdFName');
    ctx_ddl.remove_section('xyz_xml_group','efLName');
    ctx_ddl.remove_section('xyz_xml_group','efFName');
    ctx_ddl.remove_section('xyz_xml_group','ghLName');
    ctx_ddl.remove_section('xyz_xml_group','ghFName');
    end;
    begin
    ctx_ddl.drop_section_group('xyz_xml_group');
    end;
    begin
    ctx_ddl.drop_preference('xyz_wildcard_pref1');
    end;
    begin
    ctx_ddl.drop_preference('xyz_lexer_pref1');
    end;
    begin
    ctx_ddl.drop_preference('STEM_FUZZY_PREF');
    end;
    begin
    ctx_ddl.create_section_group('xyz_xml_group','XML_SECTION_GROUP');
    ctx_ddl.add_field_section('xyz_xml_group','abLName','IncidentSubject(PersonGivenName');
    ctx_ddl.add_field_section('xyz_xml_group','abFName','IncidentSubject(PersonSurName');
    ctx_ddl.add_field_section('xyz_xml_group','cdLName','ActivityVictim(PersonGivenName');
    ctx_ddl.add_field_section('xyz_xml_group','cdFName','ActivityVictim(PersonSurName');
    ctx_ddl.add_field_section('xyz_xml_group','efLName','ActivityComplainantPerson(PersonGivenName');
    ctx_ddl.add_field_section('xyz_xml_group','efFName','ActivityComplainantPerson(PersonSurName');
    ctx_ddl.add_field_section('xyz_xml_group','ghLName','ActivityWitness(PersonGivenName');
    ctx_ddl.add_field_section('xyz_xml_group','ghFName','ActivityWitness(PersonSurName');
    end;
    begin
    ctx_ddl.create_preference('STEM_FUZZY_PREF','BASIC_WORDLIST');
    ctx_ddl.set_attribute('STEM_FUZZY_PREF','SUBSTRING_INDEX','TRUE');
    end;
    begin
    ctx_ddl.set_attribute('STEM_FUZZY_PREF','PREFIX_INDEX','YES');
    end;
    begin
    ctx_ddl.create_preference('njdex_lexer_pref1','BASIC_LEXER');
    ctx_ddl.set_attribute('STEM_FUZZY_PREF','WILDCARD_MAXTERMS','15000');
    end;
    drop index xyz_indexes_idx
    create index xyz_indexes_idx on xyz_INDEXES(abc column) indextype is ctxsys.context parameters
    ('datastore ctxsys.direct_datastore wordlist STEM_FUZZY_PREF FILTER ctxsys.null_filter lexer xyz_lexer_pref1
    sync(on commit)SECTION GROUP xyz_xml_group MEMORY 500M ');
    My XML document is as follows whichi stored in a column of abc and it is of xmltype datatype
    <?xml version="1.0" encoding="utf-8"?>
    <ab:IncidentReportGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:j="http://www.it.ojp.gov/jxdm/3.0.3" xmlns:ext="http://xml.abc.com/jxdm/3.0.3/extension" xmlns:ab="http://xml.abc.com/jxdm/3.0.3">
    <ab:IncidentReport>
    <ext:IncidentSubject>
    <j:PersonName>
    <j:PersonGivenName>abc</j:PersonGivenName>
    <j:PersonMiddleName />
    <j:PersonSurName>xyz</j:PersonSurName>
    <j:PersonSuffixName />
    <j:PersonFullName>abc, xyz </j:PersonFullName>
    </j:PersonName>
    </ext:IncidentSubject>
    <ext:ActivityComplainantPerson>
    <j:PersonName>
    <j:PersonGivenName>abc</j:PersonGivenName>
    <j:PersonMiddleName />
    <j:PersonSurName>xyz</j:PersonSurName>
    <j:PersonSuffixName />
    <j:PersonFullName>abc, xyz </j:PersonFullName>
    </j:PersonName>
    </ext:ActivityComplainantPerson>
    <ext:ActivityWitness>
    <j:PersonName>
    <j:PersonGivenName>abc</j:PersonGivenName>
    <j:PersonMiddleName />
    <j:PersonSurName>xyz</j:PersonSurName>
    <j:PersonSuffixName />
    <j:PersonFullName>abc, xyz </j:PersonFullName>
    </j:PersonName>
    </ext:ActivityWitness>
    <ext:ActivityVictim>
    <j:PersonName>
    <j:PersonGivenName>abc</j:PersonGivenName>
    <j:PersonMiddleName />
    <j:PersonSurName>xyz</j:PersonSurName>
    <j:PersonSuffixName />
    <j:PersonFullName>abc, xyz </j:PersonFullName>
    </j:PersonName>
    </ext:ActivityVictim>
    <ext:ActivityWitness>
    </ab:IncidentReport>
    </ab:IncidentReportGroup>
    now when i am trying to run the query
    select * from xyz_indexes where contains(xyzcolumn,'(LORI WITHIN abLName)
    & ("BELAND" WITHIN abFName)')>0
    It is not returning anything.
    Can anyone provide me some help on it.

    I changed your data to match what you were searching for, then I noticed that your third parameters for add_field_section were wrong, so I changed that. The query then returns rows, as demonstrated below. However, I suspect that add_field_section is not what you want to use with your XML data since you have tags with the same names within different categories.
    SCOTT@orcl_11g> SET DEFINE OFF
    SCOTT@orcl_11g> begin
      2    ctx_ddl.drop_section_group('xyz_xml_group');
      3  end;
      4  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11g> begin
      2    ctx_ddl.drop_preference('xyz_lexer_pref1');
      3  end;
      4  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11g> begin
      2    ctx_ddl.drop_preference('STEM_FUZZY_PREF');
      3  end;
      4  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11g> begin
      2    ctx_ddl.create_section_group('xyz_xml_group','XML_SECTION_GROUP');
      3    ctx_ddl.add_field_section('xyz_xml_group','abLName','j:PersonGivenName');
      4    ctx_ddl.add_field_section('xyz_xml_group','abFName','j:PersonSurName');
      5  end;
      6  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11g> begin
      2    ctx_ddl.create_preference('STEM_FUZZY_PREF','BASIC_WORDLIST');
      3    ctx_ddl.set_attribute('STEM_FUZZY_PREF','SUBSTRING_INDEX','TRUE');
      4  end;
      5  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11g> begin
      2    ctx_ddl.set_attribute('STEM_FUZZY_PREF','PREFIX_INDEX','YES');
      3  end;
      4  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11g> begin
      2    ctx_ddl.create_preference('xyz_lexer_pref1','BASIC_LEXER');
      3    ctx_ddl.set_attribute('STEM_FUZZY_PREF','WILDCARD_MAXTERMS','15000');
      4  end;
      5  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11g> drop index xyz_indexes_idx
      2  /
    Index dropped.
    SCOTT@orcl_11g> DROP TABLE xyz_indexes
      2  /
    Table dropped.
    SCOTT@orcl_11g> CREATE TABLE xyz_indexes
      2    (xyzcolumn  XMLTYPE)
      3  /
    Table created.
    SCOTT@orcl_11g> INSERT INTO xyz_indexes VALUES
      2  (XMLTYPE (
      3  '<?xml version="1.0" encoding="utf-8"?>
      4  <ab:IncidentReportGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:j="http://www.it.ojp.gov/jxdm/3.0.3" xmlns:ext="http://xml.abc.com/jxdm/3.0.3/extension" xmlns:ab="http://xml.abc.com/jxdm/3.0.3">
      5    <ab:IncidentReport>
      6        <ext:IncidentSubject>
      7          <j:PersonName>
      8            <j:PersonGivenName>LORI</j:PersonGivenName>
      9            <j:PersonMiddleName />
    10            <j:PersonSurName>"BELAND"</j:PersonSurName>
    11            <j:PersonSuffixName />
    12            <j:PersonFullName>abc, xyz </j:PersonFullName>
    13          </j:PersonName>
    14        </ext:IncidentSubject>
    15        <ext:ActivityComplainantPerson>
    16          <j:PersonName>
    17            <j:PersonGivenName>abc</j:PersonGivenName>
    18            <j:PersonMiddleName />
    19            <j:PersonSurName>xyz</j:PersonSurName>
    20            <j:PersonSuffixName />
    21            <j:PersonFullName>abc, xyz </j:PersonFullName>
    22          </j:PersonName>
    23        </ext:ActivityComplainantPerson>
    24        <ext:ActivityWitness>
    25          <j:PersonName>
    26            <j:PersonGivenName>abc</j:PersonGivenName>
    27            <j:PersonMiddleName />
    28            <j:PersonSurName>xyz</j:PersonSurName>
    29            <j:PersonSuffixName />
    30            <j:PersonFullName>abc, xyz </j:PersonFullName>
    31          </j:PersonName>
    32        </ext:ActivityWitness>
    33        <ext:ActivityVictim>
    34          <j:PersonName>
    35            <j:PersonGivenName>abc</j:PersonGivenName>
    36            <j:PersonMiddleName />
    37            <j:PersonSurName>xyz</j:PersonSurName>
    38            <j:PersonSuffixName />
    39            <j:PersonFullName>abc, xyz </j:PersonFullName>
    40          </j:PersonName>
    41        </ext:ActivityVictim>
    42    </ab:IncidentReport>
    43  </ab:IncidentReportGroup>'
    44  ))
    45  /
    1 row created.
    SCOTT@orcl_11g> create index xyz_indexes_idx on xyz_INDEXES(xyzcolumn) indextype is ctxsys.context parameters
      2  ('datastore ctxsys.direct_datastore wordlist STEM_FUZZY_PREF FILTER ctxsys.null_filter lexer xyz_lexer_pref1
      3  sync(on commit)SECTION GROUP xyz_xml_group MEMORY 500M ')
      4  /
    Index created.
    SCOTT@orcl_11g> select * from xyz_indexes where contains(xyzcolumn,'(LORI WITHIN abLName)
      2  & ("BELAND" WITHIN abFName)')>0
      3  /
    XYZCOLUMN
    <?xml version="1.0" encoding="utf-8"?>
    <ab:IncidentReportGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xm
    lns:j="http://www.it.ojp.gov/jxdm/3.0.3" xmlns:ext="http://xml.abc.com/jxdm/3.0.
    3/extension" xmlns:ab="http://xml.abc.com/jxdm/3.0.3">
      <ab:IncidentReport>
        <ext:IncidentSubject>
          <j:PersonName>
            <j:PersonGivenName>LORI</j:PersonGivenName>
            <j:PersonMiddleName />
            <j:PersonSurName>"BELAND"</j:PersonSurName>
            <j:PersonSuffixName />
            <j:PersonFullName>abc, xyz </j:PersonFullName>
          </j:PersonName>
        </ext:IncidentSubject>
        <ext:ActivityComplainantPerson>
          <j:PersonName>
            <j:PersonGivenName>abc</j:PersonGivenName>
            <j:PersonMiddleName />
            <j:PersonSurName>xyz</j:PersonSurName>
            <j:PersonSuffixName />
            <j:PersonFullName>abc, xyz </j:PersonFullName>
          </j:PersonName>
        </ext:ActivityComplainantPerson>
        <ext:ActivityWitness>
          <j:PersonName>
            <j:PersonGivenName>abc</j:PersonGivenName>
            <j:PersonMiddleName />
            <j:PersonSurName>xyz</j:PersonSurName>
            <j:PersonSuffixName />
            <j:PersonFullName>abc, xyz </j:PersonFullName>
          </j:PersonName>
        </ext:ActivityWitness>
        <ext:ActivityVictim>
          <j:PersonName>
            <j:PersonGivenName>abc</j:PersonGivenName>
            <j:PersonMiddleName />
            <j:PersonSurName>xyz</j:PersonSurName>
            <j:PersonSuffixName />
            <j:PersonFullName>abc, xyz </j:PersonFullName>
          </j:PersonName>
        </ext:ActivityVictim>
      </ab:IncidentReport>
    </ab:IncidentReportGroup>
    SCOTT@orcl_11g>

  • Storing and searching XML in CLOBs

    Speaking to an oracle employee at the Oracle booth at JavaOne
    recently. They suggested I store XML in CLOBs
    and use the DOM or SAX to reparse the XML later as needed.
    I agreed that this was the best solution for my problem
    (which was how to manage many different XML documents using many
    different DTDs in a document management system)
    The big problem was searching this document repository
    to locate relevant information.
    This is where Intermedia seemed ideal (still does).
    It would be nice to see an example of setting this up using
    Intermedia in Oracle 8i, demonstrating how to define the
    XML_SECTION_GROUP and where to use a ZONE as opposed to a FIELD
    etc.
    Anybody care to take a shot at this ????
    For example:
    How would I define Intermedia parameters
    so that I would be able to search my CLOB
    column for records that had the <keyword>
    "aorta" and "damage" in the <caption>
    using the following
    XML (DTD implied)
    <image filename="OurImageName.gif">
    <fname>WellKnownFileName.gif</fname>
    <keyword>echocardiogram</keyword>
    <keyword>aorta</keyword>
    <caption>This is an image of the vessel damage</caption>
    </image>
    Thanks
    Thomas Bennett
    null

    Eric (guest) wrote:
    : You can't do XML structure-based searches with intermedia. You
    : can search for text within a given element, but nothing more
    : complicated than that.
    The example he gave involves exactly that -- searching for
    text within XML elements. interMedia can do this.
    : It also does not do attributes.
    Upcoming 8.1.6 version allows searching within
    attribute text. That's something like:
    dog within book@author
    We're working on attribute value sensitive search,
    more like:
    dog within book[@author = "Eric"]
    : Thomas Bennett (guest) wrote:
    : : How would I define Intermedia parameters
    : : so that I would be able to search my CLOB
    : : column for records that had the <keyword>
    : : "aorta" and "damage" in the <caption>
    : : using the following
    : : XML (DTD implied)
    : : <image filename="OurImageName.gif">
    : : <fname>WellKnownFileName.gif</fname>
    : : <keyword>echocardiogram</keyword>
    : : <keyword>aorta</keyword>
    : : <caption>This is an image of the vessel damage</caption>
    : : </image>
    begin
    ctx_ddl.create_section_group('mygrp','basic_section_group');
    ctx_ddl.add_field_section('mygrp','keyword','keyword');
    ctx_ddl.add_field_section('mygrp','caption','caption');
    end;
    create index myidx on mytab(mytxtcolumn)
    indextype is ctxsys.context
    parameters ('section group mygrp');
    select * from mytab
    where contains(mytxtcolumn, 'aorta within keyword')>0;
    options:
    * use XML section group instead of basic section group
    if your tags have attributes or you need case-sensitive
    tag detection
    * use zone sections instead of field sections if your
    sections overlap, or if you need to distinguish
    between instances. For instance, keywords. If keywords
    is a field section, then
    (aorta and echocardiogram) within keywords
    finds the document. if it is a zone section, then it
    doesn't, because they are not in the SAME instance of
    keywords.
    null

  • Determining Where Hits Were Found (XML Section Groups)

    Hello all,
    Hoping for a bit of help. It's my first time posting here, but I've benefitted from reading a lot of your posts. I have created a single Oracle Text index for a resume database of sorts. It utilizes a user datastore. The procedure I use gathers a a single user's information in my database and organizes it via XML tags that are assigned in the procedure - outputs a CLOB. I did this in order to try the AUTO SECTION GROUP option when indexing, so that I could use the WITHIN operator.
    So, for example, the procedure is given the rowid for a single employee, and the output may be:
    <ALL>
    <PERSONAL>
    83019
    John Smith
    10/05/1973
    Baltimore, MD
    </PERSONAL>
    <SKILLS>
    Oracle Database Administrator
    .NET Developer
    </SKILLS>
    </ALL>
    My problem is I wish to know the SPECIFIC section groups where hits were registered if I search all of the XML
    SELECT EMPLOYEE_ID
    FROM EMPLOYEE_TBL
    WHERE CONTAINS (DUMMY_COLUMN, 'developer WITHIN ALL', 1) > 0
    ORDER BY SCORE (1) DESC
    My output is:
    EMPLOYEE_ID
    83019
    Is there any way I can also list the sections where hits were registered for this user? In this example, I'd want the "SKILLS" section to show up in the result set.

    skMed,
    Yes, that is a problem. Alternatives are the first method using UNION ALL or creating a MATERIALIZED VIEW and indexing that, similar to what I demonstrated to the other poster on this thread, or CTX_DOC.HIGHLIGHT as Roger said. I have provided a demonstration of the problem below, followed by an alternative solution that uses CTX_DOC.HIGHLIGHT as Roger suggested. I used a function but Roger may have a more elegant method.
    SCOTT@orcl_11g> CREATE TABLE employee_tbl
      2    (employee_id  NUMBER,
      3       fname          VARCHAR2 (7),
      4       lname          VARCHAR2 (7),
      5       dob          DATE,
      6       city          VARCHAR2 (9),
      7       state          VARCHAR2 (2),
      8       dummy_column VARCHAR2 (1),
      9       CONSTRAINT emp_id_pk PRIMARY KEY (employee_id))
    10  /
    Table created.
    SCOTT@orcl_11g> CREATE TABLE skills
      2    (employee_id  NUMBER,
      3       skill          VARCHAR2 (30),
      4       CONSTRAINT skills_id_fk FOREIGN KEY (employee_id) REFERENCES employee_tbl (employee_id))
      5  /
    Table created.
    SCOTT@orcl_11g> CREATE TABLE jobs
      2    (employee_id  NUMBER,
      3       job          VARCHAR2 (30),
      4       CONSTRAINT job_id_fk FOREIGN KEY (employee_id) REFERENCES employee_tbl (employee_id))
      5  /
    Table created.
    SCOTT@orcl_11g> BEGIN
      2    INSERT INTO employee_tbl VALUES
      3        (1, 'Adam', NULL, NULL, NULL, NULL, NULL);
      4    INSERT INTO employee_tbl VALUES
      5        (2, 'Bob', NULL, NULL, NULL, NULL, NULL);
      6    INSERT INTO employee_tbl VALUES
      7        (3, 'Charles', NULL, NULL, NULL, NULL, NULL);
      8    INSERT INTO employee_tbl VALUES
      9        (4, 'David', NULL, NULL, NULL, NULL, NULL);
    10    INSERT INTO skills VALUES (1, 'OTHERS');
    11    INSERT INTO skills VALUES (2, '.NET');
    12    INSERT INTO skills VALUES (3, 'OTHERS');
    13    INSERT INTO skills VALUES (4, '.NET');
    14    INSERT INTO jobs   VALUES (1, '.NET');
    15    INSERT INTO jobs   VALUES (2, 'OTHERS');
    16    INSERT INTO jobs   VALUES (3, '.NET');
    17    INSERT INTO jobs   VALUES (4, '.NET');
    18  END;
    19  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11g> CREATE OR REPLACE PROCEDURE resume
      2    (p_rowid IN     ROWID,
      3       p_clob     IN OUT CLOB)
      4  AS
      5  BEGIN
      6    FOR e IN
      7        (SELECT employee_id,
      8             employee_id || ' ' || fname || ' ' || lname || ' ' || dob || ' '
      9             || city || ',     ' || state AS personal
    10         FROM      employee_tbl
    11         WHERE  ROWID = p_rowid)
    12    LOOP
    13        DBMS_LOB.WRITEAPPEND (p_clob, 10, '<PERSONAL>');
    14        DBMS_LOB.WRITEAPPEND (p_clob, LENGTH (e.personal), e.personal);
    15        DBMS_LOB.WRITEAPPEND (p_clob, 11, '</PERSONAL>');
    16        DBMS_LOB.WRITEAPPEND (p_clob, 8, '<SKILLS>');
    17        FOR s IN (SELECT skill FROM skills WHERE employee_id = e.employee_id) LOOP
    18          DBMS_LOB.WRITEAPPEND (p_clob, LENGTH (s.skill) + 1, s.skill || ' ');
    19        END LOOP;
    20        DBMS_LOB.WRITEAPPEND (p_clob, 9, '</SKILLS>');
    21        DBMS_LOB.WRITEAPPEND (p_clob, 12, '<JOBHISTORY>');
    22        FOR j IN (SELECT job FROM jobs WHERE employee_id = e.employee_id) LOOP
    23          DBMS_LOB.WRITEAPPEND (p_clob, LENGTH (j.job) + 1, j.job || ' ');
    24        END LOOP;
    25        DBMS_LOB.WRITEAPPEND (p_clob, 13, '</JOBHISTORY>');
    26    END LOOP;
    27  END resume;
    28  /
    Procedure created.
    SCOTT@orcl_11g> SHOW ERRORS
    No errors.
    SCOTT@orcl_11g> BEGIN
      2    CTX_DDL.CREATE_PREFERENCE ('your_datastore', 'USER_DATASTORE');
      3    CTX_DDL.SET_ATTRIBUTE ('your_datastore', 'PROCEDURE', 'resume');
      4    CTX_DDL.CREATE_SECTION_GROUP ('your_sec_group', 'XML_SECTION_GROUP');
      5    CTX_DDL.ADD_FIELD_SECTION ('your_sec_group', 'PERSONAL', '<PERSONAL>', TRUE);
      6    CTX_DDL.ADD_FIELD_SECTION ('your_sec_group', 'SKILLS', '<SKILLS>', TRUE);
      7    CTX_DDL.ADD_FIELD_SECTION ('your_sec_group', 'JOBHISTORY', '<JOBHISTORY>', TRUE);
      8  END;
      9  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11g> CREATE INDEX resume_idx ON employee_tbl (dummy_column)
      2  INDEXTYPE IS CTXSYS.CONTEXT
      3  PARAMETERS
      4    ('DATASTORE     your_datastore
      5        SECTION GROUP     your_sec_group
      6        STOPLIST     CTXSYS.EMPTY_STOPLIST')
      7  /
    Index created.
    SCOTT@orcl_11g> CREATE OR REPLACE FUNCTION list_element
      2    (p_string     VARCHAR2,
      3       p_element    INTEGER,
      4       p_separator  VARCHAR2 DEFAULT ':')
      5    RETURN          VARCHAR2
      6  AS
      7    v_string      VARCHAR2 (32767);
      8  BEGIN
      9    v_string := p_separator || p_string || p_separator;
    10    v_string := SUBSTR (v_string, INSTR (v_string, p_separator, 1, p_element) + LENGTH (p_separator));
    11    RETURN SUBSTR (v_string, 1, INSTR (v_string, p_separator) - 1);
    12  END list_element;
    13  /
    Function created.
    SCOTT@orcl_11g> SELECT * FROM employee_tbl ORDER BY employee_id
      2  /
    EMPLOYEE_ID FNAME   LNAME   DOB       CITY      ST D
              1 Adam
              2 Bob
              3 Charles
              4 David
    SCOTT@orcl_11g> SELECT * FROM skills ORDER BY employee_id
      2  /
    EMPLOYEE_ID SKILL
              1 OTHERS
              2 .NET
              3 OTHERS
              4 .NET
    SCOTT@orcl_11g> SELECT * FROM jobs ORDER BY employee_id
      2  /
    EMPLOYEE_ID JOB
              1 .NET
              2 OTHERS
              3 .NET
              4 .NET
    SCOTT@orcl_11g> COLUMN ixv_value    FORMAT A26
    SCOTT@orcl_11g> COLUMN from_section FORMAT A15
    SCOTT@orcl_11g> SELECT ixv_value,
      2           list_element (ixv_value, 1) AS from_section,
      3           TO_NUMBER (list_element (ixv_value, 3)) AS token_type
      4  FROM   ctx_user_index_values
      5  WHERE  ixv_index_name = 'RESUME_IDX'
      6  AND    ixv_class = 'SECTION_GROUP'
      7  /
    IXV_VALUE                  FROM_SECTION     TOKEN_TYPE
    SKILLS:SKILLS:17:Y         SKILLS                   17
    PERSONAL:PERSONAL:16:Y     PERSONAL                 16
    JOBHISTORY:JOBHISTORY:18:Y JOBHISTORY               18
    SCOTT@orcl_11g> COLUMN token_info FORMAT A30 WORD_WRAPPED
    SCOTT@orcl_11g> SELECT token_text, token_type, token_first, token_last, token_count
      2  FROM   dr$resume_idx$i
      3  WHERE  token_text = 'NET'
      4  /
    TOKEN_TEXT       TOKEN_TYPE TOKEN_FIRST TOKEN_LAST TOKEN_COUNT
    NET                       0           1          4           4
    NET                      17           2          4           2
    NET                      18           1          4           3
    SCOTT@orcl_11g> -- problem:
    SCOTT@orcl_11g> SELECT t.employee_id, t.fname,
      2           SCORE (1),
      3           list_element (v.ixv_value, 1) AS from_section
      4  FROM   employee_tbl t, dr$resume_idx$i i, dr$resume_idx$k k, ctx_user_index_values v
      5  WHERE  CONTAINS (t.dummy_column, '.NET%', 1) > 0
      6  AND    i.token_text = 'NET'
      7  AND    i.token_type = TO_NUMBER (list_element (v.ixv_value, 3))
      8  AND    k.docid BETWEEN i.token_first AND i.token_last
      9  AND    k.textkey = t.ROWID
    10  ORDER  BY t.employee_id
    11  /
    EMPLOYEE_ID FNAME     SCORE(1) FROM_SECTION
              1 Adam             3 JOBHISTORY
              2 Bob              3 JOBHISTORY
              2 Bob              3 SKILLS
              3 Charles          3 SKILLS
              3 Charles          3 JOBHISTORY
              4 David            6 JOBHISTORY
              4 David            6 SKILLS
    7 rows selected.
    SCOTT@orcl_11g> -- alternative solution:
    SCOTT@orcl_11g> CREATE OR REPLACE FUNCTION from_section
      2    (p_emp_id IN VARCHAR2,
      3       p_text      IN VARCHAR2,
      4       p_rowid  IN ROWID)
      5    RETURN VARCHAR2
      6  AS
      7       hightab   ctx_doc.highlight_tab;
      8       v_clob       CLOB;
      9       v_clob2   CLOB;
    10       v_section VARCHAR2 (32767);
    11       v_result  VARCHAR2 (32767);
    12  BEGIN
    13    CTX_DOC.HIGHLIGHT ('resume_idx', p_emp_id, p_text, hightab, FALSE);
    14    DBMS_LOB.CREATETEMPORARY (v_clob, TRUE);
    15    DBMS_LOB.CREATETEMPORARY (v_clob2, TRUE);
    16    resume (p_rowid, v_clob);
    17    FOR i IN 1 .. hightab.COUNT LOOP
    18        v_clob2 := SUBSTR (v_clob, 1, hightab(i).offset);
    19        v_clob2 := SUBSTR (v_clob2, 1, INSTR (v_clob2, '>', -1) - 1);
    20        v_section := SUBSTR (v_clob2, INSTR (v_clob2, '<', -1) + 1);
    21        v_result := v_result || ',' || v_section;
    22    END LOOP;
    23    DBMS_LOB.FREETEMPORARY (v_clob);
    24    DBMS_LOB.FREETEMPORARY (v_clob2);
    25    RETURN LTRIM (v_result, ',');
    26  END from_section;
    27  /
    Function created.
    SCOTT@orcl_11g> SHOW ERRORS
    No errors.
    SCOTT@orcl_11g> COLUMN from_section FORMAT A60 WORD_WRAPPED
    SCOTT@orcl_11g> SELECT t.employee_id, t.fname, SCORE (1),
      2           from_section (employee_id, '.NET%', ROWID) AS from_section
      3  FROM   employee_tbl t
      4  WHERE  CONTAINS (t.dummy_column, '.NET%', 1) > 0
      5  ORDER  BY t.employee_id
      6  /
    EMPLOYEE_ID FNAME     SCORE(1) FROM_SECTION
              1 Adam             3 JOBHISTORY
              2 Bob              3 SKILLS
              3 Charles          3 JOBHISTORY
              4 David            6 SKILLS,JOBHISTORY
    SCOTT@orcl_11g>

  • Intermedia/XML Support...PLEASE ORANET

    Is there someone out there who can provide some real world examples of performing this simple task....
    I have an XML document, I want to feed it into 8i and search by content using the tags...
    Remember my XML document has over 100 tags,
    do I have to sit their and do an ADD_FIELD_SECTION for every tag....If not, where is this documented...
    Thanks for helping us Dummies....

    What follows is the content of the aforementioned demo file.
    It sets up the tables, types, and object views for the XSQL Insurance Claim Demo (that you try try live on our OTN demo site at http://technet.oracle.com/tech/xml/demo/demo1.htm )
    The intermedia-related part starts at the line that reads: ctx_ddl.drop_preference()
    In this example, an insurance claim
    has a "DamageReport" which is an
    XML Document fragment. The intermedia
    stuff at the end shows how to
    setup an XML searching index on
    the <CAUSE> and <MOTIVE> tags in
    this "DamageReport" document fragment.
    Hope this helps.
    set scan off
    set echo on
    set termout on
    REM
    REM $Author: smuench $
    REM $Date: 1999/11/27 14:48:10 $
    REM $Source: C:\\cvsroot/xsql/src/demo/insclaim.sql,v $
    REM $Revision: 1.3 $
    REM
    drop synonym claim;
    drop table settlement_payments;
    drop view insurance_claim_view;
    drop table insurance_claim;
    drop view policy_view;
    drop table policy;
    drop view policyholder_view;
    drop table policyholder;
    drop type insurance_claim_t;
    drop type settlements_t;
    drop type payment;
    drop type policy_t;
    drop type policyholder_t;
    drop type address_t;
    create type address_t as object( Street varchar2(80), City Varchar2(80), State VARCHAR2(80),
    Zip NUMBER );
    create type policyholder_t as object( CustomerId number,
    FirstName varchar2(80),
    LastName varchar2(80),
    HomeAddress address_t);
    create type policy_t as object(
    policyID number,
    primaryinsured policyholder_t);
    create type payment as object(
    PayDate DATE,
    Amount NUMBER,
    Approver VARCHAR2(8));
    create type settlements_t as table of payment;
    create type insurance_claim_t as object (
    claimid number,
    filed date,
    claimpolicy policy_t,
    settlements settlements_t,
    damageReport varchar2(4000) /* XML */
    create table policyholder( CustomerId number,
    FirstName varchar2(80),
    LastName varchar2(80),
    HomeAddress address_t,
    constraint policyholder_pk primary key (customerid) );
    insert into policyholder values ( 1044, 'Paul','Astoria',
    ADDRESS_T('123 Cherry Lane','SF','CA','94132'));
    insert into policyholder values ( 1045, 'Martina','Boyle',
    ADDRESS_T('55 Belden Place','SF','CA','94102'));
    create or replace force view policyholder_view of policyholder_t
    with object OID (customerid)
    as select customerid, firstname, lastname, homeaddress
    from policyholder;
    create table policy(
    policyid number,
    primarycustomerid number,
    constraint policy_pk primary key (policyid),
    constraint customer_fk foreign key (primarycustomerid) references policyholder
    insert into policy values ( 8895, 1044 );
    insert into policy values ( 9054, 1045 );
    create or replace force view policy_view of policy_t
    with object OID (policyid)
    as select p.policyid,
    (SELECT value(phv)
    from policyholder_view phv
    WHERE phv.customerid = p.primarycustomerid) as primaryinsured
    from policy p;
    create table insurance_claim(
    claimid number,
    filed date,
    claimpolicy number,
    damageReport varchar2(4000) /* XML */,
    constraint insurance_claim_pk primary key (claimid),
    constraint policy_fk foreign key (claimpolicy) references policy
    insert into insurance_claim values (77804, '01-JAN-99',8895,
    'The insured''s <VEHICLE>car</VEHICLE> broke through the guard rail and '&#0124; &#0124;
    'plummeted into a ravine. The cause was determined to be <CAUSE>faulty '&#0124; &#0124;
    'brakes</CAUSE> Amazingly there were no casualties.');
    insert into insurance_claim values (12345, '11-MAR-98',8895,
    'Officer George Lumden clocked the insured going 98 miles per hour in a '&#0124; &#0124;
    '45 zone. He wrote up the offender for an <CAUSE>excess speed</CAUSE> '&#0124; &#0124;
    'violation. Insured claims damage was done before he exceeded the speed '&#0124; &#0124;
    'limit.');
    insert into insurance_claim values (90998, '18-JUN-97',9054,
    'San Francisco Fire Department arrived on scene at 9:08pm i n response '&#0124; &#0124;
    'to an anonymous call. Fire went to four alarms. Fire Chief Rodriguez '&#0124; &#0124;
    'immediately suspected <CAUSE>arson</CAUSE> based on clues left at the '&#0124; &#0124;
    'scene.');
    insert into insurance_claim values (11876, '20-APR-98',9054,
    '<SUSPECT>Colonel Mustard</SUSPECT> underwent DNA testing and was '&#0124; &#0124;
    'confirmed as the killer. The insured''s wife was '&#0124; &#0124;
    '<CAUSE>murdered</CAUSE> with a candlestick in the library.');
    create table settlement_payments(
    claimid number,
    PayDate DATE,
    Amount NUMBER,
    Approver VARCHAR2(8),
    constraint claim_fk foreign key (claimid) references insurance_claim
    insert into settlement_payments values (77804,'05-JAN-99',7600,'JCOX');
    insert into settlement_payments values (12345,'15-MAR-98',1800,'MFOX');
    insert into settlement_payments values (12345,'23-MAR-98',7800,'ULOWE');
    insert into settlement_payments values (90998,'01-JUL-97',1500,'JCOX');
    insert into settlement_payments values (11876,'05-JAN-99',7600,'JCOX');
    create or replace force view insurance_claim_view of insurance_claim_t
    with object OID (claimid)
    as select c.claimid,c.filed,
    (SELECT value(pv)
    from policy_view pv
    WHERE pv.policyid = c.claimpolicy),
    CAST(MULTISET(SELECT PAYMENT(sp.paydate,sp.amount,sp.approver) as Payment
    from settlement_payments sp
    WHERE sp.claimid = c.claimid) AS settlements_t),
    c.damagereport
    from insurance_claim c;
    commit;
    begin
    ctx_ddl.drop_preference('Demo');
    end;
    begin
    ctx_ddl.create_preference('Demo', 'basic_lexer');
    ctx_ddl.set_attribute ('Demo', 'index_themes', '0');
    ctx_ddl.set_attribute ('Demo', 'index_text', '1');
    ctx_ddl.create_section_group('demo_xml', 'xml_section_group');
    ctx_ddl.add_zone_section('demo_xml', 'CAUSE', 'CAUSE');
    ctx_ddl.add_zone_section('demo_xml', 'MOTIVE', 'MOTIVE');
    end;
    create index ctx_xml_i on insurance_claim(damagereport)
    indextype is ctxsys.context
    parameters('LEXER Demo SECTION GROUP demo_xml');
    create synonym claim for insurance_claim_view;
    null

  • Intermedia - XML query help

    I do the following at a sqlplus command window
    create table xml (
    id number,
    xmltext clob);
    insert into xml values (1,'<a><b><c>steve</c></b></a>');
    exec ctx_ddl.create_section_group ('mysectiongroup','xmlsectiongroup');
    exec ctx_ddl.add_zone_section('mysectiongroup','a','a');
    exec ctx_ddl.add_zone_section('mysectiongroup','b','b');
    exec ctx_ddl.add_field_section('mysectiongroup','c','c');
    create index my_index on xml (xmltext) indextype is ctxsys.context parameters('section group mysectiongroup');
    select count(*) from xml where contains (xmltext,
    '(steve within ( c within (b within a)))');
    and count = 0, How can I get this to work ?

    Seems the insert left out my tags
    should look like this with lb = < and rb = >
    insert into xml values (1,"'lb a rb lb b rb lb c rb steve lb/c rb lb/b rb lb/a rb'");

  • XML Quote report

    We have a problem with our XML Quote report that cuts off the report at 26 pages when it should go to about 200 pages.
    We have another report the Acknowledge Quote and it works fine.

    Finally we found the solution for this problem.
    1. Open qotSCocPrint.jsp and add below line inside <SELECT id="qotOutFrmt" name="qotOutFrmt"> statement. This line should be added after "for" loop.
    <OPTION value="EXCEL">Excel Format</option>
    We can add as many options the XML Publisher supports.
    2. Decompile oracle.apps.aso.print.webui.MainCO.class (Controller).
    Change the below line
    httpservletresponse.setContentType("application/pdf");
    to
    httpservletresponse.setContentType("application/"+quoteOutputFormat.toLowerCase());
    Take a backup of the original file, compile the java in the same directory.
    3. Decompile oracle.apps.aso.print.server.PrintQuoteAMImpl.class and change this line
    Field field = class2.getDeclaredField("OUTPUT_TYPE_PDF");
    to
    String outputFormat="OUTPUT_TYPE"+as[12].trim();
    Field field = class2.getDeclaredField(outputFormat);
    Bounce Apache and generate the Quote output in desired format.

  • Issue in Creation of XML file from ABAP data

    Hi,
    I need to create a XML file, but am not facing some issues in creation of XML file, the in the required format.
    The required format is
    -<Header1 1st field= u201CValueu201D 2nd field= u201CValueu201D>
       - <Header2 1st field= u201CValueu201D 2nd field= u201CValueu201Du2026u2026. Upto 10 fields>
              <Header3 1st field= u201CValueu201D 2nd field= u201CValueu201Du2026u2026. Upto 6 fields/>
              <Header4  1st field= u201CValueu201D 2nd field= u201CValueu201Du2026u2026. Upto 4 fields/.>
               <Header5 1st field= u201CValueu201D 2nd field= u201CValueu201Du2026u2026. Upto 6 fields/>
          </Header2>
       </Header1>
    Iu2019m using the call transformation to convert ABAP data to XML file.
    So please anybody can help how to define XML structure in transaction XSLT_TOOL.
    And one more thing, here I need to put the condition to display the Header 3, Header 4, Header 5 values. If there is no record for a particular line item in header 3, 4 & 5, I donu2019t want to display full line items; this is only for Header 3, 4 & 5.
    Please help me in this to get it resolved.

    Hello,
    you can use CALL TRANSFORMATION id, which will create a exact "print" of the ABAP data into the XML.
    If you need to change the structure of XML, you can alter your ABAP structure to match the requirements.
    Of course you can create your own XSLT but that is not that easy to describe and nobody will do that for you around here. If you would like to start with XSLT, you´d better start the search.
    Regards Otto

  • Rendering xml-table into logical filename in SAP R/3

    Hi,
    I am trying to translate an xml-table with bytes into a logical filepath in SAP R3.
    Do I have to use the method gui-download or shall I loop the internal xml-table?
    When I tried to loop the xml-table into a structure, and then transfering the structure into the logical filename, I get problems with the line breaks in my xml-file. How do I get the lines to break exactly the same as I wrote them in my ABAP-code?
    Edited by: Kristina Hellberg on Jan 10, 2008 4:24 PM

    I believe you posted in the wrong forum.
    This forum is dedicated to development and deployment of .Net applications that connect and interact with BusinessObjects Enterprise, BusinessObjects Edge, or Crystal Reports Server. This includes the development of applications using the BusinessObjects Enterprise, Report Application Server, Report Engine, and Web Services SDKs.
    Ludek

  • Momento de envio do XML

    Boa tarde,
    Estou em um projeto de implementação e com a seguinte dúvida:
    Requerimentos:
    Tenho que enviar o XML assim que a Invoice+NF é gerada (VF01/VF04, etc).
    Num segundo momento, após a aprovação do XML, eu poderei imprimir a DANFe.
    Envio XML:
    Sei que a função que mapeia o XML para a versão 2.0 é a J_1B_NF_MAP_TO_XML e a função que envia para o GRC ou outra mensageria (utilizaremos NeoGrid) é a J_1B_NFE_XML_OUT.
    A pergunta é: como faço a chamada destas funções? Qual programa devo chamar? Em qual momento? É por customizing ou por uma exit no faturamento?
    Obs.: entendo que estas funções já estão configuradas no monitor J1BNFE para solicitar o reenvio da nota, etc.
    Impressão DANFe:
    Em paralelo, na J1BJ vou ter que configurar somente o programa de impressão do DANFe (J_1BNFPR), correto? Pois assim quando eu gerar e processar o output da NAST ele irá fazer a impressão do documento, correto?
    Caso não entendam as perguntas por favor me contestem que eu explico melhor.
    Obrigado!
    Felipe Brasil Simioni

    Olá, Fernando.
    Por favor veja se pode nos ajudar.
    Estamos tendo o mesmo problema com o envio do XML para a mensageria (não GRC).
    Seguindo as parametrizações indicadas acima:
    SPRO
       Componentes válidos para várias aplicações
         Funções gerais de aplicação
           Nota Fiscal
             Saída
               Atribuir parametros de numeração e dxed impressão
    O local de negócios está configurado como RFC CALL vazio (segue descrição abaixo):
    "Execução RFC e atualização banco dados na mesma LUW (padrão)"
    Porém, ao tentar enviar a nota fiscal (ex: J1B1N), ocorre um erro na SM58 e o XML não é enviado para o sistema de mensageria.
    Analisando o programa SAPLJ_1B_NFE, no include LJ_1B_NFEF42, vemos que para mensagerias não GRC o programa chama a função J_1B_NFE_XML_OUT em background task, o que ocasiona o erro abaixo na SM58.
      IF sy-subrc IS INITIAL.
    non SAP messaging system                          "V1.10
        if lv_xnfeactive is initial.                    "V1.10
    Call function asych. when RFC connection available
    gv_callmode can be switched in debbuging to call the RFC synchronous
    do not reset gv_callmode direct after the RFC call
          if gv_callmode is initial.
            CALL FUNCTION 'J_1B_NFE_XML_OUT'
    IN BACKGROUND TASK
              DESTINATION lv_rfcdest
              EXPORTING
                xml_in                = xmlh
                xml_item_tab          = xmli_tab
                xml_batch             = xmlb_tab
                xml_ref               = xmlr_tab
                xml_dup               = xmld_tab
                xml_vol               = xmlv_tab
                xml_head_tab          = xmlh_tab          "V1.10
                xml_imp               = xml_import_tab    "V1.10
                xml_ext1              = xml_ext1_tab      "V1.10
                xml_ext2              = xml_ext2_tab      "V1.10
                xml_adi               = xml_adi_tab       "V2.00
                xml_reb               = xml_reb_tab       "V2.00
                xml_cane_dia          = xml_cane_dia_tab  "V2.00
                xml_cane_ded          = xml_cane_ded_tab. "V2.00
    Erro da SM58:
          RfcAbort: Cannot lock transaction
          Nº mensagem SR053
    Note que a chamada é feita de forma assincrona porque a variável gv_callmode está como initial, e que segundo o comentário da SAP, essa variável é usada somente para debug, sem qualquer parametrização que controle o modo de chamada.
    Obs: se comentarmos a linha IN BACKGROUND TASK, tudo funciona perfeitamente.
    Mas obviamente não é o que queremos fazer. Queremos manter o programa original da SAP.
    Já pesquisamos notas para esse problema, mas não encontramos nada que se refira a esse problema.
    Alguém mais se deparou com essa situação?
    Desde já agradeço pela ajuda.
    Rodrigo Ferreira

  • Generate prov.xml for Creative Cloud. Return Code 27

    We're trying to follow this guide (Creative Cloud Help | Using Adobe Provisioning Toolkit Enterprise Edition) to serialize a package (or something). We're stuck on generating prov.xml. My best attempt at an entry is:
    C:\Program Files (x86)\Common Files\Adobe\OOBE\PDApp\CCP\utilities\APTEE>adobe_prtk.exe --tool=VolumeSerialize --generate --serial=xxxx-xxxx-xxxx-xxxx-xxxx-xxxx --regsuppress=ss --eulasuppress --locales=en_US --provfilepath=C:\Program Fil
    es (x86)\Common Files\Adobe\OOBE\PDApp\CCP
    It says half of this is optional, but I'm skeptical.
    Anyway, I'm getting return code 27. This indicates that it is unable to edit the prov.xml file specified. I didn't specify a prov.xml file, I'm trying to make one. The syntax I'm using differs from what I found on the page I linked, as that was giving me syntax errors. I lifted this off someone else's code. I've tried just about every variation I can think of. Any help would be appreciated.
    This is on Windows

    One of these links may help
    http://helpx.adobe.com/creative-cloud/packager.html
    http://forums.adobe.com/community/download_install_setup/creative_suite_enterprise_deploym ent

  • XML file to B1 Sales Quotaion

    hello,
    I am trying to insert a sales quotation in XML file format into SAP B1.
    In the message log i get an error : Value too long in property 'CardCode' of 'Document'
    every time i use an Item code or a card code containing Hebrew characters , i get garbage in the message:
    i defind the B1 sender system language to Hebrew and i don't see the reason for the problem.
    thanks, udi

    Hi Eddy,
    I only get the error message in hebrew.
    i tried a sales quotation where the customer code and item code were in english and it loaded succesfully.
    thanks, udi

  • Generate xml source file for Oracle Order Capture Print Quote

    Hi,
    I am new to xml and need to work on creating templates for Print Quote.
    I am trying to generate the xml source file for which I enabled the report in system administrator and set the output to XML and assigned to Quoting Reports responsiblity. I then assigned XML Report Publisher to the same responsiblity.
    I ran the report (Print Quote) and then I am trying to run the XML Report Publisher but I cannot get the request id in the list of values.
    I am able to generate xml source file for other reports like Printed Purchase Order etc.,
    The view output for the (Print Quote) report is as follows:
    <?xml version="1.0" ?>
    - <!-- Generated by Oracle Reports version 6.0.8.26.0
    -->
    <ASOPQTER />
    How do I get the xml source file? Or are there seeded templates that I can use to create more templates? Any help would be appreciated. Thanks Ravi

    Hi, I am in the same position - did this issue ever ger resolved by anyone. I have done a few XMLP reports successfully now using the Word add-in, but customising the Quote output differs from other standard reports.
    If you look at the data definition for Quote it is a 'dummy' definition and has no XML file attached. Does anyone know how I can get the XML format for the report output?
    Also the template uses XSL-FO ?!?!?! rather than RTF - not sure how to work with this, the Oracle docs are not very helpful in this regard either.
    Has anyone successfully managed to customise the Quote print report? Many thanks,
    Roger

  • Using a SQL data source and XML data source in the same template

    I am trying to develop a template for the Request for Quote report generated in Apps 11.5.10. I have loaded the data from the XML output into the template, but I am missing one field - I need the org_id from the po_headers table. Is it possible to use a sql data source (i.e., "select org_id from po_headers_all where po_header_id = [insert header_id from xml data]...") in addition to the xml data source to populate the template at runtime? When you use the Insert > SQL functionality is it static at the time the template is created, or does it call to the database at runtime? I've looked through all the docs I could find, but this isn't clear.
    Thanks for any help or suggestions you may have.
    Rhonda

    Hi Pablo
    Thats a tough one ... if you go custom with a data template you will at least get support on the data template functionality ie you have a problem when you try and build one. You will not get support on the query inside the data template as you might have gotten with the Oracle Report, well you could at least log a bug against development for a bad query.
    Eventually that Oracle Report will be converted by development anyway, theres an R12 project going on right now to switch the shipped OReports to data templates. AT this point you'll be fully supported again but:
    1. You have to have R12 and
    2. You'll need to wait for the patch
    On reflection, if you are confident enough in the query then Oracle will support you on its implementation within a data template. Going forward you may be able to swap out your DT and out in the Oracle one without too much effort.
    Regards, Tim

  • Questions on LDAP w.r.t XML Publisher 5.6.2

    Hi all,
    I have 2 questions on LDAP integration w.r.t XML P 5.6.2
    1) Is OID the only supported LDAP repository? I tried to set up a Iplanet directory server against XMLP, but could not. Did I miss something, or it is not supported?
    Other than OID, any other LDAP supported?
    2) Suppose, my use-case is: I want to show some values from the database, and also in the same report, print out the user attributes from the LDAP (like email id of the user, for example) who fired the report, then is this possible?
    Thanks,
    Ambarish,

    Ok. Question 1 - I have answered myself. I could not set up SunONE Directory server against XMLP :-(
    But I could set up against openldap. :-)
    I plan to contribute to the blog in 2/3 days time on how this can be done.
    But I still need some help on the question 2. How can I create a report which has all the data from both the backend database, and well as from the LDAP repository. For example, report like:
    Report Fired By:
    EMAIL id:
    Mobile:
    (data1, data2...)
    where data1, data2 comes from the database, and email id, mobile from the LDAP.

Maybe you are looking for

  • Print to Windows Shared Printer from Mac on wireless network

    My set up is: HP Deskjet 1050 410 USB to a WIndows 7 PC. The PC has 4 users, each password protected for login and  public (not protected) folders. The Macbook is running OS X 10/6/8. I have downloaded the latest HP drivers. I found the printer on th

  • Enterprise manager 11g doesn't display

    Hi all, I have installed Oracle 11g on Windows server 2008. But now enterprise manager doesn't want to open or display. C:\Users\Oraclemon>set ORACLE_SID=wmconpd1 C:\Users\Oraclemon>emctl start dbconsole Oracle Enterprise Manager 11g Database Control

  • Changing default on 'Save for Web'

    On my previous 'XP' computer I'm sure that when I saved a graphic the default was jpeg but on this computer which runs Windows7 the default is gif.  Is there a way I can change this?

  • Conditionally Display Report Column

    hi, i want to display report column Conditionally . i have created a report . there are multiple column Like. BILL NO,BILL DATE, PAYMENT MODE, CHEQUE NO, CHECQUE DATE, TOTAL AMOUNT Now i want to display only BILL NO,BILL DATE, PAYMENT MODE, TOTAL AMO

  • No Music in Ipod since upgrading to ios4??

    Since I upgraded to 4 on my iphone 3g I can only play music through my playlist when i go to search by artist or anything else, it says no music even though the playlist is there? Any help welcome Thanks