Problem when printing " " using XSL

I have a problem when printing the "<" .It is always printed as
"&#60;" in the HTML file.
I wish to transfer a Javascript text . I tried
using CDATA . This is an extract of a portion in my XSL File
which uses CDATA.
<![CDATA[
function createLOV(lov_name, array_touse) {
document.writeln("<select name='" + lov_name + "'>");
for (var i=0; i < array_touse.length; i++) {
document.writeln("<option value='" + array_touse[i] + "'>" +
array_touse[i] + "</option>");
}]]>
And this is what the HTML file contains
function createLOV(lov_name, array_touse) {
document.writeln("&#60;select name='" + lov_name + "'>");
for (var i=0; i &#60; array_touse.length; i++) {
document.writeln("&#60;option value='" + array_touse[i] + "'>" +
array_touse[i] + "&#60;/option>"); }
document.writeln("&#60;/select>");}
I tried using the <xsl:text disable-output-escaping="yes"> but in
vain.
If i use < or &x3C; , i still get &#60; in the HTML file.
How do I solve this problem. I'm using XSQL Servlet with JSDK2.1
both running on Sun Solaris2.6 .
Thanks in advance,
Suresh
null

Suresh Seetharam (guest) wrote:
: I have a problem when printing the "<" .It is always printed
as
: "&#60;" in the HTML file.
: I wish to transfer a Javascript text . I tried
: using CDATA . This is an extract of a portion in my XSL File
: which uses CDATA.
: <![CDATA[
: function createLOV(lov_name, array_touse) {
: document.writeln("<select name='" + lov_name + "'>");
: for (var i=0; i < array_touse.length; i++) {
: document.writeln("<option value='" + array_touse[i] + "'>" +
: array_touse[i] + "</option>");
: }]]>
: And this is what the HTML file contains
: function createLOV(lov_name, array_touse) {
: document.writeln("&#60;select name='" + lov_name + "'>");
: for (var i=0; i &#60; array_touse.length; i++) {
: document.writeln("&#60;option value='" + array_touse[i] + "'>"
+
: array_touse[i] + "&#60;/option>"); }
: document.writeln("&#60;/select>");}
: I tried using the <xsl:text disable-output-escaping="yes"> but
in
: vain.
: If i use < or &x3C; , i still get &#60; in the HTML file.
: How do I solve this problem. I'm using XSQL Servlet with
JSDK2.1
: both running on Sun Solaris2.6 .
: Thanks in advance,
: Suresh
Currently, the parser does not support the xsl:output and
output-escaping mechanisms. We plan on adding support for this
in a future release.
Oracle XML Team
http://technet.oracle.com
Oracle Technology Network
null

Similar Messages

  • Problem with special characters (&) when printing using XSL-FO ...

    Hello everybody !!
    I have a problem when I want to print a Report with a link to a URL where the character "&" is present :
    I want to have something like : src="file:///...webfile?param1=val1*+_&_+*param2=val2"
    In my XSL-FO file, I wrote : src="file:///...webfile?param1=<xsl:value-of select="IDARTICLE"/>*+_<xsl:text>&amp;</xsl:text>_+*param2=<xsl:value-of select="MARQUE"/>"
    When I try this only with FOP, it works. However, when I upload the XSL-FO file to ApEx, it says my PDF file is corrupted when I want to open it.
    What do I have to put the '&' symbol when I want to print the Report ??
    Could anyone help me ??
    Thanks by advance,
    Pierre C.

    I believe this relates to something I have actually found in my own testing.
    It is probably due to the Template not being URLEncoded prior to transmission to the FOP processor.
    I actually determined that special URL characters, like '+' and '&', are lost on transmission because the type of submission is POST with x-www-form-urlencoded, but the fields are not actually encoded entirely. The XML Element contents are encoded prior to transmission in order to preserve data.
    Work around would be to URLEncode the template as it sits in the WWV_FLOW_REPORT_LAYOUTS. I have been able to successfully get around the problem by doing that.
    -Richard
    The post I describe the problem: Reports Layout->storing custom report layouts that aren't FOP/RTF
    The post under the enhancement request thread: Re: Enhancement Request Thread : Post 3.1

  • Printing problems, black mark appears on document when printing using auto portrait/landscape

    As the title says, pdf is fine on screen but when printing using auto portrait/landscape a black mark appears on the screen as in the photos below
    when the orientation is selected the line disapears and the print works correctly
    Anyone have any idea why this would happen?
    Thanks
    Ben

    Hello Pelle,
    Thanks for the feedback. Our printing code in Adobe Reader Touch doesn't have that capability right now, but since you mention it we should probably do what you're requesting by default. I'll put that into our backlog for a future update, but I can't say yet when it will be available.
    In the interim, if you have pages that are different orientations, you can print them in blocks manually to get what you want, but I understand that's a hassle.
    Dennis

  • Problems when printing help topics from OHJ

    We have encountered some persistent problems when printing help topics from Oracle Help for Java (Ice Browser).
    NOTE: When we print the same source files from Oracle Help for the Web, the printing problems are gone.
    (1) Spacing Errors (all printers had identical results)
    Text with special formatting (<b>, <i>) often has either too much space or not enough space.
    Links often have extra spaces underlined before or after the link, itself.
    (2) When printing multiple help topics from the TOC (an entire branch in the tree):
    On some printers, no graphics print correctly, but instead print as one of the following: 1. empty box the size of one character, 2. black box the size of one character, 3. black box the size of the original graphic. We could not detect a pattern that caused 1, 2, or 3.
    NOTE: all graphics are bit maps (screen captures) that were generated in the same manner.
    NOTE: if these same help topics are printed one at a time form Oracle Help for Java, the graphics print fine.
    Is this a problem with the Ice Browser?
    Thanks for the help,
    Wendy Studinski

    There are a known issue with the ICEBrowser printing in some circumstances. The laying out of text by the ICE Browser relies on font metrics (being able to measure the width of a run of text in a given font). On screen it looks great, but when printing, even though the GraphicsConfiguration for the printer is being used, these widths are sometimes off, which can result in text running together at boundaries between text styles. We're not sure what to do about this problem, and we've reported it to IceSoft.
    Not every font has this problem, so varying the font you are using might help the appearance when printed.
    The other problem you report, problems with the images when printing multiple topics, is something that we will look into.

  • Problem when printing from the browser

    The report is displayed in the browser properly. We are using rwcgi to view the reports in the browser. But when printed using the print option of the browser, the page setup is taken from the browser's page setup. How do we set the browser's page setup from the reports? Also the fonts are changed to the browser's font. How do we force the browser to take the same font as defined in the reports?
    null

    Oh my how embarrassing! The only place I neglected to check was in Firefox itself and under File-> Page Setup it was set to 50%. Reset it to 100% and problem solved!

  • Problem when printing booklets prints pages 1,2 and 11 as if I wants to print all

    I am using XP and 2000 MS word
    I am having a problem when printing booklets from time to time. I get it ready to print in booklet form with 12 pages and my printer gives me the options. “Print all”  “current page”  “selection” or “pages”  Because it is booklet I want to print the first 4 pages to be folded and glued as a small book. When I inter 1-4 as the example shows some times it prints OK but about a week later it prints pages 1,2 and 11 as if it wants to print all. I thought it was the printer but think it could be in some setting of the word program or my computer it self.

    Also does this (i.e. prints web pages over several pages despite changing settings) on my laptop at work with an HP printer. This started when I upgraded to Firefox 9.0.1.

  • Color management problem when printing

    (sorry for the double post, since the problem affect both illustrator and photoshop and in fact also indesign) in decided to repost it here in the photoshop forum. thank you for any help!)
    hi ! im in charge of a big print lab in a university. All macpro quad running on 10.6.4, CS5 all updated.
    i  have a major problem when printing from all 3 CS5 apps : Illustrator  (being the worst), photoshop and indesign : each one produces a  different print even if i use the SAME color management options (the  application manage color using my own color profile file created with a  i-one tool from greta macbeath and using eye-one match 3). im printing  on a XEROX 7750gx laser printer. very cool printer never had trouble  with colors before with it, in any case it was always the software part  that was causing color problems (like i suspect in this case).
    how  can 3 softwares under the same application collection and brand, using  the same color profile and options (IDENTICAL ! it's triple check all  the options!) can produce 3 different prints when printing the same  image (it's a color psd created under photoshop CS5) ?!
    i  remember having some trouble like this when we first got CS1 in our lab,  but not this bad... i've checked everything... i realy don't know how  to fix this problem...
    the best setting so far is in  Photoshop when the application manage the color and using my color  profile file in perceptual mode. best output so far, not the best i had  in the past, CS4 was way more perfect with color management.
    i  realy need to find a solition 'cause the students expect the color to  be almost perfect (and they almost were using CS4 in the past...
    thanx for any tips & help !
    +

    many thanx for your reply & help.
    i've just recalibrated everything in my workflow : my screen (perfect!), my xerox 7750 color laser printer. i've recreated a new color profile file for the xerox color. and the same thing is happening : a kind of pink color all over my prints and every adobe's applications is printing different results. in photoshop i can manage the problem when forcing to print in perceptual mode. not perfect but it's fine. and with the other software specialy like ACROBAT and INDESIGN there's no option like this so it prints very badly. only option is to print in adobe 1998 rgb or SWOP cmyk (depending of the color space of the image of course)... the image is use for my test is RGB. images in CMYK are doing the same exact thing.
    by the way for calibration is use an x-rite (greta macbeth) eye-one tool with eye-one match 3.6.3. i calibrate the screens and create color profile with this tool since ADOBE CS1 and never had this much trouble with colors...
    here's a capture from photostop CS5 print dialog. when using the option "match print colors" you can see the image with all the PINK NOISE when using the print in RELATIVE colormetric mode (at the bottom right). using perceptual is "fine" (not color perfect but OK).
    http://i53.tinypic.com/qzge12.jpg
    it's worst in Acrobat and Indesign since i can't use perceptual colormetric print mode...
    im realy starting to think that i better uninstal CS5 and go back to CS4...
    thanx for your help !

  • I am unable to view google ads running alongside and under videos on YouTube. This is only a problem when I use Firefox. If I use another browser, I can see the ads. I do not have adlock as it does not appear in my plug-ins/add ons. Please help..

    I have been using Firefox for about two years. For about a month now I have been unable to view any Google advertisements that run on YouTube pages alongside and under videos. This is important for my business. I would like to stay with Firefox, but this is only a problem when I use Firefox and is not a problem with Internet Explorer or Google Chrome as I checked. I tried uninstalling Firefox and all plugs ins and add ons and then reinstalling it. This did not work. Firefox seems to be blocking the Google codes that enable the ads to run on the pages. I look forward to your help. Thank you.

    CS2 is very old and reached its "end of life" a while back.  So probably won't run on modern operating systems.  If you can still run it, you'll need to uninstall what you have and re-install with the download link below to activate it.
    Error: Activation Server Unavailable | CS2, Acrobat 7, Audition 3
    Nancy O.

  • "Problem When Printing" error on Mac Mini

    Hi all,
    I just recently updated my Mac Mini from 10.3 to 10.4. Instead of Archive and Install I formatted and did a clean install.
    I have my printer set up, however whenever I try and print anything from any application I get a very unhelpful "Problem when printing" error, and nothing prints.
    I also get the same error when trying to save to PDF.
    My printer is a HP Deskjet 3750, and the driver is the one included with 10.4 (as per HP's instruction), but I don't think it's a driver problem as Save to PDF gives me the same error.
    I've already tried repairing permissions. Anyone know what could be causing this. Any help is greatly appreciated.
    Thanks.

    Bugger. PSR is often a winner
    You could try installing Gutenprint 5.0.1 available from Sourceforge (it's about 15MB). It's an updated version of the included GIMP-Print drivers and may repair/replace/install some of the core files. Otherwise you may have to contact Apple and see if you can get 10.4.9 mailed to you.

  • Performance problem when printing - table TSPEVJOB big size

    Hi,
    in a SAP ERP system there is performance problem when printing because table TSPEVJOB has many millions of entries.
    This table has reached a considerable size (about 90 Gb); db size is 200 Gb.
    Standard reports have been scheduled correctly and kernel of SAP ERP system is updated.
    I've tried to scheduled report RSPO1041 (instead of RSPO0041) to reduce entries but it is not possible run it during normal operations because it locks the printing system.
    Do you know why this table has increased ?
    Are there any reports to clean this table or other methods ?
    Thanks.
    Maurizio Manera

    Dear,
    Please see the Note 706478 - Preventing Basis tables from increasing considerably and
    Note 195157 - Application log: Deletion of logs.
    Note 1566659 - Table TSPEVJOB is filled excessively
    Note 1293472 - Spool work process hangs on semaphore 43
    Note 1362343 - Deadlocks in table TSP02 and TSPEVJOB
    Note 996455 - Deadlocks on TSP02 or TSPEVJOB when you delete
    For more information see the below link as,
    http://www.sqlservercurry.com/2008/04/how-to-delete-records-from-large-table.html
    http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=91179
    http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=83525
    If any doubts Let me know.
    Thomas
    Edited by: thomas_raja on Aug 7, 2011 12:29 PM

  • Hi! Has anybody succeeded in using Presonus Audio box 22 vsl with Os Mountain Lion? They doesn´t seem to connect. No problems when i used with Snow Leopard. I upgraded: Now is Kreonika not happy. Not happy at all!

    Hi! Has anybody succeeded in using Presonus Audio box 22 vsl with Os Mountain Lion? They doesn´t seem to connect.
    No problems when i used with Snow Leopard. I upgraded: Now Kreonika is not happy. Not happy at all!

    In cases like this, if you have an Apple store near by, they will most likely install the OS free of charge for you, if you can't bring your Apple ID along to prove you've paid for it.
    Would that work out for you?

  • 1. The procedure called by CUSTOM.pll causes the problem when we use f60gen

    When CUSTOM.pll contains a call to a package that in turn calls a remote package, the CUSTOM.pll compile hangs forever.
    1. The procedure called by CUSTOM.pll causes the problem when we use f60gen. Though same procedure compiles successfully using "alter procedure compile" command.
    2. We have observed the problem happens due to synonym present on the remote database(db link).
    It doesn’t work if you are calling SYNONYM on remote database. It works, for calls to tables or procedures or packages in remote database if that object is OWNED DIRECTLY by the account to which dblink is connecting to.
    select object_name, object_type from user_objects@NH_SCM_ICE.DB.ATT.COM ;
    OBJECT_NAME OBJECT_TYPE
    FA_LOCATIONS SYNONYM
    FND_FLEX_VALUES SYNONYM

    The database link is created under the APPS user in the local database but connects to a different user (SWCS_ICE_SUPCHAIN) in the remote database.
    The user in the remote database does not own any objects. It only has synonyms to objects owned by apps and others.
    Incidentally, the hang also happens when trying to describe the remote package from the application tier (8.0.6.3 sqlplus) but the describe works fine from the DB tier (10gR2 sqlplus).

  • Problem when printing in Polish

    Hi
    developers have a problem when printing a Polish form, special charactors like ł, ś, ć etc are all printed as '#'.
    TY
    regards
    Hicham
    Edited by: Juan Reyes on Sep 10, 2009 12:22 PM

    Let me correct your thread...
    problem when printing a Polish
    You cannot print "a polish", you have problems printing "in polish".  :-D
    Regards
    Juan

  • I have a problem when I use the headphone. Music starts immediately and Siri starts as well

    I have a problem when I use the headphone. Music starts immediately and Siri starts as well

    I am having this issue also. It started after I downloaded You Tube apps.

  • I use LabVIEW 7.1 but I have some problem when, I use LabVEW to read the data from serial communication

    I use LabVIEW 7.1 but I have some problem when, I use LabVEW to read the data from serial communication.
    I use LabVIEW to read the data from serial communication then, i open the example (.vi) from Serial Communication - Advanced Serial Write and Read  from LabVIEW Example. BUT it have some error message that : Error - 1073807202 occured  at property node in visa configure serial port (instr).vi -> advance serial write and read .vi
    this error code is undefined. no one has provide a description for this code, or you might have wired a number that is not an error code to the error code input.
    I don't know why? please help me. thank you.

    When I copy that code into "Explain Error" I get: "VISA:  (Hex 0xBFFF009E) A code library required by VISA could not be located or loaded."
    You may have a bad install of VISA or the wrong version of VISA loaded. Try re-installing VISA. You can get the latest version from the NI support site: http://digital.ni.com/softlib.nsf/webcategories/85256410006C055586256BBB002C0E91?opendocument&node=1....
    Also ensure that you are not pointing the example towards a serial port that does not exist.
    Please let us know what you find and what gets this working for you.
         Rob

Maybe you are looking for

  • IMac no longer sees mouse or keyboard

    Re; pre airplay iMac/Mavericks. Firstly, computer wouldn't wake from sleep when I tapped the mouse. Thought there had been a power interruption, so I touched the power button on the back. Computer awoke, but displayed a message that Bluetooth keyboar

  • Computer will not boot up. Not even in safe mode.

    As of yesterday my Mac book pro will not start up. It will not go past the gray screen with the apple and spinning timer indicator. When I try and start up holding shift to enter safe mode it will not start up either. I have tried turning It on and o

  • Doubt in "Select between" statement

    Hi All, I need to select all the userid's between 'A' to 'Z' ( or 'A* to B' ) ; where 'A' , 'Z*' would be input on the selection screen. when I tried : select bname from user_addr into <<internal table>> where bname between 'A' and 'Z'. It gave me al

  • TV Schedule Day export to XML

    Dear All, I a newby to XML and I have some questions, please (Oracle 10.2.0.1.0 on Windows 2003 32bit) : 1. I need to export an XML of the follow format having CRLF at the end of each record, but somehow I get only CR - where am I wrong? Here is a pa

  • Replace a period with larger font instead of having to change every single one on my own

    I am trying to replace a size 12 period to a larger size period and I don't want to go in a select them all idividually and was wondering if there was any way that I could look up periods in my document and then replace them with a different size all