Questions tagged [html-generation]

61 questions
0
votes
1 answer

How do I build new html from the parsed tagnodes generated by htmlparser in java?

I want to write a java code which converts .html to pdf.I used adobe's itext api for html to pdf conversion.However this conversion fails when i give bad html file as input.(Html tags are not properly ended)Hence i used Htmlcleaner parser which…
0
votes
5 answers

Generate HTML given a text file organized with carriage returns in PHP

I'd like to be able to take in a file in PHP **example_file.txt** United States Canada ----------------------- Albania Algeria American Samoa Andorra Angola and wrap these individual linebreaks in an HTML element that I pass…
Derek Adair
  • 21,846
  • 31
  • 97
  • 134
0
votes
4 answers

HTML generation in Python

What's the easiest way to quickly create some simple HTML in Python? All I've found so far are complex templating systems or classes for HTML generation with APIs that seem much heavier than what I need. I could just do it myself by sticking strings…
Rob Lourens
  • 15,081
  • 5
  • 76
  • 91
0
votes
0 answers

java html code genarating class

I'm developing a business application using Java. I want to allow my manager to edit and send sample emails to customers, sellers, etc. I have to allow him to create an email in my application. My problem is that I have to generate HTML codes when…
user3003149
0
votes
1 answer

HTML Printing generates empty zero-width columns

I am attempting to find out what is causing certain (MorphX) reports within our AX 2009 environment to print with extra blank zero-width columns. The appearance of these columns seems to occur over time, and do not seem to be tied to any changes…
kingofzeal
  • 1,359
  • 3
  • 12
  • 24
0
votes
1 answer

How do I make this bash script create an html file using the input from the template.vars file?

I need to make this script create and then output to an html file data inside template.vars. The script is a template engine, but right now all it does is take in input from the keyboard, echoing out the name in template.vars when the input is…
cluemein
  • 884
  • 13
  • 27
0
votes
1 answer

iteratively modify object htmlcanvas

I am generating a html report in Java using renderSnake. I am quite new using renderSnake so I still have doubts about some of the basics. My report contains a list of Object which may vary in size. I want everyone of these objects to generate the…
0
votes
1 answer

Generate clickable dot graph for website?

I have a set of markdown files (experiments in a virtual lab notebook) that will be used to generate static webpages, and I'd also like to generate an index to go along with them that shows their relationships as a DAG (directed acyclic graph). So…
jefdaj
  • 2,025
  • 2
  • 21
  • 33
0
votes
2 answers

html generation via javascript: avoiding htmltidy error

I have a web page that generates HTML via JavaScript. When validating using HTML validator 0.9.5.1 in Firefox 22, I get an error: 'document type does not allow element "span" here' I am using this JavaScript:
k3b
  • 14,517
  • 7
  • 53
  • 85
0
votes
1 answer

Generate html files using asciidoc in a rails application

I will try to explain my problem : I have a rails application which, for the moment, shows the files which are present in my public directory (there are only txt files). I would like to transform my txt files into html files using asciidoc command…
0
votes
1 answer

XML to HTML Generator with Style template

What is a best way for generatring html files from xml data using style template ? I know about XSLT and XML but I need to generate html files using style template(XSLT/CSS). For example: XML+ XSLT/CSS + images+ javascript --> Tool --> html…
Ali
  • 151
  • 3
  • 11
0
votes
1 answer

How to return HTML controls generated by a function as a text string containing the HTML markup

I am trying to generate some HTML code from a VB.NET Web Method and return it as text. Here's an example markup:
  • 234: this is an item
  • 456: another item
I have some VB thus: Dim rList As New…
Jamie Hartnoll
  • 7,231
  • 13
  • 58
  • 97
0
votes
2 answers

Generate HTML page using rails without a webserver

is possible to generate an HTML page using Ruby on Rails framework without using a webserver? I want do something like this: html = RailsHTMLGenerator.generate('path/to/rails/root', '/posts/540') puts html The first parameter is the Rails.root, the…
Pioz
  • 6,051
  • 4
  • 48
  • 67
0
votes
1 answer

How can i format aspx-markup as html to show it on webpage

i've been using C. Coller's excellent CopyAsHtml-Visual Studio addin for copying C# code as html to a webpage. Now, i started to wonder if there exists a similar tool for converting the aspx-markup to valid html to show on page? Functionality that…
juarola
  • 689
  • 2
  • 10
  • 20
-1
votes
3 answers

system() and shell_exec() methods

I am working with a WAMP installation (on Windows). Do the methods system() and shell_exec() only work on Linux machine or are they available on Windows, too? I am trying these methods in Windows but nothing is working.
praneeth
  • 535
  • 1
  • 6
  • 17