|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Error correction (Was also Announcement)
> So maybe I should use media="screen, rtf" or media="screen, CGM" > this way I > would be compliant with the specs :-) Is it OK now? > > So I would get instead: > > <?xml-stylesheet href="urn:tns:myscript" type="text/xsl" > media="screen, CGM" I think you are still confusing two concepts here that Chris is trying to point out. Let me see if I can help you out. screen = rendering cgm = abstraction (data format) dsssl = abstraction (style format, transformation rules format) xsl = abstraction (style format, transformation rules format) css = abstraction (style format) So what does the above mean? If you specify media="CGM" or format="CGM" you just say that you want to convert the current XML file to the format specified in media or format attribute. The new format is still an abstraction, not rendering. You can not see, nor hear nor feel a CGM file. You need to render it on screen or some other device to actually experience it. It does not help if you specify format="tex" -- you still need to render the TeX format before you can experience it, be the rendering on screen, on paper or voice. This becomes absurd if you specify format="dsssl". You say you convert your document to stylesheet? (But maybe I do not know enough about DSSSL or XSL...) You do not need to specify the intermediate format(s) in the stylesheet processing instruction, your software does that automatically (if it needs to). For example, I create an XML file with a CSS stylesheet (type="text/css"), your program can read a CSS stylesheet, it produces a LaTeX file from my XML file and CSS style, the LaTeX file is then converted to DVI and then to PS and GhostScript is launched to render it on screen. As the author of that original XML file and CSS stylesheet I do not want to know about the details after that. If you really wanted to *convert* your XML file to another format that is fine as well. But I sure do not expect you to say *that* in a stylesheet processing instruction. This is how I understood your intensions, sorry if this was totally irrelevant. -- Heikki Toivonen http://www.citec.fi XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








