Subject: Re: [xsl] XML source with DOCTYPE declaration From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Fri, 20 Apr 2001 18:46:12 +0100 |
> This suggests there's a top-level switch intended to turn namespace > prefixes on the names on and off.
the declarations allow you to set the prefix used (or not) in the instance, the default for HTML (and MathML which uses the same) is for no prefix, but you can specify a prefix if you wish by using a parameter entity declaration.
but non of this makes any difference to the stylesheet unless you use th ename() function (which is usually inadvisable for any input files using namespaces)
<!ENTITY % NS.prefixed "IGNORE"> <!ENTITY % XHTML.prefixed "%NS.prefixed;"> <!ENTITY % XHTML.xmlns "http://www.w3.org/1999/xhtml"> <!ENTITY % XHTML.prefix ""> <!ENTITY % XHTML.xmlns.attrib "xmlns %URI.datatype; #FIXED '%XHTML.xmlns; %XLINK.xmlns.attrib;">
Regards, 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] XML source with DOCTYPE d, David Carlisle | Thread | Re: [xsl] XML source with DOCTYPE d, David Carlisle |
Re: [xsl] XSLT FAQ? and really ques, RSuiter | Date | Re: [xsl] XSLT FAQ? and really ques, David Carlisle |
Month |