Export to HTML format with text "preformatted"?

Hello

I have a column varchar2 with contains carriage returns.  I want to run my query in SQL Developer and 'export' the results in HTML format.  But when I do, the data in the column lost things like several spaces and returns the cart.  That's why I want to mainly export the column with the < PRE >... < / PRE > html tags.  Any way to do this from SQL Developer?

Example of table in sqlplus:

SQL> create table my_demo (MY_TEXT varchar2(255));

Table created.

SQL> insert into my_demo values ('Hello'||CHR(10)||'   World');

1 row created.

SQL> select * from my_demo;

MY_TEXT
-----------------------------------------------------------------
Hello
   World


SQL> 

So what I want is the MY_TEXT column in the HTML export file to show the world "Hello" above indented it word 'World', just like we see in SQLPlus (my actual query is obviously much more complex).  If I try to select the column with string literals '< PRE >' and ' < / PRE > ' around the column MY_TEXT it does not work and indicates those string and not as HTML tags.

In SQL, we can use "COLUMN".... ENTMAP OFF"- but who does not work in SQL Developer.  Similarly, I don't see how the / * fixed * / index of the SQL Developer will help me.

Suggestions?  An option may be missing me?

Thank you.

I suppose the best solution that I could do was modify the query for:

Select '

'||my_text||'
"from my_demo;

Then export it to HTML format.  Then open it with my favorite text editor and make the following replacements:

< PRE >--->

</PRE>    --->   

Save my raw HTML code after manually making the substitution with the text editor and now I have the registered page displays properly as I want it.

While work work - around, I was just hoping that there was a better solution that does not need me manually change the HTML in a text editor.

Tags: Database

Similar Questions

  • Why Muse does not change the names of certain images or property when exporting to HTML format?

    Why Muse does not change the names of certain images or property when exporting to HTML format? and how can I keep the integrity of the name that the image/file has been saved as?

    General Muse renames a file imported image if the image is modified to achieve the design or the exit, or if the name change was necessary due to a name conflict (two different images which had the same file name when importing).

    The design-time features that will modify an image include cropping, rotation, rounded corners and effects (drop shadow, bevel or glow). It is also true that, in rare cases, Muse will merge an image with other content to optimize page download performance. An example of this would be to place a background image on a block of text that contains the text using system fonts. In this case, rather than a single image for text output and a separate image for the background, Muse will combine the two into a single image.

    If an image is placed or imported by Muse and not tampered with, the image is crossed without modification (including the file name) at export/publish (with him except that Muse will always rename if two different images with the same name).

  • How to export a PDF file with text, which will be not selectable?

    Hello Adobe lovers,

    I want to export a file of 12 pages of text (and several of the images too) in PDF format.

    With a standard configuration, I have received a file with selectable text (103 KB: it's good for me!).

    When I vectorizes the text, my PDF weighs 12 months (too much for me!), but the text is corrected.

    Been to a setting that can solve my problem?

    Thanks much < 3

    Tell them that not to open the file in Illustrator - this isn't a PDF Editor.

    Request that all changes made through you.

    Or find another supplier in China... There must be more than one.

    Anyway - there is no real way to reduce the size of the file after you have created the contours - as it is fundamentally changing the vector shapes of all glyphs.

    http://InDesignSecrets.com/converting-text-to-outlines-the-right-way.php

    Many comments here too... Please read carefully - and questions ask away.

  • Flexible browser width does not work when exported to HTML format and transferred. Muse CC 2014

    Hello

    This used to work, and then he stopped. Not sure when it stopped working, so I can't cancel everything I could have messed with.

    In the preview in the browser page, the bottom of the page is flexible and works very well.

    But when I export HTML and upload, it does not work.

    Help, please.

    I saw the site in several browsers and no luck.

    The site is below.

    Why Coyle

    Thank you

    Gene

    Hello Gene,

    I checked the page code for the page that does not work. It seems that you have inserted your CSS custom page, screen shot - http://prntscr.com/45vndu, which is in conflict with the Muse generated CSS. Delete this and let me know how it goes.

    - Abhishek Maurya

  • How to create forms in pdf format with text for example which can be rewritten

    I'm using a mac (version 10.10.2), using acrobat pro. Originally created the document in InDesign, then create form fields in acrobat pro.

    Sorry for the somewhat confusing title. Basically I have a pdf I want to be able to change.

    I've set up the PDF with form fields that works perfectly - however, I would like to have a sample text in the areas that can be "crushed" by a new text.

    Example of

    If the field were asked for the date, it would be in gray italics an example of date, (ie. 01.01.2016)

    Then when you clicked on the ground this example text would disappear and then when you typed in the new data, it would appear in normal black text.

    I can't understand how to do this on a form which is not online, as this form will be sent from one person to another and not hosted on a site.

    Help would be apprectated!

    Yes, the default value is under Options.

    Two scripts have to go under Actions, Yes. You select the trigger first (on the focus and then on Blur) and the type of action is "Run a JavaScript" then when you add it to the list of Actions, a window will open. Paste in the code and press OK. That's all...

  • Export to HTML format. It needs a lot of hours. OK there are many subsets. But is this normal?

    OK there are many subsets. But is this normal?

    Export performance is often directly related to the specific content of a given .muse file. Therefore, it would be more productive if we work directly with your .muse file. Please send us the .muse file at [email protected] as well as a link to this topic for the context. Given the size of the file you will need to use a service such as Adobe SendNow, Dropbox, WeTransfer, etc. (if you use a service, please include your return e-mail address in the body of the message, given that not all services to include it in the invite sharing they send.) It is unlikely that we will need all the other files, so just send the .muse file. Thank you.

  • When you export to HTML format, the tablet version is published in the office and the version of the tablet.

    I have desktop, Tablet and built phone but when I publish to HTML index and index of Tablet pages are as well the tablet to the export version. When I saw in the Muse, the office is clearly the desktop version and the tablet is the version of the tablet. But when I export the tablet replaces the desktop version, in both places. I tried the publication to Business Catalyst and it the Tablet displays by default, but the index redirects to the Tablet, and /desktop/index.html throws a 404 error.

    Don't seem to be able to get one desktop version, other than when previewing in Muse itself.

    Any ideas appreciated!

    Thank you!

    Are you still facing the same issue? If Yes, then please check properties of the index of page in a tablet or if there is a redirection script or links in the content of home page of Tablet if all goes well, then you would probably send us the inquiry file.

    Thank you

    Sanjit

  • Export to PDF format with scale

    Hello

    I just finished a book in InDesign to a specific page size

    Now, we have decided that we want the book to be 7% more (a proportional scale)

    Is there a way to export to PDF from InDesign to a specific scale ratio?

    I ask this question here because I don't see an option buit - in the export dialog box

    I was wondering that maybe this can be done by script.

    If someone can point me in the right direction, I would be happy

    Thank you

    David

    Hello

    Scaling of native doc can lead you into unexpected force.

    If your goal is to have only bigger than INDD PDF and if we are talking about 7% ratio - I suggest to export INDD in PDF format, as it is and resize PDF files to the next step. It could be done by script.

    Jarek

  • Export to PDF format with modal dialogsHi, Iam

    Hello

    I am trying to export the Indesign to PDF using Javascript document. When the document has a missing font or a link, a warning is displayed and export command fails saying there is a modal dialog box is open. How to disable all warnings or close all boxes warning dialog before execution of my order of export?

    Thanks for your help.

    app.scriptPreferences.userInteractionLevel = UserInteractionLevels.NEVER_INTERACT;

    This allows to completely and totally hide all windows. Be kind to your users (and yourself!) and turn off just before a command that can be displayed and unwanted dialog boxes; then, just after this command, allowing them once again! Otherwise, you will never see a Javascript error pop up, or, for that matter, any other dialogue ID. It does what it says on the label!

  • Article name name of the class div when exporting to HTML

    Hello

    Is it possible to add the name of the article to the corresponding div when exporting to html format?

    Here are few context:

    -J' have a document indesing containing several items that I would like to export to HTML.

    -Each article contains 1 or more images with the caption, title, and a block of text.

    -Each image and the caption is in a group and are contained in an Article.

    When you export I get this structure:

    Capture.PNG

    What I would look like this:

    Untitled-2.png

    I would like the article content to be contained in a div with a class name of the article name. Any idea?

    Thank you

    Hi ldnoel,

    Article names are not mapped to div class names in InDesign. The object styles are mapped to names of classes in InDesign CC.

    That's how a class name can be specified in the dialog box style options:

    Kind regards

    POOJA

  • An expired subscription affects a muse created site that has been exported as html?

    If it was exported to html format and the files downloaded on an another hosting site, the code somehow check the status of your subscription and disable the view if your subscription has been terminated?

    No, it isn't, but you can run into issues to keep the site updated with new widgets coming out all the time to Muse.

  • Muse on el capitan mac do not export as HTML correctly

    Hello

    So it's a bit of a strange.

    Background info: -.

    in the past, I used muse on windows to design and update my site. that worked perfectly after design I export to HTML format and then transfer it to my FTP server and by far, I will!

    My problem: -.

    then I decided to buy a macbook pro running EL CAPITAN and use that as my workstation for all my design must, Muse included. so, I used the muse, designed my site can export to HTML and upload to my FTP site. the site show up but not my images. I did everything from fixing to make sure it was downloading to the right folder... with no luck, the permissions to the ftp server.

    I then decided to put all my photos file design work... ect on a usb key then put it on my windows pc. Open in muse exported as html uploaded to FTP the she worked

    is their any reason why it does not export correctly when I use my mac from my pc...

    Hi Sunny,

    Can you please provide me the link of the site?

    Also, try to publish your site to Business Catalyst as a test site and see if the problem is always replicated.

    Thank you

    Ankush

  • What is the difference between the two publish to ftp host and export as html in Muse?

    What is the difference between FTP publishing and export as HTML in Muse? When I had some problems with missing assets, I exported as HTML and fixed it, but it didn't update on the layout of the phone or completely on the desk until I published on ftp. Assuming that perhaps export just updates the files on the server? Thank you

    Hi Brian,.

    Site as HTML export will export just your Muse site on your desktop without making any changes to your site online, but when you select Publish to FTP, it publishes the changes you did for your website online.

    Export to HTML format is mainly used when you want to use any external client to load your site on the server.

    Refer to this document to better understand: Adobe Muse Help | Download a Site from Muse Adobe on a third-party hosting service

    Kind regards

    Akshay

  • How the muse of export to html and image/active only without css and jquery files?

    Hi there adobe community.

    I'm here today to see if there is a way to only export a site of muse in html with built-in css in like dreamweaver does. Therer is probably no way to do this. However, I do not want the external .css files and I want them all in the html file, files .js is there a way to do it. I want to know is because my client doesn't want any external files and only an image and html documents. I told him that it would be not possible and I would like to know if it is. If you could help me that would be great.

    Thanks for your time.

    Hi Rose,

    When Muse export to HTML format, it exports all separately as HTML files. CSS files in a different folder and files .js in a different folder. There is no way in Muse you can export in any other way.

    This is because a lot of the Css properties are used throughout the site and not only on a particular page, and if these properties are shared.

    In addition, it is a much more efficient way to design a website rather than keeping everything in a single file.

    Kind regards

    Rohit Nair

  • Video integrated Youtube is missing after export to HTML

    I'm having a problem with the onboard video, I put in my site.  It appears so fine and everything works in preview, but after export to html format to download the embedded video is no longer there.  I don't have this problem with earlier versions of muse and I think it's a bug. Does anyone else have this problem? Can it be fixed?

    Hello

    Take a look at this thread where this has been answered: http://forums.adobe.com/message/5770863

    I hope this helps.

    See you soon

    Parikshit

Maybe you are looking for