Help using XML as Dictionary key

I'm not quite understanding the key in Dictionaries. I thought if the same key was passed twice it would still only create one pair in the dictionary. Can anyone explain this to me?
With a key of a string or number it seems to work as I would expect, but the XML as key doesn't seem to work. The line in there that changes the title was just to check if the XML was being passed as a reference or value. It is a reference. So it seems like the dictionary should know the key is the same. Why doesn't it?
I'm trying to create an index of the content in some XML Nodes and want to be sure that various nodes don't get added to the index more than once. I also My thinking was to use the XML node itself as as the key. It is the only thing I have in the data that is for sure unique. Is there a way to do what I want to do?
var xmlData:XML=<data>
<session>
<title>Document 1</title>
<desc> <![CDATA[blah blah blah]]></desc>
</session>
<session>
<title>Document 2</title>
<desc> <![CDATA[blah blah blah]]></desc>
</session>
</data>;
var d:Dictionary=new Dictionary();
var xml1:XML=xmlData.session[0];
var xml2:XML=xmlData.session[0];
addToDictionary(xml1);
addToDictionary(xml2);
xmlData.session[0].title="New title";
for(var a:* in d){
          trace(a.title+": "+d[a]);
function addToDictionary(xml:XML){
          d[xml]=int(Math.random()*500);
traces
New title: 2
New title: 135

If I change the assigment to:
var xml1:XML=xmlData.session[0];
var xml2:XML=xml1;
addToDictionary(xml1);
addToDictionary(xml2);
Then it does work as I had hoped it might. In any event...
I'm trying to make a (forward) index of some properties of each node in an XML—total word count, frequency of each word, etc. So later when my reverse index returns several XMLs I can quickly look up those data and compute a tf-idf for relevance ranking.
I'm thinking the conversion toString() will slow the whole thing down? I'll give it a look-see.

Similar Messages

  • Help: Using XML to format Java output

    I built an application that uses an SQL DB (uses HSQLDB). Users are prompted to enter data via the keyboard to store in the tables.
    The users must be able to query the database as well, to see what is in the tables.
    My aim is to use XML to show the results of the query, so that it is formatted nicely.
    However, I am new to this and not sure how to start putting in the XML tags etc. I think I know which part of the code to modify. This is the part that does the displaying.
          * Ouptut the contents of a recordset to the console with
          * the column names from the tables
          * @param rs the ResultSet to display
         public static void print(ResultSet rs) throws SQLException {
              ResultSetMetaData meta   = rs.getMetaData();
                 int               colmax = meta.getColumnCount();
                 int               i;
                 Object            o       = null;
              String coln            = meta.getColumnName(1);     
                 for (;rs.next();) {
                     for (i = 0; i < colmax; ++i) {
                    o = rs.getObject(i + 1);// Is SQL the first column is indexed
              coln = meta.getColumnName(i+1);                  
                                                // with 1 not 0
              System.out.println(coln +":"+'\t'+ o.toString() + " ");
                System.out.println(" ");
    }Can anyone give me any guidance or just a hint for me to start?
    Thank you very much.

    Using DOM would probably be the easiest solution, though not fast enough for your problem, as many records might come out of the RS...
    So if performance is an issue, try producing XML with SAX (read the excellent Dr.Clap tips here: http://forum.java.sun.com/thread.jsp?forum=34&thread=326617)
    Else use DOM: chapter 7 here: http://java.sun.com/webservices/docs/1.1/tutorial/doc/index.html

  • Need php help using xml sendandload

    info:
    var bc_xml:XML = new XML(email);
    var email:String =
    "<email>[email protected]</email>";
    bc_xml.sendAndLoad(bc_url, bc_xml, "POST");
    how do i put the [email protected] into a php variable?

    1. Syntax for sendAndLoad is not correct.
    You might want to review that and the example in the Docs
    http://livedocs.macromedia.com/flash/8/main/00002879.html
    The syntax is correct however for the loadVars class.
    2. The order for this is incorrect:
    var bc_xml:XML = new XML(email);
    var email:String =
    "<email>[email protected]</email>";
    You need to declare a variable before you use it, in this
    case the email
    variable is declared and initialized after you used it.
    3. In PHP I use
    $xmlRequest = file_get_contents("php://input");
    Then you can use the xml parser in PHP or parse yourself or
    use another
    party's parser.
    Here is a simple round trip example I use in courses:
    http://www.hosfordusa.com/ClickSystems/courses/flash/examples/XMLPHP/EX01/XMLPHPEchoEx01_D oc.php
    Lon Hosford
    www.lonhosford.com
    May many happy bits flow your way!
    "ck1mark" <[email protected]> wrote in
    message
    news:e1s3bn$23f$[email protected]..
    info:
    var bc_xml:XML = new XML(email);
    var email:String =
    "<email>[email protected]</email>";
    bc_xml.sendAndLoad(bc_url, bc_xml, "POST");
    how do i put the [email protected] into a php variable?

  • Does DPM 2012 R2 still needs DataSourceGroups.xml and MaxAllowedParallelBackups key when using Hyper-V VSS Software Writer to backup Server 2012 R2 Cluster

    Hi,
    Does DPM 2012 R2 still needs DataSourceGroups.xml and MaxAllowedParallelBackups key when using Hyper-V VSS Software Writer to backup Server 2012 R2 Hyper-V Cluster with CSV's? Can't find a clear answer somewhere.
    Thanx for helping me out.
    DJITS.

    Configure CSV backups
    If you are running Hyper-V on Windows Server 2008 R2 and you’re backing up multiple clusters with DPM, you need to ensure that only one backup uses the same CSV at any one time. To do this, follow the instructions in
    Serialize virtual machine backups.
    If you’re using software VSS with Hyper-V on Windows Server 2008 R2, do the following
    Serialize virtual machine backups per node            
    Serialize virtual machine backups per CSV LUN            
    Have a nice day !!!

  • Help with Photo Gallery using XML file

    I am creating a photo gallery using Spry.  I used the Photo Gallery Demo (Photo Gallery Version 2) on the labs.adobe.com website.  I was successful in creating my site, and having the layout I want.  However I would like to display a caption with each photo that is in the large view.
    As this example uses XML, I updated my file to look like this:
    <photos id="images">
                <photo path="aff2010_01.jpg" width="263" height="350" thumbpath="aff2010_01.jpg" thumbwidth="56"
                   thumbheight="75" pcaption="CaptionHere01"></photo>
                <photo path="aff2010_02.jpg" width="350" height="263" thumbpath="aff2010_02.jpg" thumbwidth="75"
                   thumbheight="56" pcaption="CaptionHere02"></photo>
                <photo path="aff2010_03.jpg" width="350" height="263" thumbpath="aff2010_03.jpg" thumbwidth="75"
                   thumbheight="56" pcaption="CaptionHere03"></photo>
    </photos>
    The images when read into the main file (index.asp) show the images in the thumbnail area and display the correct image in the picture pain.  Since I added the pcaption field to the XML file, how do I get it to display?  The code in my index.html file looks like this:

    rest of the code here:
            <div id="previews">
                <div id="controls">
                    <ul id="transport">
                        <li><a href="#" class="previousBtn" title="Previous">Previous</a></li>
                        <li><a href="#" class="playBtn" title="Play/Pause" id="playLabel"><span class="playLabel">Play</span><span class="pauseLabel">Pause</span></a></li>
                        <li><a href="#" class="nextBtn" title="Next">Next</a></li>
                    </ul>
                </div>
                <div id="thumbnails" spry:region="dsPhotos" class="SpryHiddenRegion">
                    <div class="thumbnail" spry:repeat="dsPhotos"><a href="{path}"><img alt="" src="{thumbpath}"/></a><br /></div>
                    <p class="ClearAll"></p>
                </div>
            </div>
            <div id="picture">
                <div id="mainImageOutline"><img id="mainImage" alt="main image" src=""/><br /> Caption:  {pcaption}</div>
            </div>
            <p class="clear"></p>
        </div>
    Any help with getting the caption to display would be greatly appreciated.  The Caption {pcaption} does not work,

  • Need help in printing text at back page using XML Publisher

    Hi,
    I need to print instructions (static text) at the back page of my report ouput using XML publisher. Oracle Application used is 11.5.10. Please help me to reslove.

    Hi,
    Did you see "Oracle XML Publisher User's Guide" manual available at --> http://www.oracle.com/technology/documentation/applications.html
    Regards,
    Hussein

  • Help bring a multipage scanned document (TIFF) in PDF format using XML Publ

    Help bring a multipage scanned document (TIFF) in PDF format using XML Publisher.
    In the generated XML file data into BLOB field is, but their XML Publisher can not handle.
    If the output TIFF, multipage PDF file in the report, the report prints a blank.
    <fo:instream-foreign-object content-type="image/tiff"> <xsl:value-of select=".//FILE_DATA"/>
    If the output JPG file to a PDF report, all displayed perfectly.
    <fo:instream-foreign-object content-type="image/jpg" height="9 cm" width="12 cm">
    <xsl:value-of select=".//FILE_DATA"/>
    Thanks

    It seems that these error messages MOD_OC4J_0184 etc are associated with some sort of timeout.
    My problem finally solved - see my comments at:
    Re: FOP
    I would like to see the PDF format using FOP docs made clearer that 2 http servers are involved in this process, one serving htmldb pages and the other oc4j stuff.
    Is it possible to do the PDF format using FOP with only the htmldb http server??
    Cheers
    KIM

  • How can I re-install iWork using my software download key? I didn't purchase the CDs and am very frustrated. Help !!

    I have had to re-image my IMAC 3x now due to poor performance. Every time, I have to reinstall iWork using my software download key - and for some reason, I cannot find where to do that on the Apple website. Can anyone help ? and if you can't, anyone want to buy a 4 year old iMac ??

    Did you do this download at the Apple Online Store? If so then you can examine the information in your account including invoices of prior purchases. Perhaps you'll find it there. You can also locate all your prior product registrations that you've made starting here.

  • I keep getting the start menu and various programmes opening when I use a series of keys when working in my accounting programme, I am not using the command key and is very frustrating me, can anyone help me?

    I keep getting the start menu and various programmes opening when I use a series of keys when working in my accounting programme, I am not using the command key and is very frustrating, can anyone help me?  I am working on a Mac OS X Version 10.6.8, just need to know if I can reprogram the keys to stop this happening?

    Safari browser and menu shortcuts:
    http://docs.info.apple.com/article.html?artnum=42951
    Mac OS X keyboard shortcuts:
    http://support.apple.com/kb/HT1343
    http://docs.info.apple.com/article.html?artnum=75459
    Changing behavious of Function Keys:
    http://support.apple.com/kb/HT3399?viewlocale=en_US
    and more useful information on keyboard shortcuts here:
    http://www.myfirstmac.com/index.php/mac/articles/mastering-keyboard-shortcuts
    How to re-map individual keys:
    http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item_id=ukelele

  • Need help with image slide show using xml

    I have a flash document that pulls up images using xml but I
    would like for the images to also link to different urls and to be
    able to change these links in the XML document. I have included my
    code
    Also my xml file looks simular to this
    <images>
    <pic>
    <image>images/1.jpg</image>
    </pic>
    <images>
    Please if anyone can help me that would be great. Once again
    I would like for these images to be able to link to a url and to
    read the url in my XML document.

    Here's my quick suggestion:
    Add a <link> child element to your <pic> elements
    - each <link> would be a sibling of each <image>, like
    this:
    <pic>
    <image>filename.jpg</image>
    <link>
    http://www.example.com</link>
    </pic>
    Then, in your loadXML function, add this:
    link = []
    for(...){
    link
    = xmlNode.childNodes.childNode[2].firstChild.nodeValue
    Finally, in each function where you call picture.loadMovie(),
    add a line below it:
    picture.onRelease = function(){
    getURL(link
    Best,
    Brian Driscoll
    Owner
    Driscoll Web Development
    http://driscollwebdev.com

  • GPMC problem: Item has already been added. Key in dictionary: "Key being added:"

    I have the following scenario:    
    I use the Hungarian Windows 7 Professional 64 bit OS
    I use the Group Policy Management Console (GPMC) to connect to a domain controller in a domain environment.
    I try to generate a report for a Group Policy object (GPO) in the GPMC window.
    In this scenario, I experience the following issue:
    I cannot generate the report. Additionally, I receive an error message that resembles the following:  
    Item has already been added. Key in dictionary: "Key being added:"
    I found a KB article for this symptoms:
    http://support.microsoft.com/kb/2254754
    I downloaded the following hotfix to my system:
    Package:
    KB Article Number(s): 2254754
    Language: All (Global)
    Platform: x64
    Location: (http://hotfixv4.microsoft.com/Windows%207/WindowsServer%202008%20R2/sp1/Fix321583/7600/free/415811_intl_x64_zip.exe)
    I unzipped the hotfix. When I started the msu package with my administrator user, the package says the following:
    The update is not applicable for this computer.
    I got the following in my event viewer:
    System
    - Provider
       [ Name]  Microsoft-Windows-WUSA
       [ Guid]  {09608C12-C1DA-4104-A6FE-B959CF57560A}
       EventID 3
       Version 0
       Level 2
       Task 0
       Opcode 0
       Keywords 0x8000000000000000
    - TimeCreated
       [ SystemTime]  2014-09-10T06:31:58.153372600Z
       EventRecordID 2117
       Correlation
    - Execution
       [ ProcessID]  823116
       [ ThreadID]  822724
       Channel Setup
       Computer *******************
    - Security
      [ UserID]  S-1-5-21-1957994488-1606980848-682003330-*****
    - EventData
      UpdateTitle
      ErrorCode 2149842967
      ErrorString
      CommandLine "C:\Windows\SysWOW64\wusa.exe" "C:\Temp\d\Windows6.1-KB2254754-x64.msu" 
    Please help me to solve my problem.
    Thanks in advance,
    Laszlo Farkas

    I don't understand, what do you mean tweak the XML for the filterfile version entry.
    The GPO is the Default Domain Policy. Our AD functional levels (forest, domain) are 2012. If I started GPMC on the domain controller then I do not receive the "Item has already been added..." message, I can open the report succesfully. Our domain
    was on 2003 level before the migration, but we had the same problem ("Item has already been added...")  on Win 7 clients, but on DC with Windows 2003 works well.
    GPMC logging logs the followings when try to open Default Domain Policy on Windows 7 client:
    gpmgmt.log:
    [371c.41c4]  9/10/2014 14:32:21:926  [WARNING] CGPMReport::GenerateReport :ConvertToXml/Html failed with 0x80070057.
    [371c.41c4]  9/10/2014 14:32:21:936  [WARNING] CGPMReport::GenerateReportFromGPO : GenerateReport failed with 0x80070057
    gpmgmtManaged.log:
    Reporting(16568.3)14:32:21 GPO::ConvertToHtml:******The following exception occured:
    *******Message    : Az elemet korábban már felvették. Kulcs a szótárban: „Felhasználói jegy maximális élettartama”; Felvétel alatt álló kulcs: „Felhasználói jegy maximális élettartama”.
    *******StackTrace :
    System.ArgumentException: Az elemet korábban már felvették. Kulcs a szótárban: „Felhasználói jegy maximális élettartama”; Felvétel alatt álló kulcs: „Felhasználói jegy maximális élettartama”.
       a következő helyen: System.Collections.SortedList.Add(Object key, Object value)
       a következő helyen: Microsoft.GroupPolicy.Reporting.Html.Settings.TablePolicySectionTemplate.SetPolicies(IEnumerable policies)
       a következő helyen: Microsoft.GroupPolicy.Reporting.Html.Settings.Windows.Security.SecurityTemplate.AddAccounts(AccountPolicy[] policies)
       a következő helyen: Microsoft.GroupPolicy.Reporting.Html.Settings.Windows.Security.SecurityTemplate.AddSettings(GPOExtensionData securityExtension, GPOExtensionData ipsecExtension, GPOExtensionData saferExtension, GPOExtensionData pkExtension,
    GPOExtensionData wlanSvcExtension, GPOExtensionData dot3SvcExtension, GPOExtensionData napClientMgmtExtension, GPOExtensionData firewallExtension, GPOExtensionData auditExtension, GPOExtensionData srpExtension)
       a következő helyen: Microsoft.GroupPolicy.Reporting.Html.Settings.Windows.Security.SecurityTemplate.SetSecurity(GPOExtensionData securityExtension, GPOExtensionData ipsecExtension, GPOExtensionData saferExtension, GPOExtensionData pkExtension,
    GPOExtensionData wlanSvcExtension, GPOExtensionData dot3SvcExtension, GPOExtensionData napClientMgmtExtension, GPOExtensionData firewallExtension, GPOExtensionData auditExtension, GPOExtensionData srpExtension)
       a következő helyen: Microsoft.GroupPolicy.Reporting.Html.Settings.Windows.WindowsSettingsSectionTemplate.CreateSubsectionTemplates(ArrayList subsections, Hashtable nameExtensionMap)
       a következő helyen: Microsoft.GroupPolicy.Reporting.Html.Settings.Windows.WindowsSettingsSectionTemplate.SetWindowsSettings(IEnumerable extensions)
       a következő helyen: Microsoft.GroupPolicy.Reporting.Html.Settings.MainSettingsSectionTemplate.SetConfiguration(IEnumerable extensionDataList)
       a következő helyen: Microsoft.GroupPolicy.Reporting.Html.Settings.ConfigurationSectionTemplate.AddContent(IEnumerable extensionDataList)
       a következő helyen: Microsoft.GroupPolicy.Reporting.Html.Settings.ConfigurationSectionTemplate.SetConfiguration(GPOUserOrComputerConfig config)
       a következő helyen: Microsoft.GroupPolicy.Reporting.Html.Gpo.GpoReportTemplate.SetGpo(GPO gpo)
       a következő helyen: Microsoft.GroupPolicy.Reporting.GPO.ConvertToHtml()

  • How Do You Use XML To Create Image Upload On A WebSite?

    Hello,
    Could some one please help me understand how to create web image gallery and web video gallery using XML? I have found few xml codes that could be used to do this but I am not so sure how to use them. I want my clients to be able upload images and videos with linking thumbnails to Image and or Videos. Do you think the codes I included in this question will help me achive this goal? And do I need to put all in one and in the same directory so it will work? Please help with your idea and tell me how you would use these codes and how you may step-by-step implement the idea your self to your own web site.
    I have also included the instruction I found on the web with the codes.
    Starting with You Tube, API on their video gallery, here are the codes I found,
    Assume you are to use the YouTube, XML code; What will you change here so it will work on your own www.domain.com?
    <% Dim xml, xhr, ns, YouTubeID, TrimmedID, GetJpeg, GetJpeg2, GetJpeg3, thumbnailUrl, xmlList, nodeList, TrimmedThumbnailUrl Set xml = Server.CreateObject("MSXML2.FreeThreadedDOMDocument")
    xml.async = False
    xml.setProperty "ServerHTTPRequest", True
    xml.Load("http://gdata.youtube.com/feeds/api/users/Shuggy23/favorites?orderby=updated") If xml.parseError.errorCode <> 0 Then
        Response.Write xml.parseError.reason End If Set xmlList = xml.getElementsByTagName("entry") Set nodeList = xml.SelectNodes("//media:thumbnail") For Each xmlItem In xmlList
        YouTubeID = xmlItem.getElementsByTagName("id")(0).Text
        TrimmedID = Replace(YouTubeID, "http://gdata.youtube.com/feeds/api/videos/", "")
        For Each xmlItem2 In nodeList
            thumbnailUrl = xmlItem2.getAttribute("url")
            Response.Write thumbnailUrl & "<br />"
        Next     Next    
    %>
    For the image gallery, the following are the codes I found with your experience do I need to use the entire codes or just some of them that I should use?
    CODE #01Converting Database queries to XML
    Using XML as data sources presumes the existence of XML. Often, it is easier to have the server create the XML from a database on the fly. Below are some scripts for common server models that do such a thing.
    These are starting points. They will need to be customized for your particular scenario.
    All these scripts will export the data from a database table with this structure:
    ID: integer, primary key, autoincrement
    AlbumName: text(255)
    ImagePath: text(255)
    ImageDescription: text(2000)
    UploadDate: datetime
    The output of the manual scripts will look like:
    <?xml version="1.0" encoding="utf-8" ?>
      <images>
         <image>
              <ID>1</ID>
              <album><![CDATA[ Family ]]></album>
              <path><![CDATA[ /family/us.jpg ]]></path>
              <description><![CDATA[ here goes the description ]]></description>
              <date><![CDATA[ 2006-11-20 10:20:00 ]]></date>
         </image>
         <image>
              <ID>2</ID>
              <album><![CDATA[ Work ]]></album>
              <path><![CDATA[ /work/coleagues.jpg ]]></path>
              <description><![CDATA[ here goes the description ]]></description>
              <date><![CDATA[ 2006-11-21 12:34:00 ]]></date>
         </image>
      </images>
    These are all wrapped in CDATA because it is will work with all data types. They can be removed if you know you don't want them.
    Note: If using the column auto-generating versions, ensure that all the column types are text. Some databases have data type options like 'binary', that can't be converted to text. This will cause the script to fail.
    CODE #02ASP Manual: This version loops over a query. Edit the Query and XML node names to match your needs.
    <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
    <%
    Dim MM_conn_STRING
    MM_conn_STRING = "dsn=image_gallery;uid=xxxx;pwd=xxxx"
    %>
    <%
    Dim rsImages
    Dim rsImages_cmd
    Dim rsImages_numRows
    ' Query the database and get all the records from the Images table
    Set rsImages_cmd = Server.CreateObject ("ADODB.Command")
    rsImages_cmd.ActiveConnection = MM_conn_STRING
    rsImages_cmd.CommandText = "SELECT ID, AlbumName, ImagePath, ImageDescription, UploadDate FROM images"
    rsImages_cmd.Prepared = true
    Set rsImages = rsImages_cmd.Execute
    ' Send the headers
    Response.ContentType = "text/xml"
    Response.AddHeader "Pragma", "public"
    Response.AddHeader "Cache-control", "private"
    Response.AddHeader "Expires", "-1"
    %><?xml version="1.0" encoding="utf-8"?>
    <images>
      <% While (NOT rsImages.EOF) %>
         <image>
              <ID><%=(rsImages.Fields.Item("ID").Value)%></ID>
              <album><![CDATA[<%=(rsImages.Fields.Item("AlbumName").Value)%>]]></album>
              <path><![CDATA[<%=(rsImages.Fields.Item("ImagePath").Value)%>]]></path>
              <description><![CDATA[<%=(rsImages.Fields.Item("ImageDescription").Value)%>]]></description>
              <date><![CDATA[<%=(rsImages.Fields.Item("UploadDate").Value)%>]]></date>
         </image>
        <%
           rsImages.MoveNext()
         Wend
    %>
    </images>
    <%
    rsImages.Close()
    Set rsImages = Nothing
    %>
    CODE #03
    Automatic: This version evaluates the query and automatically builds the nodes from the column names.
    <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
    <%
    Dim MM_conn_STRING
    MM_conn_STRING = "dsn=image_gallery;uid=xxxx;pwd=xxxx"
    %>
    <%
    Dim rsAll
    Dim rsAll_cmd
    Dim rsAll_numRows
    ' Query the database and get all the records from the Images table
    Set rsAll_cmd = Server.CreateObject ("ADODB.Command")
    rsAll_cmd.ActiveConnection = MM_conn_STRING
    rsAll_cmd.CommandText = "SELECT * FROM Images"
    rsAll_cmd.Prepared = true
    Set rsAll = rsAll_cmd.Execute
    ' Send the headers
    Response.ContentType = "text/xml"
    Response.AddHeader "Pragma", "public"
    Response.AddHeader "Cache-control", "private"
    Response.AddHeader "Expires", "-1"
    %><?xml version="1.0" encoding="utf-8"?>
    <root>
      <% While (NOT rsAll.EOF) %>
         <row>
             <%
                 For each field in rsAll.Fields
                 column = field.name
             %>
              <<%=column%>><![CDATA[<%=(rsAll.Fields.Item(column).Value)%>]]></<%=column%>>
              <%
                 Next
              %>
         </row>
        <%
           rsAll.MoveNext()
         Wend
    %>
    </root>
    <%
    rsAll.Close()
    Set rsAll = Nothing
    %>

    OK, I understand - thanks for that.
    I thought the whole process was supposed to be a bit more seemless? Having to upload/download documents and manually keep them in sync will leave a lot of room for errors.
    It's kinda painful the way iOS doesn't have folders. It makes things incompatible with the Mac and means you can't group files from multiple apps into a single project - who organises their digital life by the apps they use?
    I think I'll recommend they use their iPad only.
    Thanks for that.
    Cheers
    Ben

  • 9926 do not read AutoUnattend.xml on USB key

    From Vista to Windows 10 9879 I used AutoUnattend.xml on USB key to deploy.
    9926 do not read my AutoUnattend.xml who worked great with the previous versions.
    I try to modify my AutoUnattend.xml but Windows System Image manager do not want to generate the catalog and give me the message: Windows SIM was unable to generate a catalog. For troubleshooting assistance, see the topic: 'Windows System Image Manager Technical
    Reference' in Windows ADK User's Guide.
    Clic here to open the log file:
    16:26 : This application requires version 6.3.9600.16384 of the Windows ADK.
    Install this version to correct the problem
    16:29 : 
    16:29 : Windows SIM was unable to generate a catalog. For troubleshooting assistance, see the topic: 'Windows System Image Manager Technical Reference' in the Windows ADK User's Guide.
    16:29 : 
    16:29 : System.ComponentModel.Win32Exception (0x80004005): Unknown error (0xc1420117)
    Server stack trace: 
       at Microsoft.ComponentStudio.ComponentPlatformInterface.WimImageInfo.PostCreateCatalog()
       at Microsoft.ComponentStudio.ComponentPlatformInterface.OfflineImageInfo.CreateCatalog()
       at Microsoft.ComponentStudio.ComponentPlatformInterface.CatalogCreatorImpl.CreateCatalog(OfflineImageInfo offlineImageInfo)
       at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
       at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
    Exception rethrown at [0]: 
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at Microsoft.ComponentStudio.ComponentPlatformInterface.ICatalogCreator.CreateCatalog(OfflineImageInfo offlineImageInfo)
       at Microsoft.ComponentStudio.CatalogGenerator.CreateCat(ProgressDialog pd, Object o)
    I do not know what to try to make a unattended install of 9926.
    Thank you for your help.

    Hi,
    Generally speaking, WinPE would generate a setupact.log which contains if the setup process look up AutoUnattend.xml file when installing system.
    Please check it.
    Roger Lu
    TechNet Community Support

  • Need help in XML Bursting..

    Hi all,
    I want to use XML bursting approch to sent emails to customers.
    -->Requirement is Emails should be sent with excel attachment.
    I designed my xxabc.rdf(oracle 10g reports) and xxabc.rtf(XML publisher,R12).
    and i created Data definition and tepmlate and registerd in oracle apps through Concurrent program.Output is in excel format and its working fine.
    Now i need to schedule this report to run every night and i need to send this report output,which is in excel format, to customer through email..
    Can anybody help me out, by suggesting the step by step process.
    --Harry                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Please refer to the Bi Publisher help page Titled "Creating a Data Model" and look for the topic "What is the Bursting Definition?".
    Essentially what you need to do is create a burst definition sql script that will associate the email address to the data definition key. For example, if the data model has a person, John Doe, identified as 01234, then your burst definition will have a column labelled as "KEY" that will contain the id "01234". Another column in the bursting definition labelled as "Parameter 1" will contain the email address. For the same definition the "TEMPLATE" column will be the name of the report template you created in BIP, the column "DEL_CHANNEL" will be set to the constant "EMAIL".
    To summarize, the following are the requirements of the bursting definition, create a sql script with column names as shown.
    Column Name: Description
    KEY: A unique identifier of the person in the report definition.
    TEMPLATE: The name of the report template to send in the email
    OUTPUT_FORMAT: EXCEL|EXCEL2000
    DEL_CHANNEL: EMAIL
    PARAMETER1: Email address
    PARAMETER2: cc
    PARAMETER3: From
    PARAMETER4: Subject
    PARAMETER5: Message body
    PARAMETER6: Attachment value ('true' or 'false'). If your output format is PDF, you must set this parameter to "true" to attach the PDF to the e-mail.
    PARAMETER7: Reply-To
    PARAMETER8: Bcc
    (PARAMETER 9-10 are not used)
    You will need to ensure the scheduler and email delivery are properly configured in the Admin panel.
    In the report properties, set the bursting definition to the name saved for the previously saved bursting definition. Run the report as a schedule job and the report will be sent as an email to the addresses in the bursting definition.

  • POST data using XML

    hi everyone...i want to upload a video to youtube from my desktop application. i went through the following link.
    http://code.google.com/apis/youtube/2.0/developers_guide_protocol_resumable_uploads.html#Sending_a_Resumable_Upload_API_Request
    it is for sending data using XML. but i don't know how to send data using XML. can someone give me an insight of data POST'ing using XML? any help is appreciated.

    actually i saw the following segment in this link :
    http://code.google.com/apis/youtube/2.0/developers_guide_protocol_resumable_uploads.html#Sending_a_Resumable_Upload_API_Request
    POST /resumable/feeds/api/users/default/uploads HTTP/1.1
    Host: uploads.gdata.youtube.com
    Authorization: AuthSub token="DXAA...sdb8"
    GData-Version: 2
    X-GData-Key: key=adf15ee97731bca89da876c...a8dc
    Content-Length: 1941255
    Slug: my_file.mp4
    Content-Type: application/atom+xml; charset=UTF-8
    <?xml version="1.0"?>
    <entry xmlns="http://www.w3.org/2005/Atom"
      xmlns:media="http://search.yahoo.com/mrss/"
      xmlns:yt="http://gdata.youtube.com/schemas/2007">
      <media:group>
        <media:title type="plain">Bad Wedding Toast</media:title>
        <media:description type="plain">
          I gave a bad toast at my friend's wedding.
        </media:description>
        <media:category
          scheme="http://gdata.youtube.com/schemas/2007/categories.cat">People
        </media:category>
        <media:keywords>toast, wedding</media:keywords>
      </media:group>
    </entry>

Maybe you are looking for

  • Tamanho de pastas locais

    Olá a todos. Uso recentemente o Mozilla Thunderbird e estou com dúvida de como posso alterar o tamanho da caixa de pastas locais. Tenho muitos emails antigos, mas ao enviá-los para pastas locais criadas, em um certo momento me retorna uma mensagem de

  • Question re Installation of Win 7 (retail) on Mac Pro

    I am currently dual booting SL and Vista.I currently have Vista 32 installed on a dedicated, second internal drive on my MacPro. I have purchased the upgrade version of Win 7 Ultimate. I have added a new, "raw" third internal hard drive on which I wo

  • Reporting issues after SP1 to R2 upgrade

    Hi Guys. I'm having an issue with reporting after upgrading System Center 2012 Configuration Manager SP1 to R2 CU2. For some reason SSRS is not allowing users to logon from a remote workstation. The Reporting node in the Monitoring workspace does not

  • Getting list of songs on iPod into a playlist on computer

    Between my wife and I we have a few iPods and I'm having some troubles getting the list of songs from our iPods into playlists in iTunes because we originally didn't transfer them the right way. We realize now that we should have created a playlist f

  • How to pass item value when call a procedure

    Hi, I tried to display a blob image by calling a procedure, it's work if I hardcode the parameter, eg <img src="#OWNER#.download_my_file?p_id=1&p_picture=1" height=60 width=40 /img> but if I pass the p_id value with some page item value <img src="#OW