[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Associating DSSSL style sheets with documents
Jon Bosak wrote: > | > <?XML-stylesheet type="text/dsssl" href="foo.dsl"?> > | > | I think that's ok, but it also creates a pain in > | my stomache. Does it it mean I have to fetch the stylessheet > | each time for each document instance ? > > I was assuming (naively?) that the target of the href would be cached > just like the target of any other URL. I think my suggestion with the (formal) public identifier is more general. Your suggestion would work of course, but if we have two URLs, for instance, http://www.jon.com/foo.dsl and http://www.norbert.com/foo.dsl, they could be the same stylesheet but they don't *have* to be. Also extracting the stylesheet name as such wouldn't be the best solution (foo.dsl) as there also might be ambiguities. Your foo.dsl is not necessarily my foo.dsl. However, if I cache "-//NHM//FOO STYLE//EN", then especially with formal public idents, I (normally) wouldn't have these problems. Right ? -- Best regards, Norbert H. Mikula ===================================================== = SGML, DSSSL, Intra- & Internet, AI, Java ===================================================== = mailto:nmikula@e... = http://www.edu.uni-klu.ac.at/~nmikula ===================================================== xml-dev: A list for W3C XML Developers Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ To unsubscribe, send to majordomo@i... the following message; unsubscribe xml-dev List coordinator, Henry Rzepa (rzepa@i...)
|
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
|