Copy link to clipboard
Copied
Hi...
I'm pretty sure I know the answer to this question, but am looking for validation.
Is it possible to add multiple attribute values to an element using a conversion table? The following conversion table creates the <some-elem> element with the @attrname attribute set to "attrval" .. but what if I wanted to set two attributes? I tried this .. some-elem[attrname="attrval"][otherattrname="attrval2"] .. but the second definition was ignored. Is there any way to do this (with conversion tables)?
Wrap this object | In this element | With this qualifier |
---|---|---|
P:some-para-tag | some-elem[attrname="attrval"] | |
Thanks!
...scott
Scott,
The structured apps reference says to separate the two attribute assignments with an ampersand, as in
some-elem[atttrname="attrval" & otherattrname="attrval2"]
I have never done it, so it is not tested.
Van
Copy link to clipboard
Copied
Scott,
The structured apps reference says to separate the two attribute assignments with an ampersand, as in
some-elem[atttrname="attrval" & otherattrname="attrval2"]
I have never done it, so it is not tested.
Van
Copy link to clipboard
Copied
Thanks Van!
That certainly does work. You can even add more than two attributes with this technique! I can't tell you how many times I've read through the Structure App Dev Guie, and never seen that.
Cheers!
...scott