11 questions
0
votes
1
answer
224
views
In CSS, how do I conditionally style the :root pseudo-element using attributes?
I have some JS which needs to effect some styling of an entire rendered HTML document. What I current use is the following CSS:
[myattr="true"] { direction: rtl; }
[myattr="false"]...
0
votes
1
answer
164
views
How do I add a 'root element' to a json file
I made a SQL query (build up with CTE's) that results in 6 products with their attributes. The query is just select * from output an this results in the following table, with more columns than shown ...
2
votes
1
answer
2k
views
XML - Markup following root element must be well-formed [duplicate]
I keep getting errors with my xml file when trying to run a build... this is the error:
lineNumber: 68; columnNumber: 12; The markup in the document following the root element must be well-formed.
...
7
votes
0
answers
903
views
How to use <slot/> as the root element of a Vue component?
I'd like to build a wrapper component, that just adds some JavaScript to the actual component that is passed in, but without creating an extra HTML element.
This works, but creates a div as the root ...
0
votes
1
answer
427
views
How to append a Modal to root element?
I need to append a Modal to root element of a React-Native application which I didn't write. But I know there is a root element there.
How can I do that?
1
vote
1
answer
1k
views
Styling root (<html>) element in VueJs Nuxt
I have this vue component that displays a full size image after being created when a user clicks an image on a carousel. When this is open, the user should not be able to scroll the page.
Currently ...
0
votes
2
answers
3k
views
Dataweave - Trying to write END_DOCUMENT when document has no root
I have an Application/Java ArrayList. That contains XML elements in String format.
I want to add to a main/root node with Dataweave 2:
%dw 2.0
output application/xml
---
shops: write(vars.shop, "...
0
votes
1
answer
67
views
Maven default arhcetype: jersey-qucikstart-webapp unable to run webapp - [Fatal Error] :3:6:
I've created the archetype maven project: jersey-quickstart-webapp. I've added the project files I've prepared before and I had to add the following <dependency> in the pom.xml file:
<...
2
votes
1
answer
440
views
Generating XSD from RelaxNG while keeping root-element restriction
I want to convert the following schema from RNC/RNG to W3C XSD.
default namespace = ""
namespace a = "http://relaxng.org/ns/compatibility/annotations/1.0"
namespace rng = "http://relaxng.org/ns/...
0
votes
1
answer
99
views
XmlRoot gets overwritten when using System.Xml.Serialization Serializing Generic class
Dear StackOverflow lovers,
I'm having my XmlRoot overwritten whenever I try to serialize a object from a generic class.
=> I get as XmlRoot: classname + _x0060_1 (by the way, there is a 1 because ...
0
votes
2
answers
894
views
Can not handle <p> tag in wysiwyg editor
The <p> is the default root element of content in most of WYSIWYG editors (I use tinymce) where <p> can not contain a block element according to this . When my content is only a single ...