Is there a way to use external style sheets without having to use include for the styling section of the markup file XSS My idea is to have the same menu markup file for 2 menus with slightly different styling.
Well, in theory you would do it via a GPRM (I was mistaken when I said script would work -- you can't set XPath variables until the markup is loaded, but the expression is only evaluated before the markup is fully loaded!)
Unfortunately HDiSim has some bugs with the include attribute where it expects a nodeset rather than a boolean... so right now it looks like an include for the body is the easiest thing to do.
From your answer to this question I understood that include conditions can somehow refer to script. So to learn something new today how would an include condition look like that refers let's say to a variable
I'd like to do something like this: <include href="styling1.xss" condition="variable 'style' equals 1" /> <include href="styling2.xss" condition="variable 'style' equals 2" />
Or am I getting this totally wrong Would using a GPRM an easier or better way to do this
Using external style sheets
Soumya B
Well, in theory you would do it via a GPRM (I was mistaken when I said script would work -- you can't set XPath variables until the markup is loaded, but the expression is only evaluated before the markup is fully loaded!)
Unfortunately HDiSim has some bugs with the include attribute where it expects a nodeset rather than a boolean... so right now it looks like an include for the body is the easiest thing to do.
Tomasz24311
Jay McKinney
From your answer to this question I understood that include conditions can somehow refer to script.
So to learn something new today how would an include condition look like that refers let's say to a variable
I'd like to do something like this:
<include href="styling1.xss" condition="variable 'style' equals 1" />
<include href="styling2.xss" condition="variable 'style' equals 2" />
Or am I getting this totally wrong Would using a GPRM an easier or better way to do this
Cheers.