Xsl:if creates unwanted newline [SOLVED]

Hi there.
I'm making a report, with some images. This works fine (it's just an image of a checkbox, base64 data..). However, when printing many lines, I only want to print the checkbox if it's actually text there.
Short explanation:
Q1 Q2
Q3 Q4
Q5
I don't want the last line (which WOULD have been Q6) to print the image aswell. (That is; I only want it to print once for the Q5)
Here's my code:
<xsl:if test="Q_NR!='' "><fo:instream-foreign-object content-type="image/jpg"><xsl:value-of select=".//IMG"/></fo:instream-foreign-object></xsl:if>
And this mess up my entire report with newline with the image.
If I use only
<fo:instream-foreign-object content-type="image/jpg"><xsl:value-of select=".//IMG"/></fo:instream-foreign-object>
then the images print exactly as I want them.
How can I get around this issue?
P.S: The if quoting is like this:
if test=(double quotes)Q_NR != (two single quotes) (double quote)

if@inlines should do the trick.

Similar Messages

  • ITunes on iCloud has created unwanted multiple playlists. How can I get rid of them?

    iTunes on iCloud has created unwanted multiple playlists. How can I get rid of them?

    Hi, if this is in regards to your library simply open up itunes and do the following steps:
    Click File
    Scroll down to "show duplicates"
    A list will then appear of your duplicate song titles.
    Be sure to CAREFULLY review each song to make sure it is a duplicate ( as I have some music that is the same song but live, acoustic etc...)
    Proceed to manually delete each song from the list and leave alone any song that you wish to keep.
    For playlists, you will need to hit the name tab so that your doubles line up, from there you will have to manually delete them, it helps to hold the Control button to select multiple songs as a time ( they will be highlighted) then when your done selecting the songs you wish to delete, right click your mouse and select the delete option from the window tab.
    Best of luck, please rate my response for help!
    Cait

  • I can not create a new ID in my iphon 4s, well I've created several to solve the problem of FaceTime, and the last restoration would not let me create a new ID. I can do? Thanks for helping.

    I can not create a new ID in my iphon 4s, well I've created several to solve the problem of FaceTime, and the last restoration would not let me create a new ID.
    I can do?
    Thanks for helping.

    Thanks Ckuan
    I can do, to create new ID?
    No way to delete all information from Iphon to create another ID?
    I will appreciate your answer

  • Aperture 2.1.1 creating unwanted versions

    When I apply adjustments to an image in Aperture 2.1.1, it creates a new and unwanted version of the master file even though I have the "create new versions when making adjustments" box unchecked in the prefs. This did not happen with earlier versions of Aperture, and I have no idea how to stop it.
    Each new adjustment results in Aperture creating a new file with (#) appended to the file name. For example, if I change the black level point in 3057.jpg, Aperture will create a new file, 3057(1).jpg in the same folder. All of my master files are held in folders on my hard drive and referenced by Aperture, and the new unwanted version files are also being saved in there.
    Does anyone have any thoughts or suggestions about this? Am I the only one experiencing this problem? Thanks in advance for any help you can give.

    Same thing happening to me!! Anyone have a solution to this issue?
    Thanks, Scott K.

  • Syncing iPhone 3G creates unwanted new contacts in Gmail contact list.

    For reasons that are unknown to me, I have many multiple duplications of contacts in my contact list. So, using the contact manager in Gmail I spent many hours cleaning up my contact list so that all of my contacts were correct and not duplicated. However, as soon as I synced the iPhone 3G I immediately had twice as many contacts as before I started, once again ending up with hundreds of unnecessary contact duplications.
    I have now spent many days reading internet blogs and forum posts, and came up with the following (which I incorrectly thought was the solution):
    1] In iTunes, I clicked on 'Edit' --> 'Preferences' --> 'Devices'. Here, I enabled the option to 'prevent iPods, iPhones, and iPads from syncing automatically'. I also enabled the option to 'warn when any of the data on this computer will be changed'.
    2] With the iPhone connected, in iTunes I clicked on 'devices' --> 'iPhone' --> 'Info'. Here, I un-checked the option to 'sync contacts', followed by clicking the button 'remove contacts'.
    Now I confirmed that there are no contacts on the iPhone. Zero. None.
    3] In Gmail, I once again spent many hours going trough all of my contacts, cleaning up the unnecessary duplicates. This time, however, I chose to export my contact list to a .CSV file on my computer, so that if this happens again I would just delete them all and restore my contact list fro this backup file.
    Now I have 0 contacts on the iPhone, and approximately 250 contacts on my Gmail account.
    4] In iTunes 10.2.1.1 running on Windows 7, I once again clicked on 'Edit' --> 'Preferences' --> 'Devices'. Here I now clicked the button to 'reset sync history'.
    5] I connect the iPhone to the computer, re-enable the option to 'sync contacts with Gmail' and click the 'Apply' button. The iPhone sync process begins and I am presented with the following message:
    Syncing with Google contacts will change more than 0% of your contacts on this computer.
    Information: Contacts. Add:41. Delete:0. Modify:2
    Now I already confirmed that there were no contacts on the iPhone, so where are these 41 additions and 2 modifications coming from !?
    I let it happen, knowing that I can repeat this process, using the '.CSV' backup file containing my correct contacts. When the Sync finishes, I log in to my Gmail account and check my contacts. I find that I now have approximately 360 contacts (which is a lot more than the original 250 plus 41), many of which are duplicated multiple times (one contact is even duplicated 6 times). I also notice contacts which I had previously deleted from my Gmail contacts list have now returned.
    As there were 0 contacts on the phone, where are these duplicates and previously deleted contacts coming from when I sync the iPhone !? Somebody from Apple please help me.
    - James.

    O.K. I may have fixed it (time will tell).
    As I had previously chosen to sync with Microsoft Outlook 2010, but the trial period expired and the price to but it was far too high, so I changed to Syncing with Gmail. Therefore I wondered if Outlook may be affecting the iTunes sync even though it was not current chosen in iTunes contact sync option. So, I un-installed Microsoft Office 2010 and re-booted the PC. Now, pressing the 'Rest Sync History' button in iTunes no longer created new contacts in Gmail.
    However, this did not completely solve the problem. With 0 contacts on the phone, and 0 contacts in Gmail, syncing the phone still re-created 41 of the previous contacts. Thew only way I could get rid of these 41 contacts was to deleted them one at a time from the iPhone itself. Doing it from Gmail, or un-checking the iTunes 'sync contacts' option to delete all contacts from the phone at once, did not work; the contacts still kept coming back.
    Funny thing though, iTunes did indicate that it would add 41 contacts when I synced the phone to the computer, but after deleting them from the phone it now warned that it would delete 41 contacts from the computer. But, these contacts were not in my Gmail, so I still don't know where they were coming from.
    Either way, after many hours spent over many days, I seem to now be able to sync my phone contacts with my Gmail without it creating any more unnecessary duplicates.
    I hope someone out there can tell me why this happened, and I hope my experiences with this help someone else in a similar situation.
    - James.
    Message was edited by: jal741

  • How do we stop the XSL transform creating an empty tag when there is no inp

    Here is a way to stop the XSL transform from creating an empty tag when there is no input.
    1. Open the XSL Map in Jdev
    2. Go to the Design Tab
    3. Right click the tag in the target tree and select "Add XSL node -> xsl:if"
    4. Create a new link from the source tag (the same that is linked to the target tag) to the newly created xsl:if

    For anyone coming in to find this, I located my answer here:
    [Special Applet Attributes|http://java.sun.com/javase/6/docs/technotes/guides/plugin/developer_guide/special_attributes.html#codebase]
    Thanks for reading.
    Sorry for the interruption.

  • Fill color also creates unwanted border

    Hi,
    I am using a conditional statement that adds fill color to a check box and a subform field when the check box is checked. The color fills in properly (and upon de-selection, it disappears) as it is supposed to, but on some fields, there is also appearing an unwanted border around the check box. Not only does the border appear, but it fails to disappear upon de-selection. 
    So, my response is, Say What?! Hoping someone can let me know what is going on and how to get rid of the border.
    Here's the exact code I have applied to one of the check boxes and which is creating a border as well.
    if (TakeTAKSAcc.rawValue==1){TAKSAccSubjects.presence="visible",this.fillColor="238,238,238" ;}else{TAKSAccSubjects.presence="hidden",this.fillColor="255,255,255";}
    ~Jenny

    I don't know about checkboxes, but I had the same thing happening with rectangle drawobjects, and I got around it by setting the colour of the border to the same as the fill colour.

  • Muse creates unwanted height of site!

    I wonder why Muse shows a totally different size in height in a browser than the numbers I stated in the page properties settings? I accepted the default sixe of 900 in width and 500 in height though this was adviced as the best setting for most browsers in different gadgets a pads, cells, laptops and stationary computers!
    I am not in for creating a site where you have to scroll for miles to get the information. I wan´t the website to visualize it self inside the borders of 900X500 pixels size!
    Please help help me out here because it seems like Muse create its own solutions! Is this a bug?
    Regards
    Jack

    wow... that really solved a problem that gave me headache! Thanks a lot Nath!
    If I may ask, do you possibly know where to find accurate information about how I create language versions... don´t mean the translation but where I can add national symbols like flags so my viewers will reach the most appropriate version that fits them without the process forces me to write code or scripts?
    Regards Jack

  • I m Not able to access to create database, Please solve the problem. please give some text steps

    ===================================
    Create failed for Database 'Qlao'.  (Microsoft.SqlServer.Smo)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.1750.9+((dac_inplace_upgrade).101209-1051+)&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Create+Database&LinkId=20476
    Program Location:
       at Microsoft.SqlServer.Management.Smo.SqlSmoObject.CreateImpl()
       at Microsoft.SqlServer.Management.Smo.Database.Create()
       at Microsoft.SqlServer.Management.SqlManagerUI.CreateDatabaseData.DatabasePrototype.ApplyChanges(Control marshallingControl)
       at Microsoft.SqlServer.Management.SqlManagerUI.CreateDatabase.DoPreProcessExecution(RunType runType, ExecutionMode& executionResult)
       at Microsoft.SqlServer.Management.SqlMgmt.SqlMgmtTreeViewControl.DoPreProcessExecutionAndRunViews(RunType runType)
       at Microsoft.SqlServer.Management.SqlMgmt.SqlMgmtTreeViewControl.ExecuteForSql(PreProcessExecutionInfo executionInfo, ExecutionMode& executionResult)
       at Microsoft.SqlServer.Management.SqlMgmt.SqlMgmtTreeViewControl.Microsoft.SqlServer.Management.SqlMgmt.IExecutionAwareSqlControlCollection.PreProcessExecution(PreProcessExecutionInfo executionInfo, ExecutionMode& executionResult)
       at Microsoft.SqlServer.Management.SqlMgmt.ViewSwitcherControlsManager.RunNow(RunType runType, Object sender)
    ===================================
    An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
    Program Location:
       at Microsoft.SqlServer.Management.Common.ServerConnection.ExecuteNonQuery(String sqlCommand, ExecutionTypes executionType)
       at Microsoft.SqlServer.Management.Common.ServerConnection.ExecuteNonQuery(StringCollection sqlCommands, ExecutionTypes executionType)
       at Microsoft.SqlServer.Management.Smo.ExecutionManager.ExecuteNonQuery(StringCollection queries)
       at Microsoft.SqlServer.Management.Smo.SqlSmoObject.ExecuteNonQuery(StringCollection queries, Boolean includeDbContext)
       at Microsoft.SqlServer.Management.Smo.SqlSmoObject.CreateImplFinish(StringCollection createQuery, ScriptingOptions so)
       at Microsoft.SqlServer.Management.Smo.SqlSmoObject.CreateImpl()
    ===================================
    CREATE DATABASE permission denied in database 'master'. (.Net SqlClient Data Provider)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.1617&EvtSrc=MSSQLServer&EvtID=262&LinkId=20476
    Server Name: SLPSOFTSOLS1
    Error Number: 262
    Severity: 14
    State: 1
    Line Number: 1
    Program Location:
       at Microsoft.SqlServer.Management.Common.ConnectionManager.ExecuteTSql(ExecuteTSqlAction action, Object execObject, DataSet fillDataSet, Boolean catchException)
       at Microsoft.SqlServer.Management.Common.ServerConnection.ExecuteNonQuery(String sqlCommand, ExecutionTypes executionType)

    Hello,
    This issue might be caused by the User Account Control (UAC) settings if we use Windows 7 or Windows Server2008, ect Operating System. Please also take a look at the following articles:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/28fee0ed-c7e2-40df-8f79-f513c9848f09/create-database-permission-denied-in-database-master-microsoft-sql-server-error-262?forum=sqltools
    http://blogs.msdn.com/b/dparys/archive/2009/09/17/create-database-permission-denied-in-database-master-my-fix.aspx
    Regards,
    Elvis Long
    TechNet Community Support

  • Calendar is creating unwanted Alerts

    I use Calendar on iCloud across four devices: iMac, MacBookAir, iPad and iPhone. All running current (10.8.3; 6.1.3) OS.
    Recently, Alerts are being added to my Calendar events on the iOS devices, and I don't know how this is occuring.
    Example: Suppose I create a recurring event in Calendar on my iMac... to Get Up at 6 a.m. every day, and I make sure I don't create an alert. That event appears on my iMac with no alert.
    However, when I open it on my iPad and iPhone, it has an alert: At time of event. Where did this come from?
    I have checked that all default alerts are set to off in Calendar preferences on the computers, and also on the iOS devices in Settings -> Mail, Contacts, Calendars -> Calendars / Default, and also accessing iCloud preferences via Safari.
    I have tried logging out of my iCloud account on both iOS devices, deleting everything, and signing on, and it does the same thing with every single event. It adds the alerts that I don't want.
    Also intriguing, if I DO set an alert in a new event on the iMac, the event shows up on the iOS devices with TWO alerts.
    This began out of the blue about two weeks ago, and I can't find a solution. I am getting a lot of alerts that I do not want.
    Does anyone else have the same problem? ...And hopefully a solution?
    Thanks in advance.

    I'm having a similar problem.  The Calendar app in iOS (iPhone 4S) is automatically setting for me a second alert for events that is nine hours after the event itself.  I have not set any second alert as a default, and even if I did I wouldn't set the alert for nine hours later.  Still, I changed my default alerts on Calendar in both iOS and OSX (Mountain Lion) to "none"; I have switched off iCloud sync for Calendar; and I have made sure my reminders in Google are also set to "none".  I am still having the problem.  I have visited my local Apple store.  Unfortunately, the associate didn't understand why I was having the problem either and thus could offer no solution.  The only thing that works is going into the Calendar app and manually deleting the second alert for each event, which isn't really a solution to the problem.  I have sent a report into Apple about this, but I too welcome any advice.

  • Why is AE creating unwanted keyframes whenever i change a property?

    Hi all...
    Just hoping someone can maybe shed some light on this - every time i go to change a property of a layer, AE (CS5.5) creates a keyframe which i don't want, even though i haven't clicked the stopwatch button.  Any thoughts?  Is this happening to anyone else?
    Example: I have a comp containing a PNG sequence on a layer above some video footage.  I want to move the comp over to the right a ways, so i select the layer, and move it to the right.  Suddenly the stopwatch icon activates (without me clicking it) and a keyframe appears on the layer's timeline where the playhead is.  Very befuddling, and quite irritating - if i miss one, forget to delete the key and then later try to animate the layer, it messes up the animation and i have to go hunting for the rogue key.
    Anyways, hopefully someone out there has an idea of what's going wrong, and even more hopefully, how to fix it.  I have a horrible suspicion it's some setting that i've accidentally changed...
    Thanks all!
    p.

    Hi everyone. 
    Scratch the above - just spotted the massive big red "auto-keyframe properties when modified" button at the top of the timeline.  D'oh!
    Thanks all,
    p.

  • Adobe Media Encoder for AE export creates unwanted black background on load in white background

    Hi. I have a seamless white website design. I added a white background to my AE file and also exported to Adobe Media Encoder with a white background, but I'm still getting a flash of black when the video loads. I have read discussions of this being a "bug" of the media encoder, but curious if anyone found a workaround. It's distracting to have the back load to black and then change to white, so I appreciate any recommendations. For now, my only idea it to re-record the video after the black flash, using a screen capture app, but this seems tedious and does not produce optimum results. Am I missing something?

    Thanks for your reply!
    I tried using Quicktime with PNG and it created a big file (1.18GB for a 1 minute long clip) that doesn't play back nicely in PPro unfortunately. But I then tried rendering the clip using a lossy format, H.264, in AE and it's playing back ok in PPro! I will just do that for the rest of the clips and hope that this is finally resolved. Many thanks for the tip!
    Out of curisoty, do you know what might be causing the problem when I use Media Encoder?

  • BAPI_MOSRVAPS_SAVEMULTI3 creating unwanted Dependent Demand

    We are using the BAPI function BAPI_MOSRVAPS_SAVEMULTI3
    to create Production Orders to integrate WIP from a
    legacy system. The presence of PDS for the product on which the production order is created, makes the PDS assignment to the production order. But, it is also creating a depenedent demand for the component in PDS, which inturn pegs to the supply on the component. We dont want the dependent demand to be created and peg to the supply, as the supply is already reduced in the external system.
    We tried using PLANNING_MODE_USAGE parameter, but was not able to stop the creation of dependent demand.
    Any way around this?

    Hi,
    Do you need the PDS in the planning system (APO) at all in case you don't want to see the dependant demand. The BAPI
    BAPI_MOSRVAPS_SAVEMULTI3 documentation says:
    For you to be able to create an order, a valid source of supply must exist for in-house production. This can be a production process model (PPM) of the type PP/DS or a production data structure (PDS). The source of supply is then used to generate the order. The order structure (components, operations, durations, capacity requirements, and so on) is determined based on the explosion. If a valid source of supply does not exist, a 'dummy' activity is generated and the order is created without structure and with only a main component.
    We create production orders with dummy activities and only the output component using the BAPI without having the PPMs at the supply plant.
    Regards
    Vinod
    NB: Also try 'Deactivate Dynamic Pegging' option in the product-supply location master data in  the 'Demands' tab to ensure  the dependant demand does not peg to available supplies of the component.

  • Transaction FMN5N - but impossible to create PO with solved Earmarked Fund

    Hello,
    The display consumption history of Eamarked funds shows an open amount of 58 819, 07 but Transaction FMRP_RFFMEP1OX withthe filter criteria doc. No.1200000197 shows an open amount of 15 965,18 (Amount type 0100 (58 819,07) and Amount type 0200 (42 853, 8 - ))
    Transaction FMN5N to reconstruction of Earmarked Funds in FM. Amounttype 0200 ( + 42 853, 8  ) for doc. No.1200000197 but impossible to create a purchase order (42 853, 89) with doc. No. 1200000197. Open amount from document 1200000197 001 exceeded by 45,71 %
    Somebody already had a similar problem ?
    Thank you
    Fabian

    FMN5N made a 1 occurence in table FMIOI  and the the open amount (transaction FMX3) shows is correct (58 819,07)
    In table FMIO, First occurence : Btart 0100 - TRBTR 58 819, 07- TCODE : FMX1
    Second occurence : Btart 0200 -TRBTR - 42 853, 89 - TCODE :  ME23N
    Third occurence : Btart 0200 42 853, 59 -TOCDE : FMN5N
    In KBLP, WTFREE and HWFREE is 15 965,18
    I want to create un purchase order. The system does not accept an purchase ordre of a value of more than 15 965,18.
    The SAP relase is SAP ERP 6.0 / NW7.01 EHP4

  • IPod creates unwanted folders.

    My songs on the computer have only one folder per artist. I want my iPod to show only one folder per artist. However, when I download my music to the iPod, multiple folders are created for each artist. I dont care what album the song came from, I want all Clapton songs together in one folder. How can I do this?

    You can't. Folder structure on the iPod is designed to be obtuse in order to minimise it's potential for sharing music... Pointless with so many 3rd party tools and alternatives to the iPod (e.g 8gb memory stick for £20) but there it is. When it comes to using the device for it's primary function, listening to music, it makes no odds how the files are arranged, you use the iPod's menus to choose things to listen to.
    tt2

Maybe you are looking for

  • Error  ORA-06550,  PLS-00103 in procedure launched by php page

    Hi, I have written a php page that calls a pl/sql procedure. When I launch the procedure (through the php) I receive this error Warning: ociexecute(): OCIStmtExecute: ORA-06550: line 1, column 101: PLS-00103: Encountered the symbol "" when expecting

  • How do i get my icons on the left hand side?

    They're on the right, and i have this really cool wall paper. The desktop would look stunning if i could get them on the left. I don't want to drag them as it will take a long time, and it will be wonky. There are also some 'USB icon' icons on my des

  • Printing problem in forms

    hi experts,                I am reading a text from invoice  thru sub routine.my sub routine has captured all the text .but when i see in the report some text is missing ..what may be the problem. tell me how to capture a text.in which table it will

  • Qmaster crashes on Blu-ray burn job action?

    Hi there, I tried mimicking the Ripple-training by Brian Gary (thanks Brian for making and sharing this ), in which a Blu-ray disc is made using the new template option in 3.5. However, after the successful transcoding to 264 of a ProRes file., the b

  • Where are the directx9 features??!?!!?

    Posted this in the basics forum as well. I work with 3D and so when I heard director was going to support directx 9 come the release of version 11 I was ecstatic. I can't find any documentation relating to pixel shaders, HDR, not even bloom effects a