Questions tagged [xhtml]

1

votes
0

answer
134

Views

How to print two Google Charts in one PNG image?

I'm writting a code which shows two different Google Charts in one XHTML page. I need to put a button that export both graphs to the same PNG file, one above the other as they are shown. To export one single chart is easy and is already done; Google documentation teaches that in here with only minor...
Momergil
1

votes
0

answer
507

Views

Apache-Tika & Java: parsing documents (.docx, .pdf) INCLUDING images, and use images in generated .xhtml file

I need to parse various document formats (eg: .docx, .pdf) and convert their content (including) to an .xhtml file. I'm using Apache Tika 1.17 (as maven dependency) in a Java project I've analyzed several already existing questions about this (one, another), and using a custom EmbeddedDocumentExtrac...
Serban
1

votes
1

answer
62

Views

converting xhtml to xml in r

I want to parse a court document I downloaded in xml format. But the response type is application/xhtml+xml. And I'm getting an error in turning this xhtml document to xml in r so that I can extract information I need. See below. Can anyone help? Thank you. resp_xml > # Check htmltidy package: ht...
Daniel Lee
1

votes
1

answer
226

Views

index.xhtml resource not found in JSF

I have created a blank .xhtml page in the WebContent folder of my JSF 2.2 application. I tried to run the app, but I got 404 - request not found. This is my web.xml: Vijesti index.html index.htm index.jsp default.html default.htm default.jsp Faces Servlet javax.faces.webapp.FacesServlet 1 Faces Serv...
Eutherpy
1

votes
0

answer
170

Views

Apache tika: preserve bullets list and styles and customize output

i'm doing some test with Apache Tika. Goal is to turn complex Word documents (few pages of text, tables, images, bullet list with many level of indentations) into xhtml, preserving as many info/styles as possible. I found this out of the box example on the offical site. It does its job, but with man...
Sgotenks
1

votes
0

answer
64

Views

JSF don't populate Managed Bean

i've got a xhtml that before was a jsp. Before, when it was jsp, the page insert the data inside the bean. Now the page recognize only one field The method of the bean and the annotation @ManagedBean(name = 'utente') @RequestScoped public class UtenteBean implements Serializable { WebServiceAttache...
Daniele Cosentino
1

votes
1

answer
95

Views

Jquery validate required & minlenght does not work with jsf in xhtml [duplicate]

This question already has an answer here: How can I know the id of a JSF component so I can use in Javascript 6 answers I am trying to validate my form with jquery.validate.js here is my link to it in the xhtml file And here is the inputext i am trying to validate: i wan this too be required and h...
EliiTryToLearn
1.2k

votes
11

answer
115.2k

Views

Why don't self-closing script elements work?

What is the reason browsers do not correctly recognize: Only this is recognized: Does this break the concept of XHTML support? Note: This statement is correct at least for all IE (6-8 beta 2).
dimarzionist
1

votes
0

answer
37

Views

Meaning of the value true in myRequest.open(“GET”, url, true)?

Example var myRequest = new XMLHttpRequest(); function loadXMLDoc(url) { myRequest.onreadystatechange = onResponse; myRequest.open('GET', url, true); myRequest.send(); } function onResponse() { if(myRequest.readyState == 4 && myRequest.status == 200) document.getElementById('A').innerHT...
Paul Cloud
1

votes
1

answer
28

Views

How do I make a dynamic URL for a 404 xhtml page?

I have defined a location for the page in the xml 404 /faces/public/error-page-not-found.xhtml but I want the URL to be like below: faces/{variable}/public/error-page-not-found.xhtml where the value of the variable will change according to different situations
Phalguni Vatsa
1

votes
1

answer
29

Views

Change PHP variable using javascript or AJAX on the same page

I know this question has been asked alot of times, but I think in my case, I'm dealing with something different, or better saying, I need something different. I'm using an open source that works as appointments booking but unfortunately, the client can choose the service and not the duration of it....
Jan
1

votes
1

answer
219

Views

XSD error: unsupported protocol in URL

I have a problem with my XML and XSD. I'm trying to use the XHTML tag in my schema but I can't import the XHTML schema. The error that the validator is giving to me is: Fatal error at line 0 column 0, unsupported protocol in URL. The next is a minimal example that replicate my problem. This is file...
Artorias
1

votes
1

answer
32

Views

Page Mapping not working

I'm working on a project and when I login to my login page. It shows the next page but browser stays in the login.xhtml instead of test.xhtml. Here where I think the problem is in the applicationContext.xml: /login.xhtml = anon /test.xhtml = authc /unauthorized.xhtml = anon
K. Keser
1

votes
1

answer
108

Views

Parsing XHTML with Jsoup 1.11

I am trying to parse a XHTML file with Jsoup and its stripping the closing slash on some of my tags. ie: becomes I have tried some of the other answers here: Jsoup: How to convert a String containing HTML to a XHTML document? https://github.com/jhy/jsoup/issues/511 jsoup: differnt result after upda...
Al Grant
1

votes
1

answer
54

Views

How to Validate xHtml1.1 document offline in Python2

I need to set a test method that validates whether the markup provided as a Python string is valid xHtml1.1. As this will run on an internal CI, it has to be able to process without sending the content to any external service (I would not like to use online validator like https://validator.w3.org/ b...
Sebo.PL
1

votes
1

answer
37

Views

@PostConstruct doesn't seem to be invoked, resolving in path error

In my jsf application I have a bean like this @ManagedBean @ViewScoped public class myBean implements Serializable { private String path; @PostConstruct public void init() { path= 'defaultpage'; } } (with setPath and getPath) and a xhtml file with this element: when i browse to the page, the browse...
M. F. C.
1

votes
0

answer
43

Views

script async defer undefined attribute name

I have an xhtml file in Eclipse Oxygen and I try to use However I got 'Undefined attribute name (async)' notification. What should I do to overcome this?
Sibel Y
1

votes
0

answer
16

Views

asp.net - SelectItemTemplate doesn't work

I have two tables. First works fine - if button ID='Button1' CommandName='Select' pressed selected item turns red. But second table doesn't do the same if I pressed it's own button ID='Button2' CommandName='Select'. first table listView ID='ListViewGrSDtudents' second table listView ID='ListViewGro...
Semyon Labzov
1

votes
0

answer
41

Views

CDATA tag getting wrapped in and commented

I am working on translating a XHTML to another XHTML(for localization) the tool we can use is XSLT alone that is a restriction. Now when I am trying to copy the whole code as is for testing purpose the CDATA values of original XHTML are lost. I used below tag cdata-section-elements='script' but, it...
Mannu Ashu
1

votes
1

answer
36

Views

xhtml link can't be opened and file was not found

Hey guys I am new to web languages. I was just trying out the link syntax of xhtml and everything appears smooth until I clicked on the link and it tells me that my file is not found, either moved or deleted. It's really basic however I checked word for word that the syntax is correct, and nothing...
Z.won_29
1

votes
1

answer
27

Views

How use conditions in Jsp <p:fileUpload

I need to check uploading file size,type and set uploaded file name to fileUpload value tag. I wrote simple functions for them in the uploadController and need to call them to check the file size and type. Is there any recommended way to do this file validation ?
krishan viduranga
1

votes
0

answer
47

Views

MenuItem must be inside a form element BUT Form already exist

I'm working on primefaces and i can't understand this error. My all xhtml code My xhtml code : There is 3 differents form in this page So, we can see and i have this issue : javax.servlet.ServletException: MenuItem must be inside a form element javax.faces.webapp.FacesServlet.service(FacesServlet.j...
Thomas Pruvost
1

votes
2

answer
46

Views

Translate Pojo to JSON

I do the documentation. In pdf, my object should look like json. I create a collection of objects: Arrays.asList(new CoefficientPerQuantityParameter(2, BigDecimal.valueOf(0.9)), new CoefficientPerQuantityParameter(10, BigDecimal.valueOf(0.8)), new CoefficientPerQuantityParameter(40, BigDecimal.valu...
maksim2112
1

votes
0

answer
28

Views

DTD Validation Error Elements for Mixed Content

The html snippet looks like below: 1.1. INTRODUCTION where label tag is a must element and p tag is an optional as per my custom DTD. My DTD snippet looks like below: However the validator throws an error: Error testd.dtd:13:16:FATAL:PARSER:ERR_ELEMCONTENT_NOT_STARTED: ContentDecl : Name or '(' exp...
Mahadev Hansda
1

votes
0

answer
41

Views

Can you build AMP on xhtml?

My company uses .xhtml file format for the front-end, but we're being pushed to add AMP to our static pages. In my research, I haven't found anything that says you can use the .xhtml format, and when I try to deploy a site with an AMP .xhtml page, I get this error: 'Error Parsing /storeAmp.xhtml: Er...
Erica Hill
1

votes
0

answer
15

Views

How to fix “Could not make numeric conversion for modulo” error in xhtml code

How to fix the below error in my xhtml file. Error: Multiple annotations found at this line: - Could not make numeric conversion for modulo operation - Syntax error in EL - This equals will always results a value of false Below is the line of my code: rowStyleClass='#{count.lineNo == 'Totals' or c...
Deepti Nair
1

votes
3

answer
3k

Views

Parsing XML/XHTML in Actionscript

Is there anything similar to getElementById in actionscript? I'm trying to make a prototype of a flash page wich gets it's data from a xhtml file. I want to have both an accessible html version (for search engines, textreaders and people without flash) and a flash version (because the customer insi...
Stein G. Strindhaug
1

votes
4

answer
903

Views

Using XML parser to create XHTML code on fly

Developing server side code i finally got my eyes X-crossed trying to write - and then understand, of course - forms or other html code in which text strings (attributes) within double quotes must occur in tagged string (markup) opening and closing properly; but often javascript text within apostoph...
Daniel
1

votes
4

answer
1.4k

Views

Editable Div Element

Is it possible to have an editable div element that can only contain text and images. I understand that you can use the rich controls like TinyMCE and jWYSIWYG however I do not require all this functionality and want something lightweight. Basically all I want is a plain text editable element where...
Luke
1

votes
6

answer
2.8k

Views

How to get from xhtml to excel to xhtml

I have a question on how best to get xhtml into excel. let the user edit it in excel and then get back to xhtml at the end. The background is that I have a web app in which the texts are stored in xhtml. These I can export to an excel file with the html in the excel cell. I can also reimport this c...
Crocked
1

votes
1

answer
2k

Views

Generated tags in xslt are not being closed correctly

I'm trying to get the meta and img tags to close in the output from an xslt. I've looked into it, and it seems I need to select an 'xml' method rather than 'html', but this still doesn't seem to work. I've currently got: Am I doing anything that is obviously wrong?
1

votes
1

answer
1.3k

Views

use struts tags inside attributes in jspx files

I have some old jsp code that uses the struts tags inside attributes, like this: I can't get this to work in jspx files though. Is there a good alternative to sort of get the same functionality without too much clutter?
wds
1

votes
1

answer
1.3k

Views

How to make HTML underneath overlapping Flash accessible

I have a Flash header with a transparent background contained inside of a relative positioned div with a z-index of 10. The resulting effect allows my Flash movie with a transparent windowmode to overlap and hover over the HTML content. Unfortunately, the HTML that is underneath the invisible Flas...
Mike McLin
1

votes
3

answer
806

Views

what meta-tags in the header of an (x)html page should be enough for SEO whitout overload it?

what meta-tags in the header of an (x)html page should be enough for SEO whitout overload it?
1

votes
1

answer
527

Views

ASP.NET SiteMap control invalid XHTML -title contains &

I'm using the .SiteMap file and Sitemap control to create a sitemap on a page. The title of the page in the Web.sitemap is: 'Out & About'. When the page renders, the ampersand is shown as an & (Out & About) in the source, this obviously then causes validation errors. Any ideas how I can force good o...
peteski
1

votes
4

answer
11k

Views

ClassNotFoundException in Java Applet using <object> tag

I'm trying to embed a Java Applet using the tag, which is the XHTML Strict way of doing it. After browsing lots of sites, I tried this example which seems to work pretty well: This browser does not have a Java Plug-in. Get the latest Java Plug-in here. I downloaded that Sample2.jar and works perfec...
Seb
1

votes
2

answer
810

Views

What is the importance of DTD and how it affects the display of the web page page

What is the importance of DTD and how it affects the display of the web page page at runtime
Vinay Pandey
1

votes
1

answer
121

Views

Looking for a simple, light xhtml editor (such as wmd etc.) for my site [closed]

for now, i'm using WMD for my site, but lately i've been needing to work on its code, and the supplied code is near impossible to read, due to code obscurity (no tabs, var names such as _1, _2 etc). now, i assume that code has a non-obscured version, but its nowhere to be found. (for example, i need...
AriehGlazer
1

votes
3

answer
271

Views

Drupal Themes

Can anyone suggest a better place than drupal.org to find quality themes?
topCweb
1

votes
1

answer
793

Views

How to validate an xhtml file against a specified DTD?

I have got my resource file with the help of string filePath = Assembly.GetExecutingAssembly().GetName().Name+'.' + resourceFileName; Stream fileStream = Assembly.GetExecutingAssembly().GetManifestResourceStream(filePath); Now i have to use fileStream to compare my xhtml file against the DTDs t...

View additional questions