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

RE: More entity confusion and my opinion on the right way

Subject: RE: More entity confusion and my opinion on the right way
From: "Pawson, David" <DPawson@xxxxxxxxxxx>
Date: Wed, 6 Jan 1999 08:16:52 -0000
RE: More entity confusion and my opinion on the right way
Ken Holman gives us (yet another) nice example in use.


 greeting.xml
<?xml version="1.0"?>
<?xml:stylesheet type="text/xsl" href="greeting.xsl"?>
<greeting><emphasis>Hello</emphasis>&#160;World!</greeting>


Could I support Andrews position of confusion by proffering an 
idiots view.

The simple, I want statement,  goes something like:

'show me how to get from either the XML file (source document usage)
or stylesheet introduced entity usage, without having to repeatedly
look out the magic numbers.'

What entity definitions should I use to keep it simple?
Can I use the same definitions in both my style sheet 
and source document?

given
	<!ENTITY igrave CDATA "&#236;">
can I then use this with its (relatively) meaningful &igrave; rather
than the &#236;

At least we then might have a consistant process to follow, rather
than meeting the confusion Andrew so graphically demonstrates.

I accept Chris M's explanation, but stand back from it as one
who never will think to such depths. 

If XSL is meant more for the idiots such as myself, then KISS
is a good approach.

my two penneth, DaveP


 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.