[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: feature request

Subject: Re: feature request
From: "Sebastian Rahtz" <sebastian.rahtz@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 16 May 2000 21:03:32 +0100 (BST)
testimg.gif
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.