Subject: Re: [xsl] IGNORE CASE IN XSLT From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Thu, 02 Dec 2004 11:39:01 -0500 |
It will not help a lot if one cannot predict the use of case in element names. :-( Especially documents that originate from HTML of SGML have this problem, as HTML and SGML are case insensitive...Not as such (such would be an XML+ parser of a kind, not a conformant XML processor), though you might be able to use an SGML parser.
It even gets worse if you have to account for ancestors as wel... :-(
It would have been nice if the XSL standard would have provided a case sensitivity option. But on the other hand, it is actually more a job for XML parsers. Are there XML Parsers that have an option to ignore case of the input? (not using a declaration file)
2nd person to mention this..
XML+ yes, but I wouldn't say that the parser is violating the recommendation. It is an option, so it is up to the user to violate the XML rec...
Reconsidering my remarks, I don't think the ignore-case option is sufficient. Too often SGML and HTML are not well-formed. One indeed would be better off with an SGML parser.
Cheers, Wendell
====================================================================== 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 ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] IGNORE CASE IN XSLT, Geert Josten | Thread | Re: [xsl] IGNORE CASE IN XSLT, Geert Josten |
Re: [xsl] SVG and Presentations at , Wendell Piez | Date | Re: [xsl] XSLT documentation extrac, Ondrej Rohlik |
Month |