CSS...
-
--> can v apply CSS on XML sheet? --> if ya den how?
J A Nasir K
-
--> can v apply CSS on XML sheet? --> if ya den how?
J A Nasir K
This is a stupid question. Even if it was written in English, it would still be stupid. How is a plain XML document displayed, that it would interact with CSS ?
Christian Graus Driven to the arms of OSX by Vista. "! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums. I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
-
--> can v apply CSS on XML sheet? --> if ya den how?
J A Nasir K
-
This is a stupid question. Even if it was written in English, it would still be stupid. How is a plain XML document displayed, that it would interact with CSS ?
Christian Graus Driven to the arms of OSX by Vista. "! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums. I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
Christian Graus wrote:
How is a plain XML document displayed, that it would interact with CSS ?
Not such a stupid question, Christian - see this example[^]...
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
-
Christian Graus wrote:
How is a plain XML document displayed, that it would interact with CSS ?
Not such a stupid question, Christian - see this example[^]...
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
OK, so the XML basically gets treated as XHTML ? I'd have expected to use XSLT to create that sort of a view.
Christian Graus Driven to the arms of OSX by Vista. "! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums. I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
-
OK, so the XML basically gets treated as XHTML ? I'd have expected to use XSLT to create that sort of a view.
Christian Graus Driven to the arms of OSX by Vista. "! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums. I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
Christian Graus wrote:
OK, so the XML basically gets treated as XHTML
Something like that - I guess each of the elements gets treated a bit like a DIV in HTML, i.e. no implied display semantics. The 'original' stylesheet language was DSSSL, which was designed for use with SGML (ancestor of XML and HTML). Looking at this DSSSL sample[^], you can (kind of) see a resemblance to CSS. So, I guess there's a parallel link between SGML -> XML/XHTML/HTML on the one side and DSSSL -> CSS on t'other.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
-
thanks alot sir...
J A Nasir K