Re: media attribute in xml-stylesheet
Kevin Brubeck Unhammer <[email protected]> Wed, 12 Jun 2024 10:13:15 +0200
| Newsgroups | gmane.editors.xxe.general |
|---|---|
| Message-ID | <[email protected]> |
Hussein Shafie <[email protected]> čálii: > On 6/11/24 14:27, Kevin Brubeck Unhammer wrote: >> Is there a media attribute that *is* accepted by XmlMind? > > Yes, it is. Exact reference implemented by XXE: > https://www.w3.org/1999/06/REC-xml-stylesheet-19990629/ > > However after reading the code, it seems that we have a couple of bugs > related to the support of the "media" pseudo-attribute. Sorry for > that! > >> If there is, one could do >> <?xml-stylesheet title="My view" media="SOMETHING" >> href="xxe.css" type="text/css"?> >> <?xml-stylesheet title="Print" media="screen,tv,projection" href="print.css" type="text/css"?> >> and have one css be used by XmlMind, and one by other applications. > > The above should work fine in next version of XXE. However it's too > late to do that in XXE v10.8 as we should release this version in the > next few days. I take it this means that the value(s) for @media which will be accepted by XmlMind is still not decided on? -- XMLmind XML Editor Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xmleditor-support