Subject: Re: [xsl] XML source with DOCTYPE declaration From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Tue, 24 Apr 2001 17:36:48 +0100 |
David Carlisle wrote: > > > Do you maybe know of a machanism in XSLT to check whether a DOCTYPE was > > used in the XHTML file or not? > > There is no such switch as the dtd is not part of the XPath data model > (As has been stated already many times in this thread).
This could be done, though, using a specific (non standard) parser such as the one I have described a while ago on XML.com [1], but it's probably not worth the pain in this specific case.
Eric
[1] http://www.xml.com/pub/a/2000/08/09/xslt/xslt.html > > David > -- See you in Hong Kong for www10: http://www.www10.org/program/w10-half-tut.shtml#ta5 ------------------------------------------------------------------------ Eric van der Vlist Dyomedea http://dyomedea.com http://xmlfr.org http://4xt.org http://examplotron.org ------------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
====================================================================== 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, Eric van der Vlist | Thread | [xsl] how can I compare two xml fil, Mengel Andre (FV/SLM |
RE: [xsl] HTML in XML not getting t, Meltem Kogelbauer | Date | [xsl] XSL:Sort-By, Gavin Myers |
Month |