styling XML (not HTML) with javascript & css after rendering in browser

后端 未结 2 2008
暖寄归人
暖寄归人 2021-01-25 07:44

I\'m using a webkit browser (safari), so this question is specific to webkit.

I have safari rendering an XML document (it\'s not HTML). In order to style certain section

2条回答
  •  鱼传尺愫
    2021-01-25 08:18

    It doesn't look good, but I would try clicking on the links in the W3C spec to see if WebKit supports the styling you want to do. If it doesn't, you could dynamically request a stylesheet from the server after you've looked at the data. That might be the only work around.

提交回复
热议问题