[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Jeni,
Bizarre!
I guess it might make sense, for development, *if* the tag set were large and nasty enough to make it worth the overhead. But it seems like alot to do to protect against a problem (typos) that really isn't so bad if you build your stylesheet in little steps and test it as you go (as I hope everyone does). (A good development environment should be able to check for you too. Typos should really not be a problem.)
For production, no way ... normalize it first. It would just be another thing to break.
At 09:15 AM 3/22/2002, you wrote:
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Entity references to guard against typos [was Re: [xsl] variable definition reuse]
Subject: Entity references to guard against typos [was Re: [xsl] variable definition reuse] From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Fri, 22 Mar 2002 12:34:46 -0500 |
Jeni,
Bizarre!
I guess it might make sense, for development, *if* the tag set were large and nasty enough to make it worth the overhead. But it seems like alot to do to protect against a problem (typos) that really isn't so bad if you build your stylesheet in little steps and test it as you go (as I hope everyone does). (A good development environment should be able to check for you too. Typos should really not be a problem.)
For production, no way ... normalize it first. It would just be another thing to break.
Cheers, Wendell
At 09:15 AM 3/22/2002, you wrote:
I've been in discussion recently with someone who wanted to go as far as declaring all the names of elements and attributes in the source XML document as entities so that there was an error if he made a typo. I'd welcome other people's thoughts as to whether that's a good idea or not...
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] variable definition reuse, Jeni Tennison | Thread | Re: [xsl] variable definition reuse, Laura Jenkins |
[xsl] <br/> tags, xhtml output, and, Brook Elgie | Date | RE: [xsl] questions regarding using, Oleg Tkachenko |
Month |
Keywords