Remove tokens from string and sort string via  XSLT mapping

Hi,
I have a requirement wherein I need to sort the records in an XML file with customer num & order number.
The value of order number is concatenation of order and item like: 3249_110 , 3249_10, 3290_110,3290_10 and so on.
Expected result:
3249_10
3249_110
3290_10
3290_110
The sort on order number is not giving correct result as its not considering it as an number and the output I am getting is:
3249_110
3249_10
3290_110
3290_10
code used:
<xsl:for-each select="DELIVERYHEADER">
               <xsl:sort select="./EXTCUSTOMERNO"/>
               <xsl:sort data-type="number" order="ascending" select="/EXTORDERNO"/>
               <xsl:copy-of select=".">
               </xsl:copy-of>
Please suggest.
Thanks!
Indu Khurana

Source:
<?xml version="1.0" encoding="ISO-8859-1"?>
<ORIONSHIPMENTS>
     <TRIP>
          <ACTION>I</ACTION>
          <SHIFTNO>1</SHIFTNO>
          <SEQUENCENO>1</SEQUENCENO>
          <DATE>2010-12-20 00:00:00</DATE>
          <STARTDATE>2010-12-20 06:00:00</STARTDATE>
          <ENDDATE>2010-12-20 14:54:00</ENDDATE>
          <TRIPNO>10</TRIPNO>
          <TRIPMNEMONIC/>
          <DRIVERID>DRIVERORT2</DRIVERID>
          <DRIVERNO>DRIVERORT2</DRIVERNO>
          <EXTDRIVERNO>12345</EXTDRIVERNO>
          <TRUCKID>Truck 01</TRUCKID>
          <TRUCKNO>Truck 01</TRUCKNO>
          <EXTTRUCKNO>5002053</EXTTRUCKNO>
          <TRAILERID>Trailer 2</TRAILERID>
          <TRAILERNO>Trailer 2</TRAILERNO>
          <EXTTRAILERNO>ORTEC00002</EXTTRAILERNO>
          <DELIVERYCT>2</DELIVERYCT>
          <LOADCT>1</LOADCT>
          <STARTDEPOTNO>GHENT_N</STARTDEPOTNO>
          <EXTSTARTDEPOTNO>4020</EXTSTARTDEPOTNO>
          <ENDDEPOTNO>GHENT_N</ENDDEPOTNO>
          <EXTENDDEPOTNO>4020</EXTENDDEPOTNO>
          <STARTLOCATIONNO>GHENT_N</STARTLOCATIONNO>
          <EXTSTARTLOCATIONNO>4020</EXTSTARTLOCATIONNO>
          <ENDLOCATIONNO>GHENT_N</ENDLOCATIONNO>
          <EXTENDLOCATIONNO/>
          <ANCILLARYTIME>0</ANCILLARYTIME>
          <LOADINGTIME>0</LOADINGTIME>
          <DISCHARGETIME>245</DISCHARGETIME>
          <DRIVETIME>289</DRIVETIME>
          <DISTANCE>0</DISTANCE>
          <LOADINGSTARTED>0</LOADINGSTARTED>
          <COMMENT/>
          <LOAD>
               <ACTION>I</ACTION>
               <LOADID />
               <LOADIDADD />
               <SEQUENCENO>0</SEQUENCENO>
               <LOADINGDEPOTNO>GHENT_N</LOADINGDEPOTNO>
               <EXTLOADINGDEPOTNO>4020</EXTLOADINGDEPOTNO>
               <LOADINGPOINT />
               <AUTHORISATIONCODE />
               <COMPARTMENTTO>
                    <COMPARTMENTNO>1</COMPARTMENTNO>
                    <PRODUCTNO>401611</PRODUCTNO>
                    <EXTPRODUCTNO>000000000000401611</EXTPRODUCTNO>
                    <VOLUME>65</VOLUME>
                    <UOM>LT</UOM>
               </COMPARTMENTTO>
          </LOAD>
          <DELIVERYHEADER>
               <ACTION>I</ACTION>
               <SEQUENCENO>1</SEQUENCENO>
               <ORDERNO>3949_20</ORDERNO>
               <EXTORDERNO>3949_201</EXTORDERNO>
               <CUSTORDERNO>01.01 Crea</CUSTORDERNO>
               <CUSTOMERNO>0050000001</CUSTOMERNO>
               <EXTCUSTOMERNO>0050000001</EXTCUSTOMERNO>
               <DELIVERYNAME>TEST ORTEC</DELIVERYNAME>
               <DELIVERYADDRESS1>Rue de Belgique</DELIVERYADDRESS1>
               <DELIVERYADDRESS2/>
               <DELIVERYADDRESS3/>
               <DELIVERYPOSTCODE/>
               <DELIVERYTOWN/>
               <DELIVERYCOUNTRY>BE</DELIVERYCOUNTRY>
               <INVOICENAME/>
               <INVOICEADDRESS1/>
               <INVOICEADDRESS2/>
               <INVOICEADDRESS3/>
               <INVOICEPOSTCODE/>
               <INVOICETOWN/>
               <INVOICECOUNTRY/>
               <PHONENUMBER1/>
               <PHONENUMBER2>0</PHONENUMBER2>
               <TAXCODE />
               <CUSTOMERCOMMENTS>0013</CUSTOMERCOMMENTS>
               <DELIVERYCOMMENTS/>
               <DOCUMENTTYPE>2</DOCUMENTTYPE>
               <DELIVERYWINDOWSTARTDATE>2010-12-20 00:00:00</DELIVERYWINDOWSTARTDATE>
               <DELIVERYWINDOWENDDATE>2010-12-20 23:59:00</DELIVERYWINDOWENDDATE>
               <DELIVERYLINECT>1</DELIVERYLINECT>
               <DELIVERYAUTHORISATIONREQUIRED/>
               <CUSTOMERLANGUAGE/>
               <CONTACTNAME/>
               <COMPANYREFERENCE/>
               <CUSTOMERTAXNO/>
               <FISCALDELIVERY>0</FISCALDELIVERY>
               <PAYMENTMETHOD>0</PAYMENTMETHOD>
               <PAYMENTDAYSDUE>999</PAYMENTDAYSDUE>
               <CURRENCY/>
               <CALLBEFOREDELIVERY>0</CALLBEFOREDELIVERY>
               <GEOFENCEDISTANCE>0</GEOFENCEDISTANCE>
               <GEOFENCEPHONE/>
               <SITEACCESSGRADE/>
               <NORMALTAXRATE/>
               <SPECIALTAXRATE>0</SPECIALTAXRATE>
               <DISCOUNT>0</DISCOUNT>
               <SIGNATURECAPTURED/>
               <DISTANCELOADINGDEPOT>184</DISTANCELOADINGDEPOT>
               <DRIVETIMELOADINGDEPOT>145</DRIVETIMELOADINGDEPOT>
               <DISTANCENEXTSTOP>0</DISTANCENEXTSTOP>
               <DRIVETIMENEXTSTOP>0</DRIVETIMENEXTSTOP>
               <LOADRELEVANT/>
               <DELIVERYLINE>
                    <ACTION>I</ACTION>
                    <MOVEMENTNO>3949_20001</MOVEMENTNO>
                    <EXTMOVEMENTNO>3949_20</EXTMOVEMENTNO>
                    <PRODUCTNO>401611</PRODUCTNO>
                    <EXTPRODUCTNO>000000000000401611</EXTPRODUCTNO>
                    <PLANNEDQTY>20</PLANNEDQTY>
                    <UOM>LT</UOM>
                    <PRICEPERUNIT/>
                    <DISCOUNT/>
                    <COMMENTS/>
                    <COMPARTMENTFROM>
                         <COMPARTMENTNO>1</COMPARTMENTNO>
                         <VOLUME>0</VOLUME>
                         <TANKNO>1</TANKNO>
                         <EXTTANKNO>1</EXTTANKNO>
                         <TANKID>259454</TANKID>
                         <TANKLABEL/>
                         <PRODUCTNO>401611</PRODUCTNO>
                         <EXTPRODUCTNO>000000000000401611</EXTPRODUCTNO>
                         <UOM>LT</UOM>
                    </COMPARTMENTFROM>
               </DELIVERYLINE>
          </DELIVERYHEADER>
          <DELIVERYHEADER>
               <ACTION>I</ACTION>
               <SEQUENCENO>2</SEQUENCENO>
               <ORDERNO>3949_110</ORDERNO>
               <EXTORDERNO>3949_110</EXTORDERNO>
               <CUSTORDERNO>01.01 Crea</CUSTORDERNO>
               <CUSTOMERNO>0050000001</CUSTOMERNO>
               <EXTCUSTOMERNO>0050000001</EXTCUSTOMERNO>
               <DELIVERYNAME>TEST ORTEC</DELIVERYNAME>
               <DELIVERYADDRESS1>Rue de Belgique</DELIVERYADDRESS1>
               <DELIVERYADDRESS2/>
               <DELIVERYADDRESS3/>
               <DELIVERYPOSTCODE/>
               <DELIVERYTOWN/>
               <DELIVERYCOUNTRY>BE</DELIVERYCOUNTRY>
               <INVOICENAME/>
               <INVOICEADDRESS1/>
               <INVOICEADDRESS2/>
               <INVOICEADDRESS3/>
               <INVOICEPOSTCODE/>
               <INVOICETOWN/>
               <INVOICECOUNTRY/>
               <PHONENUMBER1/>
               <PHONENUMBER2>0</PHONENUMBER2>
               <TAXCODE />
               <CUSTOMERCOMMENTS>0013</CUSTOMERCOMMENTS>
               <DELIVERYCOMMENTS/>
               <DOCUMENTTYPE>2</DOCUMENTTYPE>
               <DELIVERYWINDOWSTARTDATE>2010-12-20 00:00:00</DELIVERYWINDOWSTARTDATE>
               <DELIVERYWINDOWENDDATE>2010-12-20 23:59:00</DELIVERYWINDOWENDDATE>
               <DELIVERYLINECT>1</DELIVERYLINECT>
               <DELIVERYAUTHORISATIONREQUIRED/>
               <CUSTOMERLANGUAGE/>
               <CONTACTNAME/>
               <COMPANYREFERENCE/>
               <CUSTOMERTAXNO/>
               <FISCALDELIVERY>0</FISCALDELIVERY>
               <PAYMENTMETHOD>0</PAYMENTMETHOD>
               <PAYMENTDAYSDUE>999</PAYMENTDAYSDUE>
               <CURRENCY/>
               <CALLBEFOREDELIVERY>0</CALLBEFOREDELIVERY>
               <GEOFENCEDISTANCE>0</GEOFENCEDISTANCE>
               <GEOFENCEPHONE/>
               <SITEACCESSGRADE/>
               <NORMALTAXRATE/>
               <SPECIALTAXRATE>0</SPECIALTAXRATE>
               <DISCOUNT>0</DISCOUNT>
               <SIGNATURECAPTURED/>
               <DISTANCELOADINGDEPOT>184</DISTANCELOADINGDEPOT>
               <DRIVETIMELOADINGDEPOT>145</DRIVETIMELOADINGDEPOT>
               <DISTANCENEXTSTOP>173</DISTANCENEXTSTOP>
               <DRIVETIMENEXTSTOP>144</DRIVETIMENEXTSTOP>
               <LOADRELEVANT/>
               <DELIVERYLINE>
                    <ACTION>I</ACTION>
                    <MOVEMENTNO>3949_110001</MOVEMENTNO>
                    <EXTMOVEMENTNO>3949_110</EXTMOVEMENTNO>
                    <PRODUCTNO>401611</PRODUCTNO>
                    <EXTPRODUCTNO>000000000000401611</EXTPRODUCTNO>
                    <PLANNEDQTY>45</PLANNEDQTY>
                    <UOM>LT</UOM>
                    <PRICEPERUNIT/>
                    <DISCOUNT/>
                    <COMMENTS/>
                    <COMPARTMENTFROM>
                         <COMPARTMENTNO>1</COMPARTMENTNO>
                         <VOLUME>0</VOLUME>
                         <TANKNO>1</TANKNO>
                         <EXTTANKNO>1</EXTTANKNO>
                         <TANKID>259454</TANKID>
                         <TANKLABEL/>
                         <PRODUCTNO>401611</PRODUCTNO>
                         <EXTPRODUCTNO>000000000000401611</EXTPRODUCTNO>
                         <UOM>LT</UOM>
                    </COMPARTMENTFROM>
               </DELIVERYLINE>
          </DELIVERYHEADER>
     </TRIP>
</ORIONSHIPMENTS>

Similar Messages

  • [svn:osmf:] 14372: PARB changes: Remove metadata from MediaContainer and LayoutTargetSprite constructors.

    Revision: 14372
    Revision: 14372
    Author:   [email protected]
    Date:     2010-02-23 15:17:18 -0800 (Tue, 23 Feb 2010)
    Log Message:
    PARB changes: Remove metadata from MediaContainer and LayoutTargetSprite constructors.  Instead, metadata is set on LayoutTargetSprite via a non-public setter used by the framework.  Update a bunch of ASDocs, make some enum classes final, remove elementIDs from sample apps (since they rely on metadata, and we want to keep samples focused on the public API).
    Modified Paths:
        osmf/trunk/apps/samples/framework/MediaContainerSample/MediaContainerSample.as
        osmf/trunk/apps/samples/framework/NestedMediaContainersSample/NestedMediaContainersSample .as
        osmf/trunk/apps/samples/framework/OSMFPlayer/src/OSMFPlayer.as
        osmf/trunk/framework/OSMF/org/osmf/containers/IMediaContainer.as
        osmf/trunk/framework/OSMF/org/osmf/containers/MediaContainer.as
        osmf/trunk/framework/OSMF/org/osmf/elements/compositeClasses/CompositeDisplayObjectTrait. as
        osmf/trunk/framework/OSMF/org/osmf/layout/HorizontalAlign.as
        osmf/trunk/framework/OSMF/org/osmf/layout/ILayoutTarget.as
        osmf/trunk/framework/OSMF/org/osmf/layout/LayoutMode.as
        osmf/trunk/framework/OSMF/org/osmf/layout/LayoutTargetSprite.as
        osmf/trunk/framework/OSMF/org/osmf/layout/VerticalAlign.as
        osmf/trunk/framework/OSMFTest/org/osmf/containers/TestMediaContainer.as
        osmf/trunk/framework/OSMFTest/org/osmf/layout/TestLayoutRenderer.as
        osmf/trunk/framework/OSMFTest/org/osmf/layout/TestMediaElementLayoutTarget.as

  • What is difference between Null String and Empty String ?

    Hi
    Just i have little confusion that the difference bet'n NULL String and Empty String ..
    Please clear my doubte.
    Thankx

    For the same reason I think it's okay to say "null
    String" and "empty String "as long as you know they
    really mean "null String reference" and "empty String
    object" respectively. Crap. It's only okay to say that as long as *the one you're talking to" knows what it really means. Whether you know it or not is absolutely irrelevant. And there is hardly any ambiguity about the effects that a statement like "assign an object to a reference" brings. "Null String" differs in that way.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Difference between String and final String

    Hi friends,
    This is Ramana. Can u suggest me in this Question
    What is the difference between String and final String? Means
    String str="hai";
    final String str="hai";
    Regards,
    Ramana.

    *******REPEAT POST***********
    We already answered your question why post in a different section?
    http://forum.java.sun.com/thread.jspa?threadID=5201549

  • HT201441 Hi Just bought ipad 2 off someone they showed it to me working and the removed it from icloud and reset. now have started to setup at home and it is asking for an apple id he or i do not know what should i do ?

    Hi Just bought ipad 2 off someone they showed it to me working and the removed it from icloud and reset. now have started to setup at home and it is asking for an apple id he or i do not know what should i do ?

    Restore the Device as New.  See Section 6 here... http://support.apple.com/kb/HT4137
    Note:
    Activation Lock in iOS 7  >  http://support.apple.com/kb/HT5818

  • How do i remove pictures from iphone 5 to macbook via itunes

    how do i remove pictures from iphone 5 to macbook via itunes 11

    you import them to your computer http://support.apple.com/kb/HT4083

  • I downloaded GarageBand to Ipad2 for $4.99 and worked fine. When I updated Ipad2 to Iso5 it automatically took Garageband off my  iPad2 and downloaded it to my Iphone4. So I removed it from iPhone4 and when I go to download again at app store onto my IPad

    I downloaded GarageBand to Ipad2 for $4.99 and worked fine. When I updated Ipad2 to Iso5 it automatically took Garageband off my  iPad2 and downloaded it to my Iphone4. So I removed it from iPhone4 and when I go to download again at app store onto my IPad it says it is downloaded but when searching for icon on Ipad2, it won't show up at all.  I have tried hard reset and all.  Help!!!

    I'm not sure, but you might get better luck posting the same question in the iPad forum:
    https://discussions.apple.com/community/ipad/using_ipad

  • Looking to Search and Sort String Twice, though am having issues

    I am inputing from an access file a test library, the files in the access file are out of alphabetical order...thus I search and sort and bring these into LV in alphabetical order.  But I am running into the issue of trying to further search and sort the second column of info via the model number:
    example:
    Model ............. Model #
    Zetor               55
    Challenger        55
    Ford                55
    Zetor               66
    Challenger        66
    Ford                 66
    Zetor               45
    Challenger        45
    Ford                45
    Zetor               96
    Challenger        96
    Ford                 96
    Need to Return the Files as per below:
    Zetor               45
    Challenger        45
    Ford                45
    Zetor               55
    Challenger        55
    Ford                55
    Zetor               66
    Challenger        66
    Ford                 66
    Zetor               96
    Challenger        96
    Ford                 96
    Attachments:
    search & sort string.JPG ‏65 KB

    actually in my original post I had a brain-lapse on what the final sort needed to be....
    I was looking for this:
    Challenger        45
    Challenger        55
    Challenger        66
    Challenger        96 Ford                 45
    Ford                 55
    Ford                 66
    Ford                 96
    Zetor                45
    Zetor                55
    Zetor                66
    Zetor                96
     thanks for the quick response.

  • Anyone know how to add a string to a 1d array with file info, then be able to read back, display string, and sort data array.

    I need to store a data array and include text that describes what the data is. (using for various configuration files.) Anyway, I would like to be able to save the string as part of the txt file, and somehow read it back, remove the (various length string), and display it in an indicator. All the while, not causing too much problem with the initial data array.
    Thanks in advance!!

    There are several ways to do what you require. A simple method would be to use an ASCII text file. When writing one of those, you just need to basically build a gaint string starting with the description text you want. We like to call that a header. Once you've got the header, make some sort of delimiter like a bunch of "-" or two sets of ( EOL = End of Line = CRLF = \r\n ). After your delimiter, concatenate your array in string form or flatten your array from its native form into a string and tack it on the file (append).
    See the (very quick) example attached.
    Dan Press
    www.primetest.com
    Attachments:
    fileheader.vi ‏41 KB

  • Null String and Empty String problem

    Hello everyone,
    since i am totally new in JSP, i am getting problem in handling strings.
    Suppose i have a variable users = ""; then
    I want to ask when to use:
    if (users.equals(""))
    and
    if(users == "")
    in my code, variable users has value "regional" for regional users.
    and i am checking this code as:
    if (users.equals{"regional")) {
    out.print ("I am inside code");
    at that time, the code is throwing error (run time error)
    and when i changed the code as:
    if (users == "regional") {
    out.print ("I am inside code");
    this time, the code is not generating error but the part message "I am inside code " is not displaying. The code do not inserts inside the if condition
    I hope u understand my problem. Can anybody help me out with this.

    This has basically nothing to do with JSP, but with basic Java knowledge.
    When using the '==' operator to compare Objects (yes, String is actually a subclass of Object), then it will look if they are of the same reference. Using the '==' operator to compare primitive datatypes (int, boolean, char, etc) will look if they have the same value.
    That is why the Object class has the equals() method to give the ability compare with another objects. And you can only invoke it when the Object is actually instantiated. So if it is not null.
    if (string != null && string.equals("somevalue")) {
    // or
    if ("somevalue".equals(string)) {
    }should work.
    Edit rym82: this will not throw a NPE, but an ordinary compilation error ;)
    Message was edited by:
    BalusC

  • Difference between null string and empty string??

    what is the major difference between null string and an empty string??
    I wrote the following simple program and I could see some different output.
    Other than that, any other differences that we should pay attention to???
    C:\>java TestCode
    Hello
    nullHello
    public class TestCode
         public static void main(String[] s)
         {     String s1 = "";
              String s2 = null;
              System.out.println(s1 + "Hello");
              System.out.println(s2 + "Hello");
    }

    The difference is that an empty String is just empty but a null String has no value (i.e. it is not instantiated) this has signifigance since all Strings are objects.

  • I have 1 music library, but 2 iphones; how do i remove songs from 1 and leave them on another?

    i have 2 iphones and 1 music library on my laptop.  i just install ios7 today on one phone and now i'm seeing my entire music library on that when I really just want the playlists.  i unchecked all of the music in the library but it still syncs and shows all of the songs on the phone.  how do i get rid of all of the songs on the phone?

    Hi tmilbut,
    Welcome to the Support Communities!
    The information below may be able to answer your questions about how to delete items from a playlist on an iPod.
    iPod Nano User Guide - Remove items from a playlist - page 23
    http://manuals.info.apple.com/MANUALS/1000/MA1624/en_US/ipod_nano_user_guide.pdf
    Remove items from a playlist:
    1 On the Home screen, tap Music > Playlists, then tap the playlist you want to edit.
    2 Flick down, then tap Edit.
    3 Tap next to the item you want to delete, then tap Delete when it appears on the right.
    4 When you finish, tap Done.
    Delete a playlist:
    1 On the Home screen, tap Music > Playlists.
    2 Flick down, then tap Edit.
    3 Tap next to the playlist you want to delete, then tap Delete when it appears next to the playlist.
    If you tapped the wrong playlist, tap the one you want to remove.
    4 Tap Delete, or tap Cancel if you change your mind.
    5 When you finish, flick up, then tap Done (or swipe right to return to the Home screen if you cancel).
    Cheers,
    - Judy

  • Removing Apps from Mac and iPhone/iPad

    Hi all.
    Can someone advise the best way to completely remove unwanted apps please?
    The issue I have is that if I remove the app from my iPhone/iPad and then sync my phone with my iMac, the app just gets put back on the iPhone/iPad.
    If I remove it from the App library, the app seems to just stay on the iPhone/iPad.
    The only way that works is if I manually remove it from the iPhone/iPad and iMac..
    Anyone have an idea of a better way, as scrolling through 350-500 apps (twice) to determine which ones I want to get rid of is a little painful.
    Thanks all...
    Paul.

    Hello Paul Bruen,
    Thanks for using Apple Support Communities.
    You will need to put your device into recovery mode to restore your device to the latest version of iOS since you are currently on a beta version.
    Check for outdated or modified software
    Related errors: 1015, “The required resource can't be found.”
    You might see these error messages if any of these are true:
    Your device has a beta version of iOS.
    You're trying to install an earlier version of iOS (downgrading).
    Your device has unauthorized modifications to iOS, also called "jailbreaking."
    Use recovery mode to restore your device to the latest version of iOS.
    Resolve iOS update and restore errors
    Take care,
    Alex H.

  • REMOVED ITUNES FROM COMPUTER AND RELOADED A NEW ACCT HELP!!!!!!

    MY BUDDY IS OPERATING VISTA, HE BOUGHT A EXTERNAL HARDDRIVE, COPIED (MOVED HIS LIBRARY OR FILE TO THE HARDDRIVE) MADE SURE IT SAVEF, THEN HE REMOVED (UNINSTALLED ITUNES AND ALL THE OTHER FILES PER ITUNES UNINSTALL PROCEDURE AS IT STATES IN EXACT ORDER. HE THEN RESTARTED HIS COMPUTER AND SIGNED BACK IN TO ITUNES UNDER HIS OLD ACCOUNT AND HIS ENTIRE LIBRARY APPEARED AS IF NOTHING HAD BEEN DONE. HE REMOVED ITUNES AGAIN AND SIGNED UP FOR A NEW ITUNES ACCT WITH A DIFFERENT E-MAIL ADDRESS SO NOTHING WOULD BE RECONIZED AND DOWNLOADED IT TO COMPUTER, DURING THE INSTALL PROCESS HE GOT A ERROR MESSAGE SOMETHING TO THE EFFECT THAT " WINDOWS HAS ENCOUNTERED A PROBLEM OR A MALFUNCTION OR AN ERROR AND PROCESS STOPPED AND WINDOWS CLOSED OR SHUT DOWN" ANY IDEAS AS TO WHAT COULD BE THE PROBLEM, HE CANT GET HIS COMPUTER TO INSTALL OR DOWNLOAD ITUNES.

    You can connect as many ipods to one PC as your budget will allow.
    http://support.apple.com/kb/HT1420
    +sync to an unlimited number of iPods+.
    +delete all music from itunes and empty files to recycle bin then empty recycle bin. wont this help.+
    That sounds like a scary way to delete all the music files!
    My advice is, use Windows Explorer to clean out the duplicate files.
    Then start over with a blank itunes library - he could move/delete his itunes database file while iteuns is closed.
    iTunes will create a new blank one next times it is launched, since it can't run without it.
    The name of that file is
    *iTunes Library.itl*
    Message was edited by: Katrina S.

  • Does deleting iCloud account remove photos from phone and iPad?

    I know this has been answered, but I am still confused.
    Will deleting my iCloud account remove photos from my phone?
    I've read just "iCloud"- but where is this?
    Long story short, I got married the month before I got my iPad, being a newlywed I wasn't thinking I would find my husband impregnating another woman and moving in with her behind my back so I figured creating an iCloud name with his last name would be good to go. Obviously not. Anyway- all my photos are screenshots needed for my anullment process and I can't lose them. The games are whatever, I plan on starting those over because I'm sure that I can't keep my progress. Do I have to re-download them?
    Also is there a way to uninstall an update? The 7.1 removing of full contact pictures when recieving calls was a bummer

    > Anyway- all my photos are screenshots needed for my anullment process and I can't lose them.
    Transfer them to your computer to keep them safe. If you lose or break your iPad you'll lose them without a backup.
    http://support.apple.com/kb/ht4083

Maybe you are looking for