Subject: Re: feature request From: "Sebastian Rahtz" <sebastian.rahtz@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> Date: Tue, 16 May 2000 21:03:32 +0100 (BST) |
Rick Geimer writes: > proper way to do this. If someone could show me how I could create an > XML 1.0 document using XSLT that would parse the same as the following > document, I would be very happy: > > <!DOCTYPE foo [ > <!ELEMENT foo EMPTY > > <!ATTLIST foo img ENTITY #IMPLIED > > <!NOTATION gif PUBLIC "-//NATIONAL//NOTATION Compuserve gif format//EN" > "" > > <!ENTITY testimg SYSTEM "testimg.gif" NDATA gif > > ]> > <foo img="testimg"/> something that I have never really understood is what good this NOTATION stuff really ever did. does anyone seriously use it? as opposed to second-guessing based on file contents? I entirely take your point that XSLT cannot do this, but I wonder whether in practice many people will care. I suspect people will just write <!ELEMENT foo EMPTY > <!ATTLIST foo img CDATA #REQUIRED type "gif|tif|png" "png" > <foo img="testimg.gif" notation="gif"/> which is almost as useful. them thar notations will go in the pool of SGML things are nice, but which one would not go to the stake for. no, of course I know that you cannot change your publishing system overnight... Sebastian XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: feature request, David Carlisle | Thread | Re: feature request, Rick Geimer |
Re: Which is correct, xt or SAXON?, Eric van der Vlist | Date | Re: using xsl:key to generate list , Sebastian Rahtz |
Month |