Oracle XDK for C

I working whith Oracle XDK library. I want to copy document's fragment to another document.
How do I can make it ?

You can use the DOM2 adoptNode() and ImportNode().

Similar Messages

  • Oracle XDK for linux?

    Is there any XDK for linux? The only two platforms of XDK are UNIX and NT. BTW, XDK is not included in Oracle 8i, is it? we have to download from ORACLE website and install it after the Oracle 8i is installed? Thanks.
    YuTung

    The Java and PL/SQL XDKs are the same for UNIX on Solaris and Linux. We have separate Linux ports for C and C++. The XDKs are not part of the current 8i release (8.1.6) but have been announced as part of Release 3 (8.1.7).
    Oracle XML Team
    null

  • ANN: XDK for Java/PLSQL 9.2.0.1 PRODUCTION

    Today the 9.2.0.1 Production versions of the
    Oracle XDK for Java and PL/SQL were posted
    for download here on OTN. Visit the following
    links and click on the "Software" link in
    the left margin to download.
    [list]
    [*]XDK for Java
    [*]XDK for PLSQL
    [list]

    On Sat Mar 2 and Sun Mar 3 xdk java 92010 unavailable for download.
    From:
    http://otn.oracle.com/software/tech/xml/xdk_java/htdocs/winsoft.html
    To:
    http://download.oracle.com/otn/utilities_drivers/xml/java/xdk_java_9_2_0_1_0.zip
    To:
    The page you are looking for is currently unavailable.
    Has the kit been temporarily removed in preparation for another?

  • Oracle XDK - C language -

    Help!
    I would like to use the oracle xdk for xsl processing, and validation.
    But when I try to either process or validate this document,
    I get this error:
    In line 436 of ../dtds/ead.dtd:
    In line 644 of eadbase.ent [parameter entity eadbase]:
    LPX-00231: invalid character 37 ('%') found in a NAME or NMTOKEN
    I am processing a document that uses the EAD dtd.
    (see http://www.loc.gov/ead/).
    so the ead dtd is the standard ead dtd.
    The fragment in question is an attlist definition:
    635 <!--************************************************************-->
    636 <!-- SUBTITLE -->
    637
    638 <!ELEMENT subtitle (#PCDATA | %m.phrase.bare; | abbr |
    639 date | expan | num)* >
    640
    641 <!ATTLIST subtitle
    642 %a.common;
    643 encodinganalog CDATA #IMPLIED >
    644
    but both %m.phrase.bare; and %a.common were defined and used before, with
    no problem in other element, like for instance titleproper which comes immediately
    before subtitle (
    621 <!ELEMENT titleproper (#PCDATA | %m.phrase.bare; | abbr |
    622 date | expan | num)* >
    623
    624 <!ATTLIST titleproper
    625 %a.common;
    626 extent (all | part |
    627 unknown-extent) #IMPLIED
    628 pubstatus (pub | unpub |
    629 unknown-pub) #IMPLIED
    630 render (%av.render;) #IMPLIED
    631 type CDATA #IMPLIED
    632 encodinganalog CDATA #IMPLIED >
    Can anyone give me a hint why this would fail?
    This is the definition of parameter entity a.common:
    385 <!--************************************************************-->
    386 <!-- COMMON ATTRIBUTES -->
    387 <!--************************************************************-->
    388 <!-- Attributes used on most ead elements -->
    389
    390 <!ENTITY % a.common
    391 'id ID #IMPLIED
    392 altrender CDATA #IMPLIED
    393 audience (external | internal) #IMPLIED' >
    394
    395
    Thanks in advance for any help, or clues to deficiencies in the xdk parser.
    Rick

    You can use the DOM2 adoptNode() and ImportNode().

  • XDK for java in JDeveloper

    Hi there,
    I am new to this tool and cant find something needed, Can anyone let me know does this tool includes the XDK for Java?

    Yes it does include the Oracle XDK for Java.
    You can add the libraries to your project in your project properties.

  • XDK for PL/SQL and XML Parser for PL/SQL

    Is there a difference between the terms:
    XDK for PL/SQL
    and
    XML Parser for PL/SQL V2
    or are they the same thing...?
    cheers,

    XDK stands for XML Developer's Kit. There are Oracle XDKs for Java, C, C++, and PL/SQL. These development kits contain building blocks for reading, manipulating, transforming, and viewing XML documents.
    XML Parser is one component of XDK. Other components of XDK are
    XSLT Processor, XSU, XSQL Servlet, XML Class Generator, etc.
    For more information on XDK and its components please refer to:
    http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/appdev.920/a96621/adx01bas.htm#1656
    Regards,
    Anupama
    http://otn.oracle.com/sample_code/content.html

  • XDK for Java: dateTime validation error

    Hi,
    I am using Oracle XDK for Java. I created an XML Schema where I have an element of type xs:dateTime. Proper value for this field is for example: '2002-10-16T12:24:15+02:00'. But when I validate this value I get: class java.lang.NumberFormatException: For input string: "02:00".
    This is probably a bug in XDK, but is there any workaround for this?
    Thanks in advance
    Jacek Chmielewski

    Jinyu,
    I guess the next release will need to be waited for as I have
    not been able to get you to respond to my questions.
    In the meantime, I'll have to use Sun's JAXB as I know it will
    generate the classes I want.
    jim
    PS: I am still available to work through this with you, but I
    need to move forward.

  • XDK for UNIX (oracle 8.1.6)

    We have Oracle 8.1.6 running on Unix. We need XDK for PL/SQL. Oracle site has XDK for oracle 9i and asked to contact OTN for 8.1.x version. When I contacted OTN they again point me to technet.oracle.com/tech/xml where XDK for 8.1.6 is not there.
    Can anybody come forward and help me ?
    Thanks in Advance !

    XDK 9x is not for Oracle 9i database. You can also use them with 8.1.x version.

  • Oracle XDK 10g for PL/SQL

    Hello,
    Is XDK for PL/SQL exists in current version of XDK 10g?
    What are the plans of Oracle about PL/SQL support for XML?
    Thank you.
    Alexey

    XDK for PL/SQL is not supported for XDK 10g.
    XDK for PL/SQL is supported for XDK 9i.

  • XDK for PL/SQL vs XDK for Java

    Hi ,
    I am trying to find what version of XDK and whether it is for java or PL/SQL. I am confused after what I saw in our environment. Please clarify..
    When I run the getReleaseVersion() and do a
    select xmlversion from dual,
    I get
    Oracle XDK Java 9.0.1.1.0A Production
    Does this mean we have XDK for Java? not for PL/SQL?
    I also see PL/SQL packages for XMLDOM,XMLGEN.XMLPARSER,XSLPROCESSOR,DBMS_XMLQUERY,DBMS_XMLSAVE.
    Does this mean I have/not XDK for PL/SQL??
    Please clarify.

    XDK for PL/SQL is built based on XDK for Java. So that's why you got the result. It should also reflect the version you use.

  • XDK for Windows 98

    Hi,
    I would like to work with the XML abilities of Oracle. I have installed Oracle Personal Edition 8i on a Windows 98. It seems that XDK is available only for Windows NT. Is this correct? Is it possible to use the XDK on Windows 98?
    If so, I have another question. The Readme of the XDK for PL/SQL includes the instruction that I must run the load.sql script. However, this script is not contained in the distribution. What should I do?
    I would also appreciate any general advice about what I XML-related abilites I should be able to install.
    Thanks!
    Sara Cohen
    Hebrew University
    Jerusalem, Israel

    I have installed Oracle Personal Edition 8i on a Windows 98. It seems that XDK is available only for Windows NT. Is this correct? Is it possible to use the XDK on Windows 98? Yes, the XDK (for Java and PL/SQl) works fine on W98. The only thing you will probably have to do is increase the settings for "environment space". Something like this in the config.sys (see a DOS manual):
    command /E:1024
    (because you need to define environment variables for the classpath, etc.)
    If so, I have another question. The Readme of the XDK for PL/SQL includes the instruction that I must run the load.sql script. However, this script is not contained in the distribution. What should I do?My \xsu12\lib directory contains a oraclexmlload.sql script to install the Java XML parser and PL/SQL package. I think this is what you mean/need.
    succes

  • XDK for C - SAX Parser Memory Problem

    Hi,
    I'm using the SAX Parser with custom Callbacks with XDK for C - version : Oracle XML Parser 9.2.0.6.0.
    i'm parsing a single large XML file using the custom callbacks.
    The issue i'm facing that the SAX Parser does not release any memory till complete parsing is over for the whole document(until xmlterm is called). This causes the parser to fail with LPX-00002 : OUT OF MEMORY error before the document parsing is complete.
    I tried using custom memory callbacks but what i noticed is that the parser does not invoke the free Memory callback untill xmlterm is invoked.
    If anybody has found an alternative to allow memory to be freed while SAX parsing is going on pls help me too.
    Regards,
    Vineet Mago

    Can you send the test case?

  • Oracle XDK and FOP 0.20.4 not working...

    Hi all,
    We have created a sample application with Apache FOP to obtain a PDF document.
    But, although it works fine with XERCES and XALAN, it doesn4t work with Oracle XDK, why?
    May it be a bug in Oracle XDK? Or do Apache projects implements something non-standard that is used? Or is Oracle who does not implement all the specification?
    This is the sample: (in perfect spanish ;-) )
    You only should change the file locations and the System.setParameters and libraries to use Apache or Oracle XDK.
    Can anybody help us?
    Thanks in advance
    Jose R.
    TESTFO.java:
    package es.aranzadi.fo;
    import javax.xml.transform.*;
    import javax.xml.transform.stream.*;
    import javax.xml.transform.sax.*;
    import javax.xml.parsers.SAXParserFactory;
    import javax.xml.parsers.SAXParser;
    import javax.xml.transform.sax.SAXSource;
    import java.io.*;
    import org.xml.sax.InputSource;
    import org.xml.sax.EntityResolver;
    import org.xml.sax.XMLReader;
    import org.xml.sax.helpers.XMLReaderFactory;
    import org.apache.fop.apps.Driver;
    import org.apache.fop.layout.Page;
    import org.apache.fop.apps.Version;
    import org.apache.fop.apps.XSLTInputHandler;
    import org.apache.fop.messaging.MessageHandler;
    import org.apache.fop.render.awt.AWTRenderer ;
    import java.net.URL;
    public class TestFo
    public TestFo()
    public static void main (String [] args) throws Exception
    TestFo tf= new TestFo();
    tf.go();
    public void go() throws Exception
    // THIS IS FOR ORACLE XDK
    System.setProperty("javax.xml.transform.TransformerFactory","oracle.xml.jaxp.JXSAXTransformerFactory");
    System.setProperty("javax.xml.parsers.SAXParserFactory","oracle.xml.jaxp.JXSAXParserFactory");
    System.setProperty("org.xml.sax.parser","oracle.xml.parser.v2.SAXParser");
    // THIS IS FOR APACHE XALAN AND XERCES
    //System.setProperty("javax.xml.transform.TransformerFactory","org.apache.xalan.processor.TransformerFactoryImpl");
    //System.setProperty("javax.xml.parsers.SAXParserFactory","org.apache.xerces.jaxp.SAXParserFactoryImpl");
    Driver driver = new Driver();
    driver.setOutputStream(getResultOutputStream());
    driver.setRenderer(Driver.RENDER_PDF);
    Transformer transformer= (TransformerFactory.newInstance()).newTransformer(getXSLSource());
    transformer.transform(getXMLSource(), new SAXResult(driver.getContentHandler()));
    public StreamSource getXSLSource() throws Exception
    return new StreamSource(new File("YOUR_PATH\\myPrueba.xsl"));
    public SAXSource getXMLSource() throws Exception
    File fichero=new File("YOUR_PATH\\myPrueba.xml");
    InputSource is=new InputSource(new FileReader(fichero));
    is.setSystemId("file://YOUR_PATH\\\\myPrueba.xml");
    is.setEncoding("iso-8859-1");
    return new SAXSource(is);
    public OutputStream getResultOutputStream() throws Exception
    File fichero=new File("YOUR_PATH\\pruebafo.pdf");
    return new FileOutputStream(fichero);
    myPrueba.xsl
    <?xml version="1.0" encoding="iso-8859-1"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:fox="http://xml.apache.org/fop/extensions">
    <xsl:template match="/">
    <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
    <fo:layout-master-set>
    <fo:simple-page-master master-name="my-page">
    <fo:region-body margin="1in"/>
    </fo:simple-page-master>
    </fo:layout-master-set>
    <fo:page-sequence master-reference="my-page">
    <fo:flow flow-name="xsl-region-body">
    <fo:block>
    <xsl:apply-templates select="prueba"/>
    </fo:block>
    </fo:flow>
    </fo:page-sequence>
    </fo:root>
    </xsl:template>
    </xsl:stylesheet>
    miPrueba.xml
    <?xml version="1.0" encoding="iso-8859-1"?>
    <prueba>
    Hola mundo
    </prueba>

    Sorry, this is the exception:
    java.lang.NullPointerException
    java.lang.NullPointerException
         at oracle.xml.jaxp.JXTransformer.reportXSLException(JXTransformer.java:720)
         at oracle.xml.jaxp.JXTransformer.transform(JXTransformer.java:304)
         at oracle.xml.jaxp.JXTransformerHandler.endDocument(JXTransformerHandler.java:137)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:263)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:146)
         at oracle.xml.jaxp.JXXMLFilter.parse(JXXMLFilter.java:91)
         at org.apache.fop.apps.Driver.render(Driver.java:481)
         at es.aranzadi.documentos.pruebaFOP.metodoB(pruebaFOP.java:120)
         at es.aranzadi.documentos.pruebaFOP.main(pruebaFOP.java:41)

  • Urgent: When is the XDK for C  on HP-UX in Version 9.0.2.0.2 available?

    We like to use the validating xmlparser provided by the xdk for c.
    Unfortunatly the XDK for C has the Version 9.0.1.0.1.
    Two questions:
    1) When do you port the Version 9.0.2.0.2 to HP-UX ?
    2) Can i use the version with an oracle database version 8.1.7 ?
    TIA
    Martin Frenzel
    Please answer to [email protected]

    The HP-UX version of XDK will be available with the 9iR2 DB for HP-UX.

  • ANN : New Oracle XDK 10g Sample Application

    Hello,
    Check out this new Oracle XDK 10g Sample Application at http://otn.oracle.com/sample_code/tech/xml/index.html that demonstrates the Unicode Support of XDK using the scenario of a Real Estate Portal. This sample application also discusses the XSLT Extensions and illustrates the following features:
    - Encoding XML documents in different character sets ( UTF-8, UTF-16, ISO-8859-1 )
    - Sending and receiving XML documents over HTTP along with character encoding information
    - Using single style-sheet for multilingual HTML page generation with the help of XSLT extension function facility provided by Oracle XDK 10g
    - Storing XML documents in XMLType column of Oracle database along with appropriate encoding
    - Generating XML documents on using Oracle XDK 10g DOM API's along with encoding attribute
    The sample application supports two languages; English and French.
    Regards,
    OTN Team

    I have got the following error when i run the WebServicesAssembler.jar
    D:\Oracle\Oc4j\j2ee\home>java -jar d:/oracle/oc4j/webservices/lib/WebServicesAss
    embler.jar -config etc/config.xml
    Exception in thread "main" java.util.zip.ZipException: The system cannot find th
    e path specified
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(ZipFile.java:105)
    at java.util.jar.JarFile.<init>(JarFile.java:110)
    at java.util.jar.JarFile.<init>(JarFile.java:52)
    D:\Oracle\Oc4j\j2ee\home>java -jar WebServicesAssembler.jar -config etc/config.x
    ml
    Exception in thread "main" java.lang.InstantiationException: Unknown deployment
    tag in JMS Web Service Example: <option>
    at com.evermind.xml.XMLConfig.parseDeploymentMainNode(XMLConfig.java:293
    at oracle.j2ee.ws.tools.WsAssemblerConfig.parseDeploymentMainNode(WsAsse
    mblerConfig.java:68)
    at com.evermind.xml.XMLConfig.parseRootNode(XMLConfig.java:268)
    at com.evermind.xml.XMLConfig.init(XMLConfig.java:147)
    at com.evermind.xml.XMLConfig.init(XMLConfig.java:88)
    at oracle.j2ee.ws.tools.WsAssemblerConfig.init(WsAssemblerConfig.java:30
    at oracle.j2ee.ws.tools.WsAssembler.main(WsAssembler.java:17)

Maybe you are looking for

  • How to validate more than one item.

    Hi guys, I cannot create a composite primary key. I need to validate three items in a form at once ( P1_Project , P1_unit_type, P1_unit_number.) if in the DB there is a record containing identical data ( project , unit_number, unit_type), then the va

  • Error while upgrading EP 7.0 SP6 to SP9 (in java stack)

    Dear All, We have EP 7.0 with SP 6 , OS = Win2k3 SP2, DB = Oracle 10.2 g. Upgrading it to Sp9 , we have downloaded dumps from service marketplace. Kernel & ABAP stack upgradation have been completed and the system is showing it clearly from status me

  • MB Pro Retina mid-2012 with OSX 10.9.5 no longer recognizes 2nd monitor

    After the OSX 10.9.5 update, my MB Pro Retina mid-2012 started to crash whenever I had it connected to an external monitor via a VGA to Thunderbolt adapter. The crash Kernel report follows below. After a couple of days my laptop stopped crashing, but

  • Oracle.DataAccess.Client.OpsSql::ExecuteReader() never returns

    Within a single day I have experienced twice a peculiar problem with Oracle.DataAccess.Client.OpsSql::ExecuteReader() Calling ExecuteReader() blocks indefinitely on a simple select query (it was a different query the two times). The CPU of the Oracle

  • Compile WebUI JSP

    I think that all class library files for the WebUI .JSP files have been installed in the 9iFS. So I tried to use all class library files in <9iFS>\lib to compile the WebUI .JSP files in addition to all system class library files of JDeveloper 9i R2.