Element names are lower case? #339
Answered
by
DrRataplan
RibeyeOnTheBone
asked this question in
Q&A
Replies: 1 comment 1 reply
|
Hello there,
You are using inline instances. Since they are in HTML, they are case
insensitive. If you use external instances (fx-instance src="...") it will
work as you expect.
KR,
Martin
…On Sun, 14 Dec 2025, 19:41 RibeyeOnTheBone, ***@***.***> wrote:
My understanding is that XML is case sensitive.
I am seeing in my test page as below, when I look at Data Inspector,
<data>
<greeting>Hello Universe</greeting>
<aaa>MY CASE
</aaa>
</data>
meaning the element names are lower case. This explains why my ref and
value are returning nothing when I use capitalised names.
Other pages I have show correct capitalisation.
Any thoughts?
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>My test</title>
<link rel="stylesheet" ***@***.******@***.***/resources/fore.css">
<script type="module" ***@***.******@***.***/dist/fore.js"></script>
</head>
<body>
<fx-fore>
<fx-model>
<fx-instance>
<data>
<Greeting>Hello Universe</Greeting>
<AAA>MY CASE
</AAA>
</data>
</fx-instance>
</fx-model>
<fx-inspector open="true"></fx-inspector>
<p>Test</p>
<p>Derivation</p>
<fx-output value="instance('result')/init"></fx-output>
<fx-output value="instance('result')/result"></fx-output>
<p> default:
<fx-output ref="greeting"></fx-output>
</p>
<p> default:
<fx-output ref="aaa"></fx-output>
</p>
</fx-fore>
</body>
</html>
—
Reply to this email directly, view it on GitHub
<#339>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABGKEJGDHV2S3ESUXEUKPDD4BWVMJAVCNFSM6AAAAACPAEIQMKVHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZZGI2DMNBUGA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
1 reply
Answer selected by
JoernT
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
My understanding is that XML is case sensitive.
I am seeing in my test page as below, when I look at Data Inspector,
when the instance has
meaning the element names are converted to lower case. This explains why my ref and value are returning nothing when I use capitalised names.
Other pages I have show correct capitalisation.
Any thoughts?
All reactions