Location of XML files

I am looking into using the XML SQL utility to generate XML documents. Is it possible for the XML documents to be output to any location?

Using the oracle.xml.parser.v2.XMLDocument.print() method is a good place to start. From here you can output the file to any file on your network (with permissions set correctly):
doc.print(new java.io.FileOutputStream(new File("H:/testing.xml")));

Similar Messages

  • Use parameter to define location of xml-file

    Hi,
    here is a question about importing data from a xml-file using the xfa.host.importdata
    A tool we use generates a copy of a 'template'-pdf an put it into a unique folder. This unique folder will contain:
    (1) a Batch-file
    (2) a fillable, certified, reader-enabled pdf
    (3) a xml-file containing data for the pdf
    The batchfile will run a command 'start iexplore.exe file://C:/Doc.pdf?Address="C:/Doc.xml"
    So, the Internet Explorer will be started, opens the local PDF and creates a parameter with the location of the xml-file.
    So, now is my question how to make it work that in the DocReady-event the command xfa.host.importdata(); will be executed pointing to the xml-file. It should be like xfa.host.importdata("C:/Doc.xml");
    If I put the command in the click-event of a button, it works fine, but I need help with setting up that command using the parameter.
    Thank in advance!
    Erik

    You will not be able to automate using script the reading of a data file. This is deemed a security risk (as the user is not aware that this iis happening) and as such the user must pick the file.
    There is another way though. There is an xml format supported by XFA forms called XML Data Package(XDP). This format keeps the data in teh same way as the xml file but allows a couple of goodies in it. Like the template that was used to create the file. If you open your PDF file and save the data out in that xdp format, then open the file in a text editor you will see a reference to the template that was used to load it. Now if you double click the xdp file then it will open the data file, find the reference to the template and merge the data and template together for you. This is not a security risk because the user casued teh data file to open. Note that this will not work on machines that have Designer on it because the XDP extension is registered with Designer and not Acrobat/Reader. If you change that association in Windows then it will work fine.
    So my suggested solution is to make your data files xdp files and add the reference to the template that you want to use and have the user launch the xdp file and you shoudl be able to accomplish what you asked for.
    Hope that helps
    Paul

  • Specifying Schema Location in XML file and not in the Java code

    I have a repository of schema xsd files. When I receive my xml file, I need to validate it against the specified schema. The xml file would declare the schema location, using the following syntax:
    <CERD:CERD xsi:schemaLocation = "..\CERD.xsd" xmlns:CERD = "CERD.xsd" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance">
    Is it really necessary to define the schema location again in the JAVA code? Why set the schemaLocation in the xml file at all then?
    Does anybody have any examples where the schema location is not set in the JAVA code? I am using Java 1.6, and at this point in time I only need to validate. Any help would be appreciated.

    Thank you very much for your quick reply. I have made some progress but I am still stumped.
    In my code I am doing this:
    SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
    Schema schema = factory.newSchema();
    Validator validator = schema.newValidator();
    validator.validate(XML_SOURCE);
    I find this works if my schema does not have a target namespace. I have downloaded the following simple example from the internet that uses a target namespace and it fails:
    library1.xsd:
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://example.org/prod"
    xmlns:prod="http://example.org/prod">
    <xsd:element name="product" type="prod:ProductType"/>
    <xsd:complexType name="ProductType">
    <xsd:sequence>
    <xsd:element name="number" type="xsd:integer"/>
    <xsd:element name="size" type="prod:SizeType"/>
    </xsd:sequence>
    <xsd:attribute name="effDate" type="xsd:date"/>
    </xsd:complexType>
    <xsd:simpleType name="SizeType">
    <xsd:restriction base="xsd:integer">
    <xsd:minInclusive value="2"/>
    <xsd:maxInclusive value="18"/>
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:schema>
    <prod:product xmlns:prod="http://example.org/prod"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xsi:schemaLocation="library1.xsd"
    effDate="2001-04-02">
    <number>557</number>
    <size>10</size>
    </prod:product>
    I get the following SAXParseException when I validate:
    [line 4, col 36|
    cvc-elt.1: Cannot find the declaration of element 'prod:product'.
    Am I doing something wrong with the namespace declaration?
    Edited by: alfredamorrissey on Oct 31, 2007 6:34 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Add node at particular location in XML file

    I'd like to add an item to a particular location in an XML file.  Location of parent node is given by string variable "itemtoaddto" and the XML file is given by "myXML":
    function TraverseXMLfile(itemtoaddto,myXML): void {
        var AttributeList:XMLList = myXML.attributes() + myXML.*.attributes() + myXML.*.*.attributes();
         for each (var labelname:XML in AttributeList) {
          if(labelname == itemtoaddto){
            trace (labelname + "match found!!!!!");
            myXML.*.labelname.appendChild(<SON name="Will" bday="01/15" />);
    In the above code, the parent item is being found in fact it's printing the "match found!!!!!" message.  However, the line
           myXML.*.labelname.appendChild(<SON name="Will" bday="01/15" />);
    is giving the following error:
         TypeError: Error #1086: The appendChild method only works on lists containing one item.
    Can someone help please? thanks.

    var myXML:XML = <product>
                                <subAssembly label="Sub1">&#8232;           
                                    <part label="Part1_1"/>&#8232;           
                                    <part label="Part1_2"/>&#8232;           
                                    <part label="Part1_3"/>&#8232;           
                                    <part label="Part1_4"/>&#8232;       
                                </subAssembly>&#8232;       
                                <subAssembly label="Sub2">&#8232;           
                                    <part label="Part2_1">&#8232;               
                                        <feature label="Feature2_1_1"/>&#8232;               
                                        <feature label="Feature2_1_2"/>&#8232;           
                                    </part>&#8232;           
                                    <part label="Part2_2">&#8232;               
                                        <feature label="Feature2_2_1"/>&#8232;               
                                        <feature label="Feature2_2_2"/>&#8232;           
                                    </part>&#8232;       
                                </subAssembly>&#8232;       
                                <subAssembly label="Sub3"> &#8232;           
                                    <part label="Part3_1">&#8232;               
                                        <feature label="Feature3_1_1"/>&#8232;               
                                        <feature label="Feature3_1_2"/>&#8232;           
                                    </part>&#8232;       
                                </subAssembly>&#8232;
                            </product>;
    myXML.subAssembly.(@label == "Sub1")[0].insertChildAfter(myXML.subAssembly.(@label == "Sub1")[0].part[myXML.subAssembly.(@label == "Sub1").part.length() - 1], <part label="Part1_5"/>);
    trace(myXML);
    This traces:
    <product>       
      <subAssembly label="Sub1">          
        <part label="Part1_1"/>      
        <part label="Part1_2"/>
        <part label="Part1_3"/> 
        <part label="Part1_4"/>
        <part label="Part1_5"/>
      </subAssembly>
      <subAssembly label="Sub2">
        <part label="Part2_1">        
          <feature label="Feature2_1_1"/>      
          <feature label="Feature2_1_2"/>    
        </part>  
        <part label="Part2_2">      
          <feature label="Feature2_2_1"/>      
          <feature label="Feature2_2_2"/>   
        </part>
      </subAssembly>
      <subAssembly label="Sub3">
        <part label="Part3_1">       
          <feature label="Feature3_1_1"/>     
          <feature label="Feature3_1_2"/>
        </part>
      </subAssembly>
    </product>

  • Location of XMl file of a Concurrent Request

    Hi All,
    I have developed a report in XML Publisher. The report runs successfully in DEV. Now this has been migrated to higher instances. The data is not correctly appearing in the report. I want to debug this .
    I understand that when we click on Diagnostics and View XML on the concurrent request ,we see the ..XML file with all the tags generated. Up until this point its working fine.
    My problem comes, while viewing the XML. The XML file with tags stops after few records saying that there is an Invalid character.
    My question here is , "DOES ANY ONE KNOW WHERE DOES THIS XML FILE WITH THE RUNTIME TAGS STORE IN THE APPLICATION"?. Please help me
    Thanks for taking time to read and help me
    Thanks
    Sandeep

    Hi All,
    I have developed a report in XML Publisher. The report runs successfully in DEV. Now this has been migrated to higher instances. The data is not correctly appearing in the report. I want to debug this .
    I understand that when we click on Diagnostics and View XML on the concurrent request ,we see the ..XML file with all the tags generated. Up until this point its working fine.
    My problem comes, while viewing the XML. The XML file with tags stops after few records saying that there is an Invalid character.
    My question here is , "DOES ANY ONE KNOW WHERE DOES THIS XML FILE WITH THE RUNTIME TAGS STORE IN THE APPLICATION"?. Please help me
    Thanks for taking time to read and help me
    Thanks
    Sandeep

  • Where is the glossary .xml file found

    Hi I was trying to locate the .xml file that populates the Glossary widget so that I could copy it and create my own editable .xml file to import.
    Can anyone tell me where I would find it?
    Thanks
    Mark

    Wow!  I just tried a quick few edits and I got the same thing.  Now I did stretch the glossary down and here is a screen shot of how mine turned out.
    Try doing that and see how it works for you.
    At least it allows the student to scroll down to very bottom.
    It almost seems like there are daily changes.....

  • Error JBO-26001: XML File not found for the Container FinancingBillUI.cpx

    error occuring when executing a swing application build from many project's
    project 1 : application with login dialog
    project 2 : bc4j
    project 3 : user interface
    All source file compile sucessfully
    What the problem ?

    Michel:
    Could you post the complete stack trace? From the Subject line, it sounds like your app is not able to locate an XML file (which could mean a problem in CLASSPATH), but a stack trace will help. In fact, turn on diagnostics and post the diag output around the error. Here is an instruction on how to turn on diagnostic:
    1. Select the project.
    2. Do right mouse click and select "Project Settings..."
    3. On the Settings dialog, select Configurations/Runner.
    4. In the righthand side pane, you should see a textbox for "Java
    Options". Please add the following JVM switch:
    -Djbo.debugoutput=console
    Then, rerun. The run command should include
    -Djbo.debugoutput=console as in
    "D:\JDev9i\jdk\bin\javaw.exe" -Djbo.debugoutput=console -classpath ...
    You should now see a lot more output on the IDE's message window.
    Thanks.
    Sung

  • Anyone know how to output an XML file from ABAP to a non sapgui location?

    I have a program that creates XML and then outputs a file via CALL METHOD cl_gui_frontend_services=>gui_download. But now I want to execute the program in background mode and therefore I need to be able to output that XML to a NON sapgui file location. Current code creates the XML to an internal table which is binary then the gui_download method converts that to output XML. .  Does anyone know how I can change the code to either a) output the XML to an internal table which can be output via, say, a TRANSFER command..or, b) output the created binary table of XML to a NON sapgui file location?
    Excerpts from current code are as follows:
    first the XML is created (to the binary file)
          Creating a ixml factory
      l_ixml = cl_ixml=>create( ).
          Creating the dom object model
      l_document = l_ixml->create_document( ).
          Fill root node with value XML
      l_element_xml  = l_document->create_simple_element(
                  name = 'XML'
                  parent = l_document ).
          Create tag 'HEADER' as child of 'XML'
      l_element_header  = l_document->create_simple_element(
                  name = 'HEADER'
                  parent = l_element_xml  ).
    header information about the file and general data about the fleet follows
      l_value = c_fleet_import.
      l_element_dummy  = l_document->create_simple_element(
                name = 'TYPE'
                value = l_value
                parent = l_element_header ).
    etc.......
    then the xml is connected to the stream factory and rendered
      Creating a stream factory
      l_streamfactory = l_ixml->create_stream_factory( ).
      Connect internal XML table to stream factory
      l_ostream = l_streamfactory->create_ostream_itable( table = l_xml_table ).
      Rendering the document
      l_renderer = l_ixml->create_renderer( ostream  = l_ostream
                                            document = l_document ).
      l_rc = l_renderer->render( ).
      Saving the XML document
      l_xml_size = l_ostream->get_num_written_raw( ).
    and then output to the file
      IF sy-subrc = 0.
        CALL METHOD cl_gui_frontend_services=>gui_download
           EXPORTING
             bin_filesize = l_xml_size
            filename     = 'g:\sapdms\BSCC-DEV\EFPAC XML Files\ALL.xml'
           filename     = '/TRICK/727/OUT/ZEFP/EFPAC.XML' "doesnt work with sap gui
             filetype     = 'BIN'
           CHANGING
             data_tab     = l_xml_table
           EXCEPTIONS
             OTHERS       = 24.
    as implied by the comments the method above will successfully output the XML file to the g:drive but will not output to /TRICK/ location, which is where I need it to go in a background mode run.
    This is a problem which has defeated all our local expertise and I would appreciate any help given... Barry Jones

    Try this code below:
    data  l_xml_table2  type table of xml_line with header line.
    W_filename - This is a Path.
      if w_filename(02) = '
        open dataset w_filename for output in binary mode.
        if sy-subrc = 0.
          l_xml_table2[] = l_xml_table[].
          loop at l_xml_table2.
            transfer l_xml_table2 to w_filename.
          endloop.
        endif.
        close dataset w_filename.
      else.
        call method cl_gui_frontend_services=>gui_download
          exporting
            bin_filesize = l_xml_size
            filename     = w_filename
            filetype     = 'BIN'
          changing
            data_tab     = l_xml_table
          exceptions
            others       = 24.
        if sy-subrc <> 0.
          message id sy-msgid type sy-msgty number sy-msgno
                     with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        endif.

  • I want to write in a XML file which is located on the TOMCAT server

    hello all,
    can anybody tell me or give me code snippet for writing some data through my application i.e from client side on te file which is located on the TOMCAT server(especially XML file).
    tell me how can i do that?
    it is urgent
    cya
    sush

    Hello sush,,,,
    I am sending you some API / classes that will definetely help you for writing XML file through java.
    1) TransformerFactory.newInstance();
    2)Transformer serializer
    3)StreamResult
    4)serializer.transform(source,result);
    5)DOMSource
    From Vikas_khengare
    [ [email protected] ]

  • Error message in .docx : 'Open XML file cannot be opened because there are problems with the contents. Details Unspecific error Location: 2'

    I have put a lot of work into a docx document on my Mac, but now can't open it as it gives the error message: 'the Open XML file cannot be opened because there are problems with the contents. Details, Unspecific
    error, Location: 2'
    When opening the original file the message said: 'this file contains word 2007 for Windows equations' etc. but I managed to track changes fine, and saved, closed and re-opened it numerous times without problem. Some graphs seemed moved, and various formulas
    were illegible, but no other weirdness was observed.
    I have microsoft 2008 installed on my Mac OS X version 10.6.8.
    I've tried to fix it using various solutions suggested here, but am afraid am too IT illiterate to have had any luck, please help I'm new to all this!
    I've uploaded it to https://www.dropbox.com/s/hkw9k6lyihzoxpc/SittwayPauktawSQUEACREPORT_KD%2BCH.docx

    Hi,
    This issue is related strictly to oMath tags and occurs when a graphical object or text box is anchored to the same paragraph that contains the equation.
    Please use the "Fix it" tool in the following KB article to resolve the problem. See:
    http://support.microsoft.com/kb/2528942
    Hope this helps.
    Regards,
    Steve Fan
    TechNet Community Support

  • Load XML file from different location?

    Hi All,
    I've been going through an exercise by Karl Matthews to load XML data into an AIR App:
    http://www.adobe.com/devnet/air/flex/articles/xml_viewer_on_air.html
    but I would like to change where the XML file used in the project is retrieved from.
    Currently the XML file is loaded from here:
    <!-- Set up the HTTP service from where we get the source XML data -->
    <mx:HTTPService id="srcData" url="
    assets/UserGuide.xml" result="loadModelData(event)"
    />
    but I would like to load the XML file from one of these locations instead:
    File.userDirectory:
    File.documentsDirectory:
    Can someone please show me how I should change the above code to accomplish this, as my efforts to date have not been successful :-(
    I am using Flex Builder 3 and Air 1.5.
    Thanks heaps!
    Tim

    Hi Bhasker,
    Thank you for replying.
    I am not very good at all this coding, but I am assuming I should now be doing entering the following:
    =======================
    <?xml version="1.0" encoding="utf-8"?>
    <mx:WindowedApplication 
    xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"width="
    800" height="660"xmlns:comp="
    *" xmlns:fmtComp="fmtComps.*"creationComplete="srcData.send()"
    paddingLeft="
    0" paddingRight="0" paddingTop="0" paddingBottom="0">
    <mx:Script>
    <![CDATA[
    import mx.utils.ObjectProxy; 
    import mx.rpc.events.ResultEvent; 
    Bindable] 
    private var userManualObj:ObjectProxy; 
    private function loadModelData(event:ResultEvent):void
    userManualObj=event.result.UserManual;
    private function readXMLContent(xmlFile:File,objContentView:Object):Array{
    var reportDir:File = File.userDirectory.resolvePath("assets"); 
    var xmlFile:File; 
    var fileStream:FileStream = new FileStream(); xmlFile = reportDir.resolvePath(
    "UserGuide.xml"); 
    if(xmlFile.exists && xmlFile.size > 0)// Checking if the impressions.xml file already exists and the file is not empty
    var stream:FileStream = new FileStream(); 
    var xml:XML = new XML();stream.open(xmlFile, FileMode.READ);
    xml = XML(stream.readUTFBytes(stream.bytesAvailable));
    stream.close();
    ]]>
    </mx:Script>
    <!-- Set up the HTTP service from where we get the source XML data<mx:HTTPService id="srcData"
    url="assets/UserGuide.xml"
    result="loadModelData(event)"/> -->
    <mx:VBox width="100%" horizontalAlign="left" height="100%" paddingBottom="
    0" paddingLeft="0" paddingRight="0" paddingTop="0">
    <mx:TabNavigator width="100%" height="100%"paddingBottom="
    0" paddingLeft="0" paddingRight="0" paddingTop="0">
    <mx:Repeater id="modelsRep" dataProvider="{userManualObj.Product.Model}">
    <mx:VBox label="{modelsRep.currentItem.Name}" width="100%" height="100%">
    <comp:ModelDesc model="{modelsRep.currentItem}"/>  
    </mx:VBox>
    </mx:Repeater>
    <mx:VBox label="Troubleshooting" width="100%" height="100%"paddingBottom="
    0" paddingLeft="0" paddingRight="0" paddingTop="0">
    <comp:Troubleshooting issues="{userManualObj.Product.Troubleshooting.Issue}" />
    </mx:VBox>
    </mx:TabNavigator>
    </mx:VBox></mx:WindowedApplication>
    =======================
    and create and "assets" folder in my user directory placing the XML file in there?
    However when I do all that, I get this error when I try to compile:
      Encountered errors or warnings while building project main.mxml.
        main.mxml: Function does not return a value.
    Any thoughts?
    Many thanks,
    Tim

  • Reading XML file from specific location&Storing xmldata into related tables

    I am new to xml.
    My requirement is,
    1) Get the xml file from specified location (C:\xmlfiles\ xmldata.xml)
    2)Convert xml data in clob data.
    3)store the data into related table.
    and vice-versa.
    What i did,
    a) I got the data from related tables and converted into xmlformat using SQLX
    b)converted this resultset into clob data and stored as xml file in specific location.
    It uses more then ten tables.
    All this help i got from AskTom site , thanks for that.
    Now i have to do vise-versa, i.e. i have to perform 1), 2), 3) steps........
    Please tell me proper steps to acheive it.
    Thanks in advance for giving your precious time to solve my issue.

    Have you read the"XMLDB FAQ" in this Forum?
    You could use stuff like:
    create or replace directory xmldir as C:\xmlfiles'
    declare
    xmldata xmltype;
    begin
    xmldata := xmltype(bfilename('XMLDIR','xmldata.xml'),nls_charset_id('AL32UTF8'));
      -- etc, etc your code --
      -- --> convert to clob by using for instance getclobval() function
      -- --> then insert the data in your relational table with CLOB column
      -- etc, etc your code --
    end;
    /

  • Locating data in my XML file using C#

    Hi !
    I have a XML file. Here is a snippet:
    <Layers Count="9">
    <Layer Name="layer0" Type="Polygon">
    <OverlapNames Count="2">
    <OverlapName Name="layer1"/>
    <OverlapName Name="layer2"/>
    </OverlapNames>
    <CommonNames Count="0">
    </CommonNames>
    <SnapNames Count="1">
    <SnapName Name="layer3"/>
    </SnapNames>
    </Layer>
    Now, if I have a "layer" is there a quick way to find the node "Layer" that name a name "layer0".
    Secondly, is there a way to not only locate the node but return true if the "type" is a certain value? In the above example layer0 is a polygon. So if I encounter a point entity on layer0 and I try to find a layer where name="layer0"
    and type="point" it should return empty.
    Thanks for clarification on right way to parse the XML data file to locate the information I need.
    Andrew

    strQuery = String.Format("Layers/Layer[@Name=\"{0}\"]", pEntPoly3D.layer());
    XmlNode nodeLayer = xmlOrbis.SelectSingleNode(strQuery);
    if (nodeLayer == null)
    And:
    Layers/Layer[@Name=\"{0}\" and @Type=\"{1}\"]",

  • How to refer to the xml file located on unix server

    I have a xml file which is located on unix server and have a hard time, reverse engg. it .
    if anyone has any knowledge on this , that will be helpful.

    I have application server where my xml is located.e..g /tmp/xyz.xml
    I have designer on my laptop from where i have created a agent which points to my application server.
    I am able to create a data server which does say test successful.
    In model i tried to create new model and trying to reverse engg. the xml now i get following error .
    java.sql.SQLException: Could not generate the DTD because the file could not be created. Verify that you have write permission in the directory.
    if you can point me to documentation which has some information on this will be helpful or any hint..

  • Add schema location and version to the XML file header

    HI, I used XMLBean to generate a XML file:
    <?xml version="1.0" encoding="UTF-8"?>
    <bo:TXLife xmlns:bo="http://ACORD.org/Standards/Life/2">
    </bo:TXLife>
    I need add a schema location, a version, another name space so the header looks
    like:
    <?xml version="1.0" encoding="UTF-8"?>
    <bo:TXLife xmlns:bo="http://ACORD.org/Standards/Life/2"
    xmlns:xsd="http://www.w3.com/2001/XMLSchema"
    xmlns:xsi="http://www.w3.com/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.iit.com/schema/Schema29.xsd"
    version="2.9">
    </bo:TXLife>
    Thanks,

    Thanks Steve.
    Your right, it seems that I can't access the attribute or in this case add it
    by just editing the xsd. At least I haven't found a way to do that.
    The cursor solution works ok, but we'll have to add that code to every transformation
    etc.
    Timo
    "Steve Traut" <[email protected]> wrote:
    Hello Timo -- Unless your schema defines the attribute as part of the
    element you want to edit, I don't think you'll get access to the attribute
    through JavaBeans-style accessors.
    If you have any feedback about why the cursor won't work in your situation,
    though, I'd love to hear it.
    Steve
    "Timo Lukumaa" <[email protected]> wrote in message
    news:[email protected]...
    Hello, where having a similar problem. We need a schema locationdefinition so
    that XML is valid. We can edit the xsd files and add stuff there, wouldthere
    be a way to do that with out the cursor? This cursor solution isn'ttoo
    nice..
    "Steve Traut" <[email protected]> wrote:
    Henry -- You'll need an XmlCursor for inserting attributes that aren't
    defined in your schema. Try something like the following.
    TXLifeDocument txLifeDoc = TXLifeDocument.Factory.newInstance();
    TXLife txLife = txLifeDoc.addNewTXLife();
    // Create a cursor and move it to where you want to start inserting
    attributes.
    XmlCursor cursor = txLife.newCursor();
    cursor.toFirstContentToken();
    cursor.toLastAttribute();
    // Insert your attributes.
    cursor.insertAttributeWithValue("schemaLocation","http://www.w3.com/2001/XM
    L
    Schema-instance", "http://www.iit.com/schema/Schema29.xsd");
    cursor.insertAttributeWithValue("version", "2.9");
    cursor.insertNamespace("xsi",
    "http://www.w3.com/2001/XMLSchema-instance");
    cursor.insertNamespace("xsd", "http://www.w3.com/2001/XMLSchema");
    // Dispose of the cursor.
    cursor.dispose();
    Steve
    "Henry Niu" <[email protected]> wrote in message
    news:[email protected]...
    HI, I used XMLBean to generate a XML file:
    <?xml version="1.0" encoding="UTF-8"?>
    <bo:TXLife xmlns:bo="http://ACORD.org/Standards/Life/2">
    </bo:TXLife>
    I need add a schema location, a version, another name space so theheader
    looks
    like:
    <?xml version="1.0" encoding="UTF-8"?>
    <bo:TXLife xmlns:bo="http://ACORD.org/Standards/Life/2"
    xmlns:xsd="http://www.w3.com/2001/XMLSchema"
    xmlns:xsi="http://www.w3.com/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.iit.com/schema/Schema29.xsd"
    version="2.9">
    </bo:TXLife>
    Thanks,

Maybe you are looking for

  • How do I add my husband's iCloud calendar to mine

    My husband and I both have iMacs, iPads and iPhones.  We both set up iCloud accounts so we can merge our iCal Calendars.  He has invited me to share his calendars but what I get is a webpage that I have to sign into.  I'd like to have all of our cale

  • B/S Profit Center for GR/IR clearing act in MIGO is fine but not in MIRO

    Hi Experts, Can you please help on the below as am posting this after reviewing the existing postings: We are in ECC 6.0 and implementing Classic GL. While posting MIGO and MIRO the GR/IR clearing account (B/S account) is getting the Profit enter fro

  • Using Sort Merge Hint

    Hi, I'm trying to force oracle to use the sort merge using hints. Can anyone suggest why the below code is working correctly? Please see the explain plan. Regards, Chris. set autotrace on timing start select /*+ use_merge(e) */ e.fk, d.fk FROM girl d

  • Help!  Can't Access the Effects Tab In Soundtrack Pro

    I'm not sure what it was caused by, but recently when I open Soundtrack Pro, I recieve the following message: NSInvalidArgumentException *** -[NSKeyedUnarchiver initForReadingWithData:]: incomprehensible archive (0x62, 0x70, 0x6c, 0x69, 0x73, 0x74, 0

  • Why does my macs audio stop

    Whenever I am listening to any type of audio through the auxillary output, whether its my itunes or watching a video in VLC, my audio will stop working all together. I have found the only way to get it to start working again is to turn up and down th