Carriage Return with the text in xdofx

Hi
I have to insert a carriage return with in a text I tried <?xdoxslt:chr(10)?>
e.g <?xdofx:if x>'0' then 'Approved. Thank you.' else 'Disapprov.Thank you. ' end if?>
so the output should be
Approved
Thank You
I need carriage return between Approved and Thank You
Thanks

Use this:
<?xdoxslt:ifelse(x>0, concat('Approved', xdoxslt:chr(10), 'Thank you.'), concat('Disapprov. ', xdoxslt:chr(10), 'Thank You.'))?>
I tried this and it works
<?xdoxslt:ifelse(10>9, concat('Approved', xdoxslt:chr(10), 'Thank you.'), concat('Disapprov. ', xdoxslt:chr(10), 'Thank You.'))?>
Thanks,
Bipuser

Similar Messages

  • JSP for Vcard cannot strip carriage return in the last line of the file.

    I am using JSP to output a Vcard (http://en.wikipedia.org/wiki/VCard)
    The following code works great in Windows but fails on the mac:
    <%@ page contentType="text/x-vcard" %><%--
    --%><%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %><%--
    --%><%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %><%--
    --%>BEGIN:VCARD
    VERSION:2.1
    <c:choose><%--
    --%><c:when test="${not ((empty param.lan) and (empty param.fin)) }"><%--
    --%>N:${param.lan};${param.fin}
    FN:${param.fin} ${param.lan}
    </c:when><%--
    --%><c:otherwise><%--
    --%>FN:${param.org}
    </c:otherwise><%--
    --%></c:choose><%--
    --%>ORG:${param.org}
    TITLE:${param.title}
    TEL;WORK;VOICE:${param.phwork}
    ADR;WORK:;;${param.st};${param.city};${param.state};${param.zip};
    EMAIL;PREF;INTERNET:${param.email}
    REV:20080424T195243Z
    <c:out value="${fn:replace('END:VCARD','\\\r','')}" escapeXml="false"/>After some tests, I discovered that Mac (I used Tiger, latest update, not Leopard) needs extra white space and carriage returns stripped off. Once this is achieved, the vcard will automatically import into Address Book. I have followed other forums which advice on using JSP comments as in the code above. But for some strange reason the last line of the JSP outputs an extra carraige return. How do I get rid of the carriage return at the end of the file? the replace function from JSTL is not working.
    Edited by: shogo2040 on Dec 18, 2008 7:11 PM : I added more detail to the Subject

    I originally had that END:VCARD without any carriage return.
    But I still get an extra carriage return at the end when the JSP renders to VCF
    I'm using Tomcat running on Linux.
    I found this, article which implies (but does not explicitly say) JSP in general adds a newline to the last line:
    http://www.caucho.com/resin-3.0/jsp/faq.xtp (But its not tomcat either, so maybe this info is irrelevant).
    Edited by: shogo2040 on Dec 22, 2008 3:31 PM - changed rendered to VCF from rendered to JSP

  • HTML tags displayed with the text in "Notification" area

    We want to display an HTML formatted message in the "notification" area, but the HTML tags are being escaped and thus are displayed along with the text. We are using Application Express 2.2.1.00.04. The application has been handed off to us to support and we have no experience with APEX. So I hope I am explaining this correctly.
    The process to display the message is as follows:
    After submission, a page validation fires, which is of type "function returns boolean": "return some_function('P100_MESSAGE',2nd_arg);".
    In "Error Message" is "&P100_MESSAGE."
    The function returns true when the validation is successful. When validation fails, it returns false, setting 'P100_MESSAGE' to some error message - for example: "&lt;li&gt;Phone number is not numeric&lt;/li&gt;&lt;li&gt;Email address is not valid&lt;/li&gt;".
    Our template has this in the body definition:
    #NOTIFICATION_MESSAGE##SUCCESS_MESSAGE##BOX_BODY#
    As I understand it, #NOTIFICATION_MESSAGE# will be replaced with the value of 'P100_MESSAGE'.
    I've displayed 'P100_MESSAGE' on my page to confirm its contents and it is rendered correctly with bullets. But the notification area does not show bullets. It displays the text and the HTML tags.
    Is there anything obvious we can do to fix this problem? Thanks

    I 've changed P100_MESSAGE to text field, text field (disabled, saves state), text field (disabled, does not save state), and textarea, display as text, etc. It is originally set to Hidden type (because it is only to be displayed in the notification area). But changing it to various types makes no difference as to how it is displayed in the notification area. Of course, when it's not hidden, then it's also displayed on the page, among to other page elements,which is not acceptable.
    Thanks-
    -j

  • How Do You Make an Image Flow with the Text?

    Hello all,
    I am using CS4 InDesign on Windows Vista. I am fairly new to Indesign but try to do my research and homework well before asking what I hope is not a really dumb question.
    I am writing a book of approx. 350 pages that is an illustrated encyclopedia of 156 plants and their oils.
    Each 2 page spread is a single entry for a plant. The graphics frames on each spread are identical in size, position and styles for a consistent look throughout the document.As you can see (hopefully) each page is a single column. See screenshot below
    In order to overcome my first problem of positioning and sizing the graphics frames uniformly, I created the master pages with the graphics placeholders sized, positioned and formatted to my liking. This worked wonderfully and I placed all of my 300+ graphics by simply over riding each frame.
    Then in my editing I decided to add another 2 page spread somewhere in the middle of this fairly large document.
    What a NIGHTMARE. The text predictably shifted but now ALL of my graphics were no longer associated with the corresponding text! Arrrgghhh.I had not anticipated this behavior (used MS Word for 15 years) or I would have done something different.
    3 hours later I finished re -"placing" the images associated with the correct text.
    I researched the help file and found out about the neccessity of anchoring graphics to text. I have read through the threads in this forum, followed links to "indesignsecrets.com/make-an-image-flow-with-the-text" and " Working with anchored objects by Anne Marie Concepcion"
    My concerns are this.
    An inline graphic places the graphic back onto your text layer for some reason ( Previously my graphics each had their own layer)
    Not wanting to start (again) from scratch with my graphics I converted them to inline/custom anchored objects.
    But to select then cut then paste every pre existing graphic to anchor it inline seems to be cumbersome and counter intuitive although the top smaller graphic did position well and the text seemed to wrap ok.
    When I placed the larger bottom graphic on the left facing page using custom positioning I was not able to get the text to wrap at all.( The in line anchoring did not seem to allow for positioning on anything but the 'Y' axis).
    It seems that there would be a simpler way to place text and graphics where you want them and have them associate and flow together (or not) when you want them to and have text wrap easily around an anchored object without keyboard gymnastics. It would seem that the concept of a certain graphic being associated or linked with certain text would not be an unusual concept in desktop publishing.
    Am I missing something?
    Can you place an anchored graphics frame on the master page with your desired options?
    How would this be done if possible?
    Is there any other way (i.e grouping) to keep graphics associated with the desired text so that it flows together if extra pages are added?
    Is the fact that my graphics frames are on my master pages responsible for my text wrap difficulty? (I have text wrap enabled on my master pages)
    Are there any settings, redundant or otherwise, I need to be aware of?
    Thank you in advance for any suggestions or directions
    L.N.

    Hello Again,
    Thank You Bob but I am still a little fuzzy on this. I have already created object styles for the graphics frames. For instance the small graphic underneath the heading (Its a drop of oil) has an object style applied. Now I checked and it has the anchored object options checked in the style dialog box. When I reapply the style to the next similar graphics nothing happens. It is still not anchored. Do I need to create a new style based on "nothing" add my effects plus the anchoring options? Basically start over. If thats what I need to do thats OK. As to your instruction that object styles could accomodate this anchoring thing...thats what I thought too but somehow I can't get it to work. See object style dialog box screenshot below:
    For the larger graphic on the bottom of the left facing page. I still cannot get any text to wrap. In the screenshot example the text describing this particular plant doesn't go to the bottom of the page so the wrapping issue on this page is moot. However I have some entries where the body of the description is more involved and does go to the bottom of the page and the text WOULD need to wrap around the plant (larger ) graphic.
    Hi there Harb, Yes I found out early on that object styles can't apply size (that would be on my wish list for sure) That is why I found that creating my graphics frames on the master page with the correct size, effects and positioning tickled me so much. Can you believe I originally went through and MANUALLY resized and repositioned each and every 300+ graphics in this book but it still wasn't right. I'm nothing if not persistent. (Now if I could just get my grown sons to pick up their socks!)
    Anyway the master page graphics frames idea would be perfect if I could get the images to anchor in their respective spots on the master page as well.
    For your second suggestion. I am not clear about why I would need to break the threads of each spread so that each spread is a seperate article. Is the threading issue the thing that is causing my text to move on leaving their associated graphics behind? If so how do I go about doing this?
    So to recap:
    1. I need to know if I can modify my object style or recreate from scratch with the anchoring option (as I said it didn't work)
    2. Can't get text to wrap around the Custom anchored graphic at bottom of page at all
    3. Im not clear on the breaking the threading on the spreads
    I am willing to go back through and start from scratch (new master pages, styles etc ) if neccesary. This book is the culmination of 7 years of research and artwork.Basically the project is DONE. Now if I can just format it correctly.
    I can't thank you both enough for your time, suggestions, expertise and patience.
    Thanks again
    LN

  • Is there a way to print the check register with the Text field

    Hi,
    Is there a way to print the check register with the Text field and also each item's Text field?"
    When we enter a invoice we enter a generic text on the Basic Data tab then enter a "+" on each individual line item which in turns defaults to the generic text. Just wanted to know if the check register could draw in the individual line item detail where we can enter text that relates to just that line item. Sort of like the MIR7 draws in the detail for each item.
    Kindly help me in full fill the above requirement.
    Thanks
    Sunitha

    Hi,
    Can any one help me on this issue?
    Thanks
    Sunitha

  • TS3899 Having trouble accessing my email account thru the mail app, after entering the account information in the settings page, hotmail returns with the error message " The user name or password for Hotmail is incorrect

    Having trouble accessing my email account thru the mail app, after entering the account information in the settings page, hotmail returns with the error message " The user name or password for Hotmail is incorrect". Help

    Hotmail is having problems:
    http://bostinno.streetwise.co/2013/08/15/hotmail-outage-hotmail-is-down-for-user s-still-photos/
    http://www.engadget.com/2013/08/14/outlook-outage/
    http://www.infoworld.com/d/applications/microsofts-skydrive-outlookcom-are-down- some-users-224940
    http://mashable.com/2013/08/14/outlook-down/
    http://techcrunch.com/2013/08/14/microsoft-acknowledges-outlook-com-messenger-sk ydrive-outages/

  • Popup with the text "Security Breach" in Safari

    My son told me he saw a popup with the text "Security Breach" when visiting a website. He is concerned that his phone may be compromized. He is using Safari, iOS 6.0.1 on a iPhone 4S. The was a n OK button on the popup. He pressed it and the popup disappeared. Is there serious danger here?

    This may be caused by a problem with an add-on. Try the procedure in the [[Troubleshooting extensions and themes]] article.

  • Cd() prints a carriage return to the screen

    In writing scripts, I've noticed that the cd() method echoes an extra carriage
    return to the terminal. Due to the fact that set() is context-specific (can't
    say cmo.set(); must say set() instead), long scripts have a lot of calls to cd(),
    and so the user sees lots of blank lines when running the scripts.

    Justin,
    Thanks for reporting this. It will be corrected in the next release.
    -satya
    Justin Dossey wrote:
    In writing scripts, I've noticed that the cd() method echoes an extra carriage
    return to the terminal. Due to the fact that set() is context-specific (can't
    say cmo.set(); must say set() instead), long scripts have a lot of calls to cd(),
    and so the user sees lots of blank lines when running the scripts.

  • Default Carriage return in the last column when data is downloaded to Excel

    Problem:
    When you download data into Excel and if the last column of your excel is a numeric field, XMLP will add a carriage return (special character) to your numeric field. This feild will be considered as character field by excel.
    Work Around:
    When you build the template, create an empty column as your last column and leave E (or end-for-each) in that empty column.
    Note:
    If the last column is a character column then you do not have to do this.

    I originally had that END:VCARD without any carriage return.
    But I still get an extra carriage return at the end when the JSP renders to VCF
    I'm using Tomcat running on Linux.
    I found this, article which implies (but does not explicitly say) JSP in general adds a newline to the last line:
    http://www.caucho.com/resin-3.0/jsp/faq.xtp (But its not tomcat either, so maybe this info is irrelevant).
    Edited by: shogo2040 on Dec 22, 2008 3:31 PM - changed rendered to VCF from rendered to JSP

  • Help!  Question, how do I move an image along with the text

    New to InDesign and I'm creating a how-to brochure of sorts for my business and as I'm making edits/updates I realize I need to insert another picture at the beginning of the document.  I already have a bunch of other images throughout the document in specific places that need to remain with the text they are wrapped around.  If I try to insert a new picture at the beginning of the document and wrap the text, all of the text moves down throughout the document but the images do not.  That means none of the images are in the correct place anymore.  Is there a way to make sure if I insert a new picture or text at any place in the document all of the following images move with the text they are by?  I'm sure its a simple fix, I just can't figure it out.  Thanks.

    Look into anchored objects.

  • Dropped in photos to move/stay with the text?

    Hello all,
    I'm writing up a long document detailing certain events, and I'm placing photos from my iPhoto library in it as I go. However, I'm also going back to the beginning and adding things on there. Whenever I do that, my photos stay but the text moves further and further on, thus my photos get "delinked" per-se. Is there a way I can gang the photos to the text? Maybe making the text an object? I'm a Final Cut guy, so I'm hoping that some of you are Pages people.
    Thank you,
    -Brian

    Brian,
    With the Wrap Inspector open, select one of your photos. Is it Inline or Floating? To lock your photos to the text so that the photos stay with the text as you add text above, you want your photo objects to be set to Inline. Inline objects have limited position options, whereas Floating objects can be set virtually anywhere you like but they aren't locked to the text.
    Jerry

  • My iphone 6 turned off while i was using face time and it returns with the screen saying Hello mean its reset automatically how is this possible ? Now it requires an id and password to activate which i do not remember need help ?

    My iphone 6 turned off while i was using face time and it returns with the screen saying Hello mean its reset automatically how is this possible ? Now it requires an id and password to activate which i do not remember need help ? but i do remember the id and password which i was using on itunes and Apple store. please i almoost buy it in 890$ so it will be a big lost please help me.

    shahzadfromlahore wrote:
    Now it requires an id and password to activate which i do not remember need help ? but i do remember the id and password which i was using on itunes and Apple store. please i almoost buy it in 890$ so it will be a big lost please help me
    Who set up the phone? Who's Apple ID was used to activate it?

  • How can i get my iMessage on my mac to sync with the texts i get on my iPhone?

    how can i get my iMessage on my mac to sync with the texts i get on my iPhone?

    Welcome to the Apple Community.
    Are you aware it only syncs iMessages. Also once enabled only new messages will sync, try messaging the user from the Mac and see if that gets things going for you.

  • [svn:fx-4.x] 15186: In RichEditableText handlePasteOperation() if there are no constraints (maxChars, restrict or displayAsPassword) and multiline text is allowed we can do an immediate return before the text is extracted from the text flow .

    Revision: 15186
    Revision: 15186
    Author:   [email protected]
    Date:     2010-03-31 16:42:19 -0700 (Wed, 31 Mar 2010)
    Log Message:
    In RichEditableText handlePasteOperation() if there are no constraints (maxChars, restrict or displayAsPassword) and multiline text is allowed we can do an immediate return before the text is extracted from the text flow.  This should be the typically case when pasting large amounts of text.
    QE notes:
    Doc notes: None
    Bugs: partial fix for SDK-25793
    Reviewed By: Gordon
    Tests run: checkintests
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-25793
    Modified Paths:
        flex/sdk/branches/4.x/frameworks/projects/spark/src/spark/components/RichEditableText.as

    Step by step, how did you arrive at seeing this agreement?

  • Problem with the text from previous year in current year appraisal (PPR)

    Hi Gurus,
    I have some problem with the text from the PPR of the previous year in the PPR current year.
    The text from the previous year have not the same displaying in the tab "previous year" of  the current year PPR.
    EXAMPLE :
    this is write in the PPR of year 2009 in Individual Targets without Incentives (tab My S-imple) :
    -Aufrechterhaltung der MA motivation, in dieser Zeit der Neuorientierung.
    -G1 Unterstüzung
    -Fachübergreifende Teamarbeit ausbauen
    Gefährdungsbeurteilung weiter führen
    -tragen von PSA einfordern
    -VI Opt.(Intervalle)
    -Azubi und Praktikanten AUsbildung unterstüzen
    and this is what I have in the PPR of 2010 in Individual Targets without Incentives (tab Previous Year's Targets):
    -Aufrechterhaltung der MA motivation, in dieser Zeit der-Aufrechterhaltung der MA motivation, in dieser Zeit der
    -Aufrechterhaltung der MA motivation, in dieser Zeit der
    -Aufrechterhaltung der MA motivation, in dieser Zeit der
    -Aufrechterhaltung der MA motivation, in dieser Zeit der
    -Aufrechterhaltung der MA motivation, in dieser Zeit der
    -Aufrechterhaltung der MA motivation, in dieser Zeit der
    -Aufrechterhaltung der MA motivation, in dieser Zeit der
    there is the error, all the end of the text isn't displayed and the begin of the text is repeated.
    I think that this issue is created at the creation of the PPR.
    If someone have a idea he is welcom.
    thanks and regards

    Hi,
    Please follow the note:425601,
    Go to Tcode: OBA5 change the error messge into warning message. carry out the settlement and roll abck the warning message into the error message after sucessfull settlement.
    Reward points if found useful.
    Thanks!

Maybe you are looking for

  • Report for viewing credit limit block released documents

    Hello All, Our client's requirement- credit limit check to be carried out and authorised persons can release the blocked orders. But is there any report at month end to see how many documents were released and who released them  Is there any standard

  • How to restore an iOS 7 backup, on an iPhone running iOS 6.1.4?

    I was using iOS7, since tha release of the first beta version. Before sent my iPhone 5 to Apple for tech support i did a backup in iCloud. They returned me another phone, so I have an iOS 6.1.4 that doesn't allow me to restore iOS7 and I can't recove

  • Why does iPhoto 8.1.2 work on one iMac but not another when both are the same spec both running Mavericks 10.9.1?

    I have a studio of 7 iMacs all running Mavericks 10.9.1, six of the machines are able to open iPhoto 8.2.1 but for some reason after updating the seventh, iPhoto vanished completely from that machine. I reinstalled it from a copy I had saved on a HDD

  • Opening Internet Explorer from Air Iframe

    This probably has been answered here before and I apologize if this is a repost but I haven't been able to find an answer that works. I have an AIR application that uses an Iframe to connect to a server side page. within that page I need to be able t

  • Data Transfer to NEW computer--how to??

    Hello all!! Received just today a new Powerbook and was about to start the transfer of data and other "stuff" from my old computer (800 MHz flat-panel iMac) to the new computer. With regard to APPLICATIONS, as I have been told before, I will be insta