Replies: 1 comment 7 replies
-
I'm not sure where you got this distinction between "argument" and "value". Those are the same thing. A node has:
And that's all the constructs that KDL has. Maybe you got confused with the XML embedding into KDL, where if the XML node just contains text you can encode that as a final string argument on the node rather than needing a child text node? |
Beta Was this translation helpful? Give feedback.
7 replies
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.
-
I'm working on a KDL library for Guile scheme, now that I have the rough basics in place, I'm focused on the specification and ensuring that my parser follows it.
I saw the following example on the specification page
And I've been stumped ever since. I know that a node doesn't need to have a value associated with it; however, when you have something like this, how is it possible to know what is an argument and what could be a value?
However I then considered the following:
node
's value is "example", but it still has argumentsa b c
, after it.This means I cannot infer the last element on a line (or in a specific scope)
is the value
Beta Was this translation helpful? Give feedback.
All reactions