6,716 questions
0
votes
0
answers
22
views
Why is <c:if test="#{MyBean.myFunction()}"> rendering multiple times in my xhtml file?
I have a large xhtml file, below the imports there is a component that should only render when a test from a Bean returns true.
<c:if test="#{MyBean.myFunction()}">
<div id=&...
1
vote
1
answer
32
views
Selection on expanded row in DataTable is not working
Describe the bug:
In my attached code I have a parent table with multiple rows (rows are expandable) when I expand it and try to select a sub-row, it doesn't get selected,
Note: both parent table and ...
0
votes
1
answer
74
views
Layout shift despite specifying width and height in CSS
I’m getting a really bad layout shift when a large image mentioned below is loaded. I’m using an (X)HTML5 figure element, and its figcaption shows first near the top of the window, then when the image ...
0
votes
1
answer
42
views
Why might lmxl insert <p> tags when parsing my xhtml file?
I'm very new to working with HTML/XML so forgive me if I don't include something important.
I have an xhtml file that I'm trying to parse using the Python lmxl library. The goal is to place the result ...
2
votes
1
answer
87
views
For accessibility, do I need to use lang="" as well as xml:lang="" attributes in XML (XHTML5)?
For accessibility, do I need to write lang="xx" as well as xml:lang="xx" attributes in XML (XHTML5) to indicate human natural language and language changes? I am always writing XML ...
0
votes
1
answer
72
views
How to sum up values in XML
I have an XML file with tournament data and want to calculate the total points for each team. Here’s the XML:
<tournoi date="2012-12-12">
<match date="2012-12-20" ...
0
votes
1
answer
119
views
ESEF XHTML - schemaRef
Hi I am currently trying to learn how ESEF works and i have some questions about the link:schemaRef Element.
Please correct me when I am wrong at any point as I am still learning :)
In general the ...
0
votes
0
answers
28
views
Epub: trying to resolve issues
I am having problems uploading an epub file to Ingramsparks (fixed not flowing as I am uploading a picture book) as attached. I am advised that this is a coding issue. Accordingly can anyone ...
1
vote
1
answer
111
views
Why does JTidy strip out <video> element from XML?
I am using JTidy to process XHTML documents, and I now have one containing a <video> element, which JTidy strips out. Here is the code:
import org.w3c.dom.Node;
import org.w3c.tidy.Tidy;
import ...
-1
votes
2
answers
93
views
XHTML Document contains SVG namespace. Generating XML Schema Errors
I have an XHTML document with two namespaces. That's because this XHTML document contains SVG tags and if the SVG namespace isn't included in the XHTML document, the SVG won't display on the webpage.
...
0
votes
1
answer
79
views
Positioning an input button and overriding SVG
If you make the beginning coordinates and ending coordinates of the Bezier curve equidistant, then you can duplicate Bezier curves.
If you click the button, a second Bezier curve will appear under the ...
1
vote
0
answers
85
views
Different number of <br>s in XSLT rendering in Chrome and Firefox
<?xml-stylesheet type="text/xml" href="#style1"?>
<!DOCTYPE message [ <!ATTLIST xsl:stylesheet id ID #REQUIRED> ]>
<message>
<xsl:stylesheet id="style1" version="1.0"
...
-2
votes
1
answer
951
views
how to redirect the 400 error in tomcat 9 version with custom error page
i tried to redirect the 400 error with my custom error page but its not working.
400 only not redirect, 404 and 500 its working fine
1:
<error-page>
<error-code>400</error-code&...
2
votes
1
answer
180
views
JSF Composite Components: Facet Content Not Rendering Through Nested Components
I'm facing an issue with rendering content passed through facets in nested composite components. Despite the facets being recognized as not empty, the content inside these facets does not appear on ...
0
votes
0
answers
76
views
Is there a way to convert HTML to XHTML within VBA Excel?
After some days of research, I've found that other tools outside Excel/VBA use XHTML to be able to use Xpath.
Selenium is not an option since for security reasons is not allowed to install programs (....
1
vote
1
answer
669
views
Quill rich text editor not keeping font size on copy/paste
I am using the Quill rich text editor V2.0 on an xhtml page via Javascript. When I copy and paste text from MS word to the editor the font size is lost, this also happens on the demo on https://...
1
vote
2
answers
150
views
HTML code with MathJax SVG does not work in XHTML
I have the following test.html:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xml:lang="en" xmlns=&...
0
votes
1
answer
60
views
How to change spacing before 1st and after last element in a list
I'm creating an index for an EPUB book. I have created entries that have subentries, such as the following:
coal
anthracite
bituminous coal
brown coal
imports
reserves
seams
[...
0
votes
0
answers
34
views
I have an svg image, is there is a way to convert it into canvas but not very complecated code, i want to use that in dynamic size chart
Here is the svg code
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 595.3 841.9" style="enable-...
-1
votes
1
answer
376
views
Pass value from text file into a html paragraph
I have a text file populated dynamically from another javascript. Owing to require/bundle issues and many, many other problems I am just writing the results to a text file.
I now want to display the ...
0
votes
1
answer
195
views
Shopping Cart Application using Java
I'm working on a Java challenge. I want to create an application that displays a list of books as an h:selectOneRadio element. When the user submits the form, store the user’s selection in a @...
0
votes
1
answer
898
views
Can you embed an .ics file contents and link to it in html, ideally without using javascript?
The text for an .ics file is rudimentary:
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//appsheet.com//appsheet 1.0//EN
CALSCALE:GREGORIAN
METHOD:PUBLISH
BEGIN:VEVENT
SUMMARY:Invitation from <<USEREMAIL()...
0
votes
0
answers
74
views
Intellij does not find wrong xhtml attribute
Intellij IDEA 2023.1.3 (Ultimate)
Hi,
I updated from Primefaces 7 to 8 and there was this change: FileUpload#fileUploadListener has been renamed into listener.
I did not change this and the error was ...
0
votes
0
answers
169
views
Pictures not fully visible in LibreOffice after converting HTML to DOCX using docx4j
I convert html to docx file with docx4j
I need to get docx document for opening in libreOffice. I create a docx, but in libreOffice pictures don't visible fully. If I set in properties "attach ...
0
votes
1
answer
55
views
Wildfly can't change css
Im currently working on a wildfly front end using xhtml and css. And no matter what I do to the css it doesn't change anything for me. For example if I delete all styles that my teammates did from ...