XQUERY / XMLTABLE Syntax to read and XML from a Windows local drive?

Hi,
Would someone post an example of the syntax to read a text file containing XML from the local Windows disk drive using xquery/xmltable syntax?
Thanks,
Victor

Does the following help...
SQL> conn test/test
Connected.
SQL> -- The test user has the DBA role...
SQL> select * from v$version;
BANNER
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
PL/SQL Release 11.1.0.6.0 - Production
CORE    11.1.0.6.0      Production
TNS for 32-bit Windows: Version 11.1.0.6.0 - Production
NLSRTL Version 11.1.0.6.0 - Production
5 rows selected.
/* The content of the data.xml file.
<?xml version="1.0" encoding="UTF-8"?>
<ROOT>
  <ID>0</ID>
  <INFO>
    <INFO_ID>0</INFO_ID>
    <INFO_CONTENT>Text</INFO_CONTENT>
  </INFO>
</ROOT>
SQL> drop directory  xmlstore;
Directory dropped.
SQL> -- the directory is on a Windows system...
SQL> create directory xmlstore as 'E:\temp';
Directory created.
SQL> create table test
  2  (xmldata xmltype);
Table created.
SQL> INSERT into test
  2  VALUES
  3  (XMLTYPE(bfilename('XMLSTORE','data.xml'),NLS_CHARSET_ID('AL32UTF8')));
1 row created.
SQL> set long 100000000
SQL> select * from test;
XMLDATA
<?xml version="1.0" encoding="UTF-8"?>
<ROOT>
  <ID>0</ID>
  <INFO>
    <INFO_ID>0</INFO_ID>
    <INFO_CONTENT>Text</INFO_CONTENT>
  </INFO>
</ROOT>
1 row selected.
SQL> select XMLTYPE('<ROOT><ID>0</ID><INFO><INFO_ID>0</INFO_ID><INFO_CONTENT>Text</INFO_CONTENT></INFO></ROOT>') as "XDATA"
  2  from dual;
XDATA
<ROOT><ID>0</ID><INFO><INFO_ID>0</INFO_ID><INFO_CONTENT>Text</INFO_CONTENT></INFO></ROOT>
1 row selected.
SQL> select XMLTYPE(bfilename('XMLSTORE','data.xml'),NLS_CHARSET_ID('AL32UTF8')) as "XDATA"
  2  from dual;
ERROR:
ORA-21500: internal error code, arguments: [%s], [%s], [%s], [%s], [%s], [%s], [%s], [%s]
no rows selected
SQL> select extract((XMLTYPE(bfilename('XMLSTORE','data.xml'),NLS_CHARSET_ID('AL32UTF8'))),'*') as "XDATA"
  2  from dual;
XDATA
<ROOT><ID>0</ID><INFO><INFO_ID>0</INFO_ID><INFO_CONTENT>Text</INFO_CONTENT></INFO></ROOT>
1 row selected.
SQL> select xdata
  2  from (XMLTABLE('*'
  3                 PASSING (XMLTYPE(bfilename('XMLSTORE','data.xml'),NLS_CHARSET_ID('AL32UTF8')))
  4                 COLUMNS xdata xmltype PATH '/*'
  5                )
  6       )
  7  ;
XDATA
<ROOT><ID>0</ID><INFO><INFO_ID>0</INFO_ID><INFO_CONTENT>Text</INFO_CONTENT></INFO></ROOT>
1 row selected.

Similar Messages

  • How can i format an external drive so as to read and write from both windows and mac side

    i recently bought a macbook pro and used bootcamp so as to be able to run win7 and mac. I now wish to have an external drive so as to backup and tranfer files between the two os's. Specifically to read and write form either windows or mac. How can I do this?              

    Format it as FAT.

  • A Script to read and copy from a Windows Mobile device

    Hey forum....
    When I dock my Windows Mobile device in a Windows 7 PC, the Windows Mobile Device Center opens and I can browse the device and copy files between it and the PC. However, I'm looking some kind of way to automate this process. All I'm really interested in
    is a single file named TEXT.TXT which is stored in the My Documents folder. Basically, I'm looking for a script that will detect the Windows device (it's USB-attached) when docked, find the file TEXT.TXT in the My Documents folder and then copy this file to
    the /Temp folder on the desktop.
    I've tried using the synchronization feature of WMDC but it copies the file to a documents folder set up for the specific device. Instead, I'm looking to find and copy the file to C:\TEMP regardless of the device.
    Thanks in advance for any help!
    Everett

    Hey forum....
    When I dock my Windows Mobile device in a Windows 7 PC, the Windows Mobile Device Center opens and I can browse the device and copy files between it and the PC. However, I'm looking some kind of way to automate this process. All I'm really interested in
    is a single file named TEXT.TXT which is stored in the My Documents folder. Basically, I'm looking for a script that will detect the Windows device (it's USB-attached) when docked, find the file TEXT.TXT in the My Documents folder and then copy this file to
    the /Temp folder on the desktop.
    I've tried using the synchronization feature of WMDC but it copies the file to a documents folder set up for the specific device. Instead, I'm looking to find and copy the file to C:\TEMP regardless of the device.
    Thanks in advance for any help!
    Everett
    Just configure the device to sync the folders you want to sync.  Start by reading the help very carefully.
    This is not a scripting question and this forum is not for end user questions.   I suggest posting in the Windows Phone forum.
    You can also sync via OneDrive over a cellular or wireless connection.
    ¯\_(ツ)_/¯

  • Problem on reading and writing from from a *.txt file

    I get Problem on reading and writing from from a *.txt file. The following is the read() method...
    The software said the DataInputStream is depreciated. Can anyone help me please?
    public void read()
        File file = new File("C://Documents and Settings//Charles//My Documents//Brunel//EE2065//Assignment and Lab//Assignment 4 and Lab 4//data.txt");
        FileInputStream in = null;
        String str = "";
        try
          in = new BufferedReader(file);
          //in = new FileInputStream(file);
          for(;;)
            str = new BufferedReader(in).readLine();
            //str = new DataInputStream(in).readLine();
            if(str == null)
              break;
            System.out.print(str);
        in.close();
        catch(IOException e)
            System.err.println("execution error: " +e);
      }

    Thank you for your reply. I have made some change. However, there is an incompetable type found error.
    in = new BufferedReader(new InputStreamReader(in));The following are all of the code.
    public void read()
        File file = new File("C://Documents and Settings//Charles//My Documents//Brunel//EE2065//Assignment and Lab//Assignment 4 and Lab 4//data.txt");
        FileInputStream in = null;
        //BufferedReader in = null;
        String str = "";
        try
          in = new BufferedReader(new InputStreamReader(in));
          //in = new FileInputStream(file);
          for(;;)
            BufferedReader Bstr = new BufferedReader(new InputStreamReader(in));
            //str = new BufferedReader(in).readLine();
            //str = new DataInputStream(in).readLine();
            if(str == null)
              break;
            System.out.print(str);
        in.close();
        catch(IOException e)
            System.err.println("execution error: " +e);

  • HELP HELP REQUIRED!!!!!! Reading and Writing  from and into a Telnet Window

    Hi,
    I need to read and write into a Telnet window .But the Telnet window is a exe program that is been given by the Windows while installing the OS. Another thing is that I need to read and write into/from the Telnet window at a specific X and Y positions which will be defined in the database . I did searched for a dll of Telnet which can contain some APIs to achieve the task but I was unable to fine one.
    Even if u wont be able to provide me the perfect solution , Please guide me how to read and write from a executable window .
    Any help will be highly appreciated.
    Thanking in Advance.
    Mannu26.

    Hi Guys ,
    Thanks for the comments , atleast I got few but none were of any use to me. If u can Please help me on this topic it will be very kind of you .
    Take Care.
    Manoj.

  • Just installed Firefox 3.6. Firefox will not start and Firefox safemode does not start either. Using Task manager I do not see if started either. If I create a new profile and start from that window, Firefox starts up. I see no error windows/messages. I d

    Just installed Firefox 3.6. Firefox will not start and Firefox safemode does not start either. Using Task manager I do not see if started either. If I create a new profile and start from that window, Firefox starts up. I see no error windows/messages. I do have it listed in my Firewall as an exception program with Permit All. What is happening?
    == This happened ==
    Every time Firefox opened
    == After removing Firefox and Reinstalling it. ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; GTB6.4; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; MS-RTC LM 8)

    If that new profile works then you can transfer some files from the old profile to that new profile (be careful not to copy corrupted files)
    See http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    See also [[Basic Troubleshooting|#Make_a_new_profile|Basic Troubleshooting: Make a new profile]]

  • I have tried and failed to copy my iTunes library and playlists from my Windows 8 desktop to my Windows 7 laptop using an external hard drive. Can it be done? Help would be appreciated.

    I have tried and failed to copy my iTunes library and playlists from my Windows 8 desktop to my Windows 7 laptop using an external hard drive. Can it be done? Help would be appreciated. I have followed instructions found online but the library of music doesn't pull in.  Thanks!
    Nate

    Migrate an iTunes library from one computer to another
    These are two possible approaches that will normally work to move an existing library to a new computer.
    Method 1
    Backup the library with this User Tip.
    Deauthorize the old computer if you no longer want to access protected content on it.
    Restore the backup to your new computer using the same tool used to back it up.
    Keep your backup up-to-date in future.
    Method 2
    Connect the two computers to the same network. Share your <User's Music> folder from the old computer and copy the entireiTunes library folder into the <User's Music> folder on the new one. Again, deauthorize the old computer if no longer required.
    Both methods should give the new computer a working clone of the library that was on the old one, with ratings, play counts, playlists etc. preserved. As far as iTunes is concerned this is still the "home" library for your devices so you shouldn't have any issues with iTunes wanting to erase and reload.
    I'd normally recommend method 1 since it establishes an ongoing backup for your library and unlike copying with Windows Explorer the process can be resumed if it is interrupted and it will continue to the next item if there are any read/access errors.
    Note if you have iOS devices and haven't moved your contacts and calendar items across then you should create one dummy entry of each in your new profile and iTunes should  merge the existing data from the device.
    If your media folder has been split out from the main iTunes folder you may need to do some preparatory work to make it easier to move. See Make a split library portable.
    Should you be in the unfortunate position where you are no longer able to access your original library or a backup then then seeRecover your iTunes library from your iPod or iOS device for advice on how to set up your devices with a new library with the maximum preservation of data.
    tt2

  • Can I restore settings, apps and data from an external hard drive to new Macbook Pro?

    I recently lost my Macbook Pro to water damage.  It was about 3 years old and tuned for comfort.  Unfortunately, my most recent backup is at least 3 months old.  I purchased a new MacBook Pro and I'm wondering what my options are for migrating my settings, apps and data from the old hard drive to the new MacBook Pro?  I have a USB drive bay that I plan to attach to the new MBP to gain access to the old hard drive.  Someone suggested Migration Assistant but my research hasn't turned up any information about migrating data from an external drive.
    Any help would be greatly appreciated.

    THANKS!  I guess my research wasn't THAT thorough.   I booted with the external drive attached and setup immediately gave me the option to setup using Migration Assistant.  It was a little slow via USB (2+ hours) but it was nothing compared to the time it would have taken to do it manually.  My new 15" MBP looks exactly like my old 13" MBP.  AWESOME!!!
    Thanks again!

  • Can I view photos and movies from my external hard drive? I used Time Machine and a WD Passport for backup. Since my drive on my MacBook Pro is filling up I was planning to delete some of the movies and photos.

    Can I view photos and movies from my external hard drive? I used Time Machine and a WD Passport for backup. Since my drive on my MacBook Pro is filling up I was planning to delete some of the movies and photos. I wanted to see if I could view them from the hard drive. Thanks

    Hello, eco1. 
    Thank you for visiting Apple Support Communities. 
    This sounds like you are wanting to move your iTunes media folder to an external drive and have iTunes this folder from this location.  If this is the case then I would recommend taking a look at the article below. 
    iTunes for Mac: Moving your iTunes Media folder
    http://support.apple.com/kb/ht1449
    Cheers,
    Jason H. 

  • I'm about to transfer the contents of my existing HDD in my (dead PSU) iMac to another computer. I'm just wanting to know if and how I will be able to access my files and documents from the old hard drive once I've made the backup?

    I'm about to transfer the contents of my existing HDD in my (dead PSU) iMac to another computer. I'm just wanting to know if and how I will be able to access my files and documents from the old hard drive once I've made the backup?

    You are not going to be able to run your old system from the backup on this old computer as the hardware is incompatible.
    You need to get a new computer or a refurbished one.

  • HT1660 Can I play movies and music from my external hard drive or do I have to re-instll them on my computer?

    Can I play my movies and music from my external hard drive or do I have to reinstall it on my computer?

    Hello B3NN13,
    If you would like to add the music from your external hard drive to iTunes without copying it to the iTunes Library on your internal hard drive, you may find the following article helpful:
    Add files to your library without adding them to your iTunes folder
    When you add an item already on your computer to your iTunes library, iTunes places a copy of the file in your iTunes folder. The original file remains in its current location.
    You can change this setting so that files are added to your iTunes library without being added to the iTunes folder. You might want to do this, for example, if you prefer to store video files on an external disk but still want to view them in iTunes.
    Choose iTunes > Preferences, and click Advanced.
    Deselect the checkbox next to “Copy files to iTunes Media folder when adding to library.”
    From now on, when you drag a file to your library or choose File > Add to Library, the item appears in iTunes, but the actual file isn’t copied or moved.
    Tip: You can temporarily reverse this setting by holding down the Option key while you drag files to the iTunes window.
    iTunes 12 for Mac: Change where your iTunes files are stored
    Sincerely,
    - Brenden

  • Export data in CSV and store the file in local drive

    Hi,
    Here is the requirements.
    Fetch the values from table (around 60000 records), and export them into CSV file and store the file in local drive.
    I have written servlet to to this and it is working fine expect saving the file in local drive. At the moment, it is asking to save as in local drive. i want to save the file automatically in particular path (/var/www/files/). Below is the code.
    String file = "CandidatesDetails" + sd + ".csv";
                        queryString = "select * from candidate where candidate.status='A'";
                        connection = ConnectionPoolHelper.getConnection();
                        response.setContentType("application/csv");
                        response.setHeader("content-disposition", "filename=" + file);
                        System.out.println("Query= " + queryString);
                        ps = connection.prepareStatement(queryString,
                                  ResultSet.TYPE_SCROLL_INSENSITIVE,
                                  ResultSet.CONCUR_READ_ONLY);
                        rs = ps.executeQuery();
                        datas = "CANDIDATE ID,CANDIDATE TITLE,FIRST NAME,LAST NAME,E-MAIL,NATIONALITY ID,NATIONALITY,COUNTRY ID,COUNTRY NAME,INDUSTRY ID,INDUSTRY DESCRIPTION,EXPERIENCE,DATE OF BIRTH,HEAR ABOUT US\n";
                        oout.write(datas);
                        String country = "";
                        String nationality = "";
                        String hearABtUs = "";
                        while (rs.next()) {
                             nationality = rs.getString(7);
                             if (nationality == null)
                                  nationality = "";
                             else if (nationality.equals("null"))
                                  nationality = "";
                             country = rs.getString(9);
                             if (country == null)
                                  country = "";
                             else if (country.equals("null"))
                                  country = "";
                             hearABtUs = rs.getString(14);
                             if (hearABtUs == null)
                                  hearABtUs = "";
                             else if (hearABtUs.equals("null"))
                                  hearABtUs = "";
                             else
                                  hearABtUs = hearABtUs.replaceAll(",", ";");
                             datas = rs.getInt(1) + "," + rs.getString(2) + ","
                                       + rs.getString(3) + "," + rs.getString(4) + ","
                                       + rs.getString(5) + "," + rs.getInt(6) + ","
                                       + nationality + "," + rs.getInt(8) + "," + country
                                       + "," + rs.getInt(10) + "," + rs.getString(11)
                                       + "," + rs.getString(12) + "," + rs.getString(13)
                                       + "," + hearABtUs + "\n";
                             oout.write(datas); Regards,
    Dongan.

    Here is the first few lines
    public void doGet(HttpServletRequest request, HttpServletResponse response)
                   throws ServletException, IOException {
              HttpSession session = request.getSession(true);
              String datas = "";
              PreparedStatement ps = null;
              ResultSet rs = null;
              String queryString = "";
              Connection connection;
              PrintWriter oout = response.getWriter();
              java.util.Date d = new java.util.Date();
              SimpleDateFormat dateformat = new SimpleDateFormat("dd-MMM-yyyy");
              String sd = dateformat.format(d);
              tryAt the moment, when i run http://localhost:8080/project/CandidatesDetail, it will ask me to save the file somewhere. I should manually mention the path to save the file. what i want is, it should automatically save it in the location C:\projects\files\.
    thanks.
    Regards,
    Dongan
    Edited by: Dongan on Oct 26, 2007 5:22 AM

  • How to read an XML from a servlet?

    Hi,
    I'm just starting programming and now I have a problem I can't solve. I hope someone can help me.</p>
    On the client side I have a xml report and a script wich sends to the server the information I've got from the report. In this case, the 'Poliza' value.
    On the server-side I have a servlet. I try to get the parameters (from the URL or from the XML), but I don't have any response on the client side. I'm sure I'm doing something wrong but I can't find the solution for solving it.
    I suppose there are two ways of solving the problem.
    - Make an http connetion and send just the parametes on the URL? Does anyone know how to make it?
    - Reading the XML on the servlet and extract the parameters the script sent. Does anyone know how to read it?
    Thank you in advance
    I attach part of the code.
    CLIENT SIDE
    <report....>
    <field sortid="0" id="Poliza" inputtype="textbox" label="Poliza" rows="1" wide="false" required="false"/>
    </report>
    <script name="ValidacionOnlineValidation1" script="if (0 == 0){
    var szURL="http://URLServer/vonline/vonline?Poliza="+Poliza.value;
    var szUserAgent = "JoP-XML_Posting_v1.0";
    var m_XML;
    /* In the line below, construct a XML-document that contains all the information you need to send to the server*/
    var szXML = "<?xml version=\"1.0\"?><data><objects><object name=\"Poliza\" value=\"123456789\"/></objects></data>";
    /* Create an instance of the MS XML Document Object Model Parser*/
    m_XML= new ActiveXObject("Microsoft.XMLDOM");
    m_XML.validateOnParse=true;                                                                                                         
    var bLoadResult = m_XML.loadXML(szXML);
    if (bLoadResult==true) {
      /*Instance of the transport object, method,...*/
      var m_HttpReq = new ActiveXObject("Pocket.HTTP");
      m_HttpReq.method = "GET";
      m_HttpReq.Headers.create("Content-Type", "text/xml");
      m_HttpReq.Headers.find ("User-Agent").Value = szUserAgent;
      m_HttpReq.timeout = 150000;
      /*Do the actual post of the data*/
      var m_HttpResponse = m_HttpReq.GetResponse(szURL,m_XML.xml);
      if (m_HttpResponse.statusCode==200) {...}
    SERVER SIDE
    protected void processRequest(HttpServletRequest request, HttpServletResponse response)throws ServletException, IOException {
         String Error="";
         String MSG = "";
         response.setContentType("text/html");
         PrintWriter out1 = response.getWriter();
         Enumeration arrayparametros = request.getParameterNames();
         for (;arrayparametros.hasMoreElements();){
              String parametro = (String)arrayparametros.nextElement();
              String valorparametro = request.getParameter(parametro);
              if (parametro.equals("Poliza")){
                   vonlineLogica logica = new vonlineLogica();
                   LOGS ="on";
                   Respuesta respuesta = logica.procesarSolicitud(request,valorparametro);
                   Error = Respuesta.getError();
                   MSG = Respuesta.getMensaje();
              else{          
                   Error = parametro; MSG = valorparametro;
                   String[] values = request.getParameterValues(parametro);
         out1.println("Result: " + Error + " / " + MSG);
         out1.close();                    
    }

    Thanks by your help Shanu.
    Nevertheless, finally I tryed the easiest way (pass the parameter with 'GET'). Moreover I found why my code wasn't working. It was a fool thing. I though PDA connect throught a proxy, but it wasn't true. Whatever.
    Regards.
    FSG.
    The final script on the xml-report is:
    <report type="Validacion Online" required="false" multiple="false" attachments="false" scriptref="store://this/reportdef/script[@name='ValidacionOnlineValidation1']">
         <field sortid="0" id="Poliza" inputtype="textbox" label="Poliza" rows="1" wide="false" required="false"/>
    </report>
    <script name="ValidacionOnlineValidation1" script="if (0 == 0)
    var szURL="http://URL/vonline/vonline?parameter1=";+Poliza.value;                         
    var m_HttpReq = new ActiveXObject("Pocket.HTTP");                                             m_HttpReq.timeout = 15000;
    var m_HttpResponse = m_HttpReq.GetResponse(szURL,"");
    window.alert(m_HttpResponse.string);
    if (m_HttpResponse.statusCode==200)  {....}
    else {....}

  • 9926 do not read AutoUnattend.xml from USB Key

    I had used a USB Key with an Autounattend.xml answer file from Windows Vista, Windows 7, Windows 8 until Windows 10 version 9979 without no problem.
    9926 do not read at all AutoUnattend.XML.
    I am interestind to know if somobody else had tried to deploy 9926 with an AutoUnattend.xml file ?

    Thank you for your answer.
    Here is my setupact.log and AutoUnattend.xml who work OK with all other versions of Windows 10 and Windows 8.1
    AutoUnattend.xml are not read by en_windows_10_enterprise_technical_preview_9926_x64_dvd_6244735 !
    X:\Windows\Setupact.log:
    2015-02-17 20:08:22, Info                  UI     Determining whether we should run ConX or legacy setup
    2015-02-17 20:08:22, Info                  UI     Running WinPE. Continue to run legacy setup
    2015-02-17 20:08:22, Info                  UI     Determining if we are in WDS/Unattend mode
    2015-02-17 20:08:22, Info                  UI     No need to hide autorun
    2015-02-17 20:08:22, Info       [0x0a000a] UI     Autorun:Autorun core successfully  initialized!!!
    2015-02-17 20:08:22, Info       [0x0a000b] UI     Autorun:Autorun UI successfully  initialized!!!
    2015-02-17 20:08:22, Info                  UI     AppWindow has layout style 0
    2015-02-17 20:08:22, Info                  UI     NavWindow has layout style 0
    2015-02-17 20:08:22, Warning    [0x0a0180] UI     Failed to change the UI language to en-US.
    2015-02-17 20:08:22, Info                  UI     CLocales::v_EnumLocalesProc - DownlevelGetLocaleInfoEx failed for locale ar-EG. Error: [1009]
    2015-02-17 20:08:22, Info                  UI     CLocales::v_EnumLocalesProc - DownlevelGetLocaleInfoEx failed for locale dz-BT. Error: [1009]
    2015-02-17 20:08:22, Info       [0x0a011c] UI     WizardDialogPost::SetActive
    AutoUnattend.xml:
    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
        <servicing></servicing>
        <settings pass="windowsPE">
            <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
    xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <InputLocale>fr-CH</InputLocale>
                <SystemLocale>fr-CH</SystemLocale>
                <UILanguage>en-US</UILanguage>
                <UserLocale>fr-CH</UserLocale>
                <SetupUILanguage>
                    <UILanguage>fr-FR</UILanguage>
                </SetupUILanguage>
            </component>
            <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <DiskConfiguration>
                    <WillShowUI>OnError</WillShowUI>
                    <Disk wcm:action="add">
                        <CreatePartitions>
                            <CreatePartition wcm:action="add">
                                <Order>1</Order>
                                <Type>Primary</Type>
                                <Extend>true</Extend>
                            </CreatePartition>
                        </CreatePartitions>
                        <ModifyPartitions>
                            <ModifyPartition wcm:action="add">
                                <Active>true</Active>
                                <Format>NTFS</Format>
                                <Label>Local Disk</Label>
                                <Letter>C</Letter>
                                <Order>1</Order>
                                <PartitionID>1</PartitionID>
                            </ModifyPartition>
                        </ModifyPartitions>
                        <WillWipeDisk>true</WillWipeDisk>
                        <DiskID>0</DiskID>
                    </Disk>
                </DiskConfiguration>
                <UserData>
                    <AcceptEula>true</AcceptEula>
                    <FullName>Student</FullName>
                    <Organization>Cours</Organization>
                    <ProductKey>
                        <WillShowUI>OnError</WillShowUI>
                        <Key></Key>
                    </ProductKey>
                </UserData>
                <UseConfigurationSet>true</UseConfigurationSet>
                <ImageInstall>
                    <OSImage>
                        <InstallFrom>
                            <MetaData wcm:action="add">
                                <Key>/IMAGE/INDEX</Key>
                                <Value>1</Value>
                            </MetaData>
                        </InstallFrom>
                        <InstallToAvailablePartition>true</InstallToAvailablePartition>
                        <WillShowUI>OnError</WillShowUI>
                    </OSImage>
                </ImageInstall>
            </component>
            <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
    xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <SetupUILanguage>
                    <UILanguage>fr-FR</UILanguage>
                </SetupUILanguage>
                <InputLocale>fr-CH</InputLocale>
                <SystemLocale>fr-CH</SystemLocale>
                <UILanguage>en-US</UILanguage>
                <UserLocale>fr-CH</UserLocale>
            </component>
            <component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <DiskConfiguration>
                    <Disk wcm:action="add">
                        <CreatePartitions>
                            <CreatePartition wcm:action="add">
                                <Extend>true</Extend>
                                <Order>1</Order>
                                <Type>Primary</Type>
                            </CreatePartition>
                        </CreatePartitions>
                        <ModifyPartitions>
                            <ModifyPartition wcm:action="add">
                                <Active>true</Active>
                                <Format>NTFS</Format>
                                <Label>LocalDisk</Label>
                                <Letter>C</Letter>
                                <Order>1</Order>
                                <PartitionID>1</PartitionID>
                            </ModifyPartition>
                        </ModifyPartitions>
                        <DiskID>0</DiskID>
                        <WillWipeDisk>true</WillWipeDisk>
                    </Disk>
                </DiskConfiguration>
                <ImageInstall>
                    <OSImage>
                        <InstallToAvailablePartition>true</InstallToAvailablePartition>
                        <WillShowUI>OnError</WillShowUI>
                    </OSImage>
                </ImageInstall>
                <UserData>
                    <ProductKey>
                        <WillShowUI>Always</WillShowUI>
                    </ProductKey>
                    <AcceptEula>true</AcceptEula>
                    <FullName>Student</FullName>
                    <Organization>Cours</Organization>
                </UserData>
                <UseConfigurationSet>true</UseConfigurationSet>
            </component>
        </settings>
        <settings pass="specialize">
            <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <RunSynchronous>
                    <RunSynchronousCommand wcm:action="add">
                        <Path>c:\windows\regedit.exe /S c:\WinApps\modifreg\modifreg.reg</Path>
                        <Order>1</Order>
                        <Description>ModifReg.reg</Description>
                    </RunSynchronousCommand>
                    <RunSynchronousCommand wcm:action="add">
                        <Path>c:\windows\system32\PNPUtil.exe -a c:\Drivers\HP3600\*.inf</Path>
                        <Order>2</Order>
                        <Description>HP3600</Description>
                    </RunSynchronousCommand>
                    <RunSynchronousCommand wcm:action="add">
                        <Order>3</Order>
                        <Path>c:\windows\system32\PNPUtil.exe -a c:\Drivers\INTEL\*.inf</Path>
                        <Description>DriversIntel</Description>
                    </RunSynchronousCommand>
                    <RunSynchronousCommand wcm:action="add">
                        <Order>4</Order>
                        <Description>NVIDIA210Silent</Description>
                        <Path>c:\windows\system32\PNPUtil.exe -a c:\Drivers\GeForce210\*.inf</Path>
                    </RunSynchronousCommand>
                    <RunSynchronousCommand wcm:action="add">
                        <Order>5</Order>
                        <Path>net user Administrateur /active:yes</Path>
                        <Description>net user Administrateur /active:yes</Description>
                    </RunSynchronousCommand>
                </RunSynchronous>
            </component>
            <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <AutoLogon>
                    <Password>
                        <Value>UABhACQAJAB3ADAAcgBkAFAAYQBzAHMAdwBvAHIAZAA=</Value>
                        <PlainText>false</PlainText>
                    </Password>
                    <LogonCount>1</LogonCount>
                    <Username>Administrateur</Username>
                    <Enabled>true</Enabled>
                </AutoLogon>
                <ComputerName>*</ComputerName>
                <CopyProfile>true</CopyProfile>
            </component>
            <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
    xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <StartPages>
                    <StartPage wcm:action="add">
                        <StartPageKey>google</StartPageKey>
                        <StartPageUrl>http://www.google.ch</StartPageUrl>
                    </StartPage>
                </StartPages>
                <Home_Page>http://www.google.ch</Home_Page>
                <TrustedSites>http://www.google.ch</TrustedSites>
                <DisableFirstRunWizard>true</DisableFirstRunWizard>
                <AllowedSites>http://www.google.ch;http://www.microsoft.com</AllowedSites>
            </component>
            <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
    xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <FavoritesList>
                    <FavoriteItem wcm:action="add">
                        <FavTitle>Microsoft</FavTitle>
                        <FavURL>http://www.microsoft.com</FavURL>
                        <FavID>1</FavID>
                    </FavoriteItem>
                    <FavoriteItem wcm:action="add">
                        <FavID>2</FavID>
                        <FavURL>http://social.technet.microsoft.com/Forums/fr-FR/home</FavURL>
                        <FavTitle>social.technet.microsoft.com/Forums</FavTitle>
                    </FavoriteItem>
                    <FavoriteItem wcm:action="add">
                        <FavID>3</FavID>
                        <FavURL>http://www.microsoftvirtualacademy.com/training-courses/new-windows-server-2012-r2-jump-start?o=3303#?fbid=SHBa4Q0ku0f</FavURL>
                        <FavTitle>MicrosoftAcademy</FavTitle>
                    </FavoriteItem>
                    <FavoriteItem wcm:action="add">
                        <FavURL>http://borntolearn.mslearn.net/mct/general/w/errorlog/default.aspx#fbid=iAFmlsKo_3S</FavURL>
                        <FavTitle>MSLearnErrorLog</FavTitle>
                        <FavID>5</FavID>
                    </FavoriteItem>
                    <FavoriteItem wcm:action="add">
                        <FavID>4</FavID>
                        <FavURL>http://borntolearn.mslearn.net/mct/windowsserver/w/wiki/default.aspx#fbid=iAFmlsKo_3S</FavURL>
                        <FavTitle>MSLearnWiKi</FavTitle>
                    </FavoriteItem>
                    <FavoriteItem wcm:action="add">
                        <FavID>6</FavID>
                        <FavTitle>Companion-MOC</FavTitle>
                        <FavURL>http://www.microsoft.com/learning/en-us/companion-moc.aspx </FavURL>
                    </FavoriteItem>
                    <FavoriteItem wcm:action="add">
                        <FavURL>http://technet.microsoft.com/en-us/library/dn250019.aspx</FavURL>
                        <FavTitle>NewinWindowsServer2012R2</FavTitle>
                        <FavID>7</FavID>
                    </FavoriteItem>
                </FavoritesList>
                <Home_Page>http://www.google.ch</Home_Page>
                <TrustedSites>http://www.microsoft.com;http://www.bluewin.ch</TrustedSites>
            </component>
        </settings>
        <settings pass="oobeSystem">
            <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <AutoLogon>
                    <Enabled>true</Enabled>
                    <LogonCount>5</LogonCount>
                    <Username>LocalAdmin</Username>
                    <Password>
                        <Value>UABhACQAJAB3ADAAcgBkAFAAYQBzAHMAdwBvAHIAZAA=</Value>
                        <PlainText>false</PlainText>
                    </Password>
                </AutoLogon>
                <Display>
                    <ColorDepth>32</ColorDepth>
                    <DPI>96</DPI>
                    <HorizontalResolution>1024</HorizontalResolution>
                    <RefreshRate>60</RefreshRate>
                    <VerticalResolution>768</VerticalResolution>
                </Display>
                <FirstLogonCommands>
                    <SynchronousCommand wcm:action="add">
                        <CommandLine>C:\Windows\Setup\Scripts\FirstLogon.vbs</CommandLine>
                        <Description>FirstLogon</Description>
                        <Order>1</Order>
                    </SynchronousCommand>
                    <SynchronousCommand wcm:action="add">
                        <CommandLine>C:\Windows\SETUP\SCRIPTS\RunOnceE.bat</CommandLine>
                        <Description>RunOnceE.bat</Description>
                        <Order>4</Order>
                    </SynchronousCommand>
                    <SynchronousCommand wcm:action="add">
                        <CommandLine>C:\Windows\SETUP\SCRIPTS\CopyDel.bat</CommandLine>
                        <Description>CopyDel</Description>
                        <Order>5</Order>
                    </SynchronousCommand>
                    <SynchronousCommand wcm:action="add">
                        <Order>2</Order>
                        <Description>Office</Description>
                        <CommandLine>C:\Windows\ConfigSetRoot\Winapps\Office\setup.exe</CommandLine>
                    </SynchronousCommand>
                    <SynchronousCommand wcm:action="add">
                        <Order>3</Order>
                        <CommandLine>PowerShell Set-ExecutionPolicy remotesigned -force</CommandLine>
                        <Description>RemoteSigned</Description>
                    </SynchronousCommand>
                    <SynchronousCommand wcm:action="add">
                        <Order>6</Order>
                        <CommandLine>net user administrator /active:yes</CommandLine>
                        <Description>net user administrator /active:yes</Description>
                    </SynchronousCommand>
                </FirstLogonCommands>
                <OOBE>
                    <NetworkLocation>Work</NetworkLocation>
                    <HideEULAPage>true</HideEULAPage>
                    <ProtectYourPC>1</ProtectYourPC>
                </OOBE>
                <UserAccounts>
                    <AdministratorPassword>
                        <Value>UABhACQAJAB3ADAAcgBkAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value>
                        <PlainText>false</PlainText>
                    </AdministratorPassword>
                    <LocalAccounts>
                        <LocalAccount wcm:action="add">
                            <Password>
                                <Value>UABhACQAJAB3ADAAcgBkAFAAYQBzAHMAdwBvAHIAZAA=</Value>
                                <PlainText>false</PlainText>
                            </Password>
                            <Name>LocalAdmin</Name>
                            <Group>Administrators</Group>
                            <DisplayName>LocalAdmin</DisplayName>
                            <Description>LocalAdmin</Description>
                        </LocalAccount>
                        <LocalAccount wcm:action="add">
                            <Password>
                                <Value>UABhACQAJAB3ADAAcgBkAFAAYQBzAHMAdwBvAHIAZAA=</Value>
                                <PlainText>false</PlainText>
                            </Password>
                            <DisplayName>Administrator</DisplayName>
                            <Description>Administrator</Description>
                            <Group>Administrators</Group>
                            <Name>Administrator</Name>
                        </LocalAccount>
                    </LocalAccounts>
                </UserAccounts>
                <TimeZone>W. Europe Standard Time</TimeZone>
                <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
            </component>
        </settings>
        <settings pass="auditSystem">
            <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <AutoLogon>
                    <Password>
                        <Value>UABhACQAJAB3ADAAcgBkAFAAYQBzAHMAdwBvAHIAZAA=</Value>
                        <PlainText>false</PlainText>
                    </Password>
                    <Enabled>true</Enabled>
                    <LogonCount>1</LogonCount>
                    <Username>Administrateur</Username>
                </AutoLogon>
            </component>
        </settings>
        <cpi:offlineImage cpi:source="catalog:d:/win81/sources/install_windows 8.1 enterprise.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>

  • Read web.xml from a webservice method

    Hi,
    How can i read web.xml parameters inside a webservice method

    Huh?
    What is the use case for that? A web service method may need parameters, but you should not read them from the web.xml file. Instead you can use a method in a bead which reads the parameters and pass them to the web service method.
    Timo

Maybe you are looking for

  • How do you know what view is available to a form?

    A customer requirement that we set the a firstlogin attribute on the on one of the resources the first time a user logs into the IDM end user interface, changes their password, and provides answers for their authentication questions. The way I know t

  • Java EE 5.0 support schedule?

    hi has Oracle published any release schedules on Java EE 5.0 support availability in JDeveloper and OC4J?

  • Problem in what's app

    I had a problem in my BlakBerry Tourch with What's app messenger It is not working and write this text (Uncaught exception: index 50«=50) Pleas help me Thanx ..

  • Converting Resource(Dictionary Simple Type) to Binary Format.

    Hello Experts, In my Web Dynpro Application, I have a View Context attribute called "FileResource" of type Resource(Dictionary Simple Type) which is bound to the FileUpload UIElement of View. When im running the application I am able to Upload the fi

  • PREMIRE EL, 11. NEED HELP WITH DROPPING CLIP. SO FAR 3 1/2 HOURS.  :(

    i HAVE A LARGE VIDEO CLIP THAT IS IN VIDEO/AUDIO #2.  I CAN NOT DRAG AND DROP IT INTO VIDEO/AUDIO #1 IN BETWEEN CLIPS. I HAVE TRIED EVERYTHING. PLEASE HELP ME.  BARB