Turn off 'pretty print' output from XLST processor

How do I turn-off the "pretty-print" type output that the XSLT processor seems to generate? The XSLT processor seems intent on generating very pretty xml markup, all nicely indented. The problem is that if the markup is XHTML and you are feeding it to browsers they render things quite differently based on the white space between tags...annoying, but true. I have struggled with every swicth I could find on the parsers/processor or embedded in tags in the XSLT files....but nothing seems to work. All I want to do is have the markup I have created in the XSLT template be output 'as is' with the exception of any <xsl:> tag data substitution. How do I do this so things render correctly in my browser i.e maintain the white space and formatting I used in creating the XHTML tags?

The only way that <xsl:output indent="no"> can behave as you are seeing is:
(1) You're using a release before 2.0.2.6
(2) Your program calls the processXSL()
that returns a DocumentFragment instead
of the one that writes to a PrintWriter
(3) You are using our .\sample\XSLSample
program which calls the processXSL
to get a DocumentFragment (not the
one that writes to the PrintWriter)
Are you saying that our command-line oraxsl
for version 2.0.2.6 on your stylesheet
which includes <xsl:output> in the correct location in the stylesheet (outside of
any template but inside the "top-level"
<xsl:stylesheet> element) is not
working properly? If so, will need
a simple testcase.
null

Similar Messages

  • HT1338 when I try to print, I get this error message "Communications Failure: The computer is no longer able to communicate with your printer. " followed by intruictions to turn off the printer and check connections etc. I am using an HP Officejet 6500 70

    when I try to print, I get this error message "Communications Failure: The computer is no longer able to communicate with your printer. " followed by intruictions to turn off the printer and check connections etc. I am using an HP Officejet 6500 709e, connecter wirelessly

    I'm using a mac (OS X - snow leopord) and am printing over the network (wirelessly).
    HP Photosmart Premium Fax All in One - C410a
    I was only able to print one page and then both my printer and my computer would display an error message about the printer's inability to print.  Since then I've been able to resolve my specific problem.
    I
    1. uninstalled HP from my computer (checked to ensure that my printer was no longer visible in my printers and the HP Utility software was nowhere to be found), 
    2. grabbed the software/driver update from Aug, 2010,
    3. installed the Aug, 2010 update, and my problems seem to have been fixed.
    This is where I got my 2010 update from (obviously you should get the driver/software applicable to your OS and specific printer):
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=mp-85379-1&cc=us&dlc=en&lc=en&...

  • So, CAN I turn off the printer's color management? Pixma Pro-100.

    So, I am trying to turn off the color management function for the Pro-100...
    On my Windows desktop, I use Photoshop to print with Canson Rag 210, color profile installed, allow photoshop to manage colors and print a beautiful, perfect print with the Mark 9000. Now, I have the Pixma Pro-100 and using the exact same settings, I print wirelessly with my laptop, and I get these dark, red/orange hued prints that are atrocious.
    I should mention the same exact photograph printed between setups ALWAYS prints better with the Mark 9000 and my desktop. However, when using my laptop and the Mark 9000... Crap. Laptop and Pixma Pro-100... Crap. What is my MAC doing that my desktop is not?! How can identical settings print such drastic results? Photoshop does warn me (newer version on my MAC vs. Windows) to turn off the printer's color management in the printer's settings, but I do not see that option. Maybe I'm missing it? How do I do that? I'm thinking it may help!

    Have you tried printing from the MacBook using Canon Print Studio Pro or letting printer manage colors? I know this doesn't specifically answer your question, but PSP is designed to handle the PS/printer interface.
    Download PSP 1.3.5 from the Canon support site.
    http://www.usa.canon.com/cusa/support/consumer/printers_multifunction/pixma_pro_series/pixma_pro_100...
    John Hoffman
    Conway, NH
    1D Mark IV, Rebel T5i, Pixma PRO-100, MX472

  • Turning off Bitmap Printing

    Under my print settings in Ilustrator, I cannot uncheck the box that  says 'Print as Bitmap' and it is causing my type and vectors to look  extremely pixelated.  How can I turn off this 'Print as Bitmap' option?

    Wish,
    It may be a printer driver issue; you may consider updating it, or changing the (default) printer. What happens if you save/print to PDF and take it from there?

  • I've just bought an iPhone 5S in the UK, seems like a big mistake. I have turned off sync to icloud from the phone for both my contacts and calendar, as told on itunes. However, iTunes still says they are synced from iCloud and wont sync to PC, Fix ?

    I've just bought an iPhone 5S in the UK, seems like a big mistake, but luckily by law we can return goods, which is exactly what is going to happen if I cant get this to work. This is my business phone, not having it functional can cost me money.
    I have turned off sync to icloud from the phone for both my contacts and calendar, as told on itunes. However, iTunes still says they are synced from iCloud and wont sync to my PC, why and how do I fix it so that it doesnt go to iCloud for anything ?
    The phone currently has no contacts or calendar information installed.
    PC is HP Probook 4730s running Windows 7, Professional, version 6.1.7601 Service Pack 1 Build 7601.

    I'm happy you figured it out and just try to keep in mind that not everyone you talk to at support will give the same advice or have the same knowledge. Just like those who contribute to these forums. Sometimes Google is your best friend.
    I agree that Apple could probably make it easier, but as of yet prefer security over freedom. (sound famaliar?)
    Anyway, if you choose to do so, you can leave feedback here:
    Apple.com Feedback
    Apple Support Feedback
    Developer Feedback
    Product Feedback
    QuickTime Feedback
    Search Feedback

  • How do I turn off the Camera access from the lock screen

    how do I turn off the Camera access from the lock screen ?

    Only by hiding the camera via Restrictions. Settings>General>Restrictions. That hides the camera when unlocked unless you go to Restrictions  and unset that Restriction. That is not way currently from just preventing camera access only from the lock screen

  • How can I turn off app auto start from last status? At OS X 10.8.3

    How can I turn off app auto start from last status? At OS X 10.8.3

    system preferences >general > close windows when quitting an application

  • How can i turn off automatic printing on my ipad mini

    how can i turn off automatic printing on my ipad mini. every day My printer prints out a weekly calendar at the same time. How can I stop or disable this. Thanks

    The complete backup and restore procedure is explained in the link above.
    If you don't want to do a restore, then your iPad may remain in the unstable state you have for the moment.
    You can change the country in the App Store. Have a look at the bottom of the App Store screen, you can change the country and also do the permanent change via Manage > Account.
    You can change the language in iTunes via General Preferences > under General tab.

  • How do I turn off the printer colour management in printer drivers on my photosmart C7280

    photosmart C7280
    How do I turn off the printer colour management in printer drivers 

    HI whcotton,
    You can click here to go to a post for help with disabling the printer color management for your printer. This person was having the same issue as you and the accepted solution worked for them. Hope you find this helpful.
    If I helped you at all it would be great if you clicked the blue kudos star!
    If I solved your post please mark it as solved to help others.
    I'm a printer tech with HP.

  • Turn off Spool Printing for MRP Batch Job run

    Hi Experts,
    Please tell on how to turn off the printing of a Batch Job which is an MRP Batch Run. Can this be done while creating the Job? We really don't need the prinout for this job. Thanks.
    Points will be awarded.
    Regards,
    LM

    Yes, this can be done while scheduling a job. When creating a job step (transaction SM36) there is a button "Printer specifications". Select any printer there and option "Send to SAP spool". Spool request will be created but it won't be printed out.
    If you are using RMMRP000 program, you also might want to uncheck "Display material list" checkbox on the selection screen. If using other program, see if there is an option to disable the log.

  • Can you child lock your iphone or ipad so they can't turn off a movie playing from itunes?

    can you child lock your iphone or ipad so they can't turn off a movie playing from itunes?

    No. The only option is to actually prevent the child from being able to physically touch the device i.e. lock the child, not the device.

  • TS4006 How do I turn off Find My Iphone from my PC

    I downloaded the new IOS& software into my Iphone 5 and I was trying to set the switch controls to make it easier to retrieve Apple Radio. Anyhow, I have locked myself out of my phone because the switch controls will not allow any button to work on the Iphone screen. I want to reset Iphone to an earlier time but I cannot because I can't turn off Find My Iphone from my Iphone settings. Is their anyway to do this from my computer so I can reset my iphone?

    My problems is that the Settings App keeps crashing, so I cannot go into Settings to turn off Find My Phone.
    I need to Restore my phone to,hopefully, get Settings to work again.  But I can't do a Restore until I turn off Find My Phone, which I can't do because Settings keeps crashing. 
    Talk about a vicious circle.  
    I went into iCloud/Find My Phone on my laptop and removed my phone.  I then went to iTunes to try a Restore but it STILL says I have to turn off Find My Phone.  I have done that three times now.
    Should I also take the step "Erase My Phone?"  I have a great  fear of doing that because what happens if I erase the phone and it STILL won't restore?  Then I'll be totally screwed.
    This all started because I updated to 7.1 yesterday. 
    Thanks, Apple!

  • HT4847 Can I temporarily turn off iCloud backups. From time to time I'm limited to dialup internet service. iCloud's taking over the connection, preventing simple eMail exchanges.

    Can I temporarily turn off iCloud backups. From time to time I'm limited to dialup internet service. iCloud's taking over the connection, preventing simple eMail exchanges.

    When you switch to iTunes backups, the device will start to make any further backups to iTunes on your computer. It will only do this when it is connected to iTunes and a power source. (If it is set to sync/backup wirelessly, it will only do so when it is connected to a Wi-Fi network)
    When you switch back to iCloud backups, it will basically resume where it left off and start to back up once again to iCloud. There is no moving of backup files between iTunes and the cloud when you switch between backup options.

  • Turn off apple remote control from my macbook pro

    How can I turn off my remote control from remoting both apple tv and myc macbook pro at same time. I just want to remote my apple tv.

    Welcome to the Apple Support Communities
    If you want, you can disable the IR port in order to be able to stop control your computer with the Apple Remote. To do it, open System Preferences > Security & Privacy > General > Advanced, and mark "Disable remote control infrared receiver"

  • When I turn off the printer my computer locks up. HP Desktop.Photosmart D7360, Windows 7

    When I turn off my printer the computer locks up.  HP Desktop computer.  Windows 7.  Photosmart D7360.
    I have reinstalled the drivers.
    This question was solved.
    View Solution.

    Have you tried a different usb cable? It could be that the usb cable is grounding out which could be a short in the usb cable, or the port on the printer. Although it is also possible that it is the USB controller on your computer's motherboard so if trying a different cable doesn't fix it try it with another computer if at all possible. If the other computer doesn't have any problems then it is the HP desktop. At that point you're out of my realm of expertise friend . (In other words if this doesn't work, try your luck on the desktop forums or by calling 1-800-474-6836)
    Hope this helps!
    If I have solved your issue, please feel free to provide kudos and make sure you mark this thread as solution provided!
    Although I work for HP, my posts and replies are my own opinion and not those of HP.

Maybe you are looking for

  • Job cancelled While loading data from DSO to CUBE using DTP

    Hi All,   while i am loading data frm DSO to CUBE the job load is getting cancelled. in the job overview i got the following messages     SYST: Date 00/01/0000 not expected.    Job cancelled after system exception ERROR_MESSAGE wt can be the reason f

  • How do I open a pdf stored in a Microsoft Access database using Visual Basic studios 2012

    Currently I am unable to find a valid method of being able to open a pdf stored in a Microsoft Access database using Visual Basic studios 2012. I've tried displaying the entire database on a form, but when I do this all the other columns show up with

  • Exporting text from text entry box

    Hi Everyone, I am building a responsive project in CP8 and want to be able to extract (and store) the text that people type in the text entry boxes. Is there a way that you can export or store the content. Perhaps the LMS can store the information an

  • Photos grey out in i cloud

    I can't click on photo option in i cloud so that i can use photo streaming. I have tried all suggestions to date with no success.

  • Displaying Premiere Elements 3 projects on a TV connected to my PC

    I use Adobe Premiere Pro 1.5 and a Matrox Card and can display my edit for review on a TV monitor. I also use Premiere Elements 3 and cannot get the edit to display on my monitor. Is there a way to resolve this please?