At 2005-07-13 17:25 +0500, Lakshmi narayana wrote:
How to insert the document type in xslt.
for Example:
<!DOCTYPE repository SYSTEM "file:conf/templateUID.dtd">
where repository is root Element
System represents DTD file.
Is it possible ? if possible how to do it.
<xsl:output doctype-system="file:conf/templateUID.dtd"/>
The processor will use the name of the document element of your result tree
to complete the document type declaration.
Note that if your input XML has a system declaration that you need to
preserve, this information is not available to you. XSLT will allow you to
write out a given system declaration, but not detect what may have been an
input system declaration.
I hope this helps.
. . . . . . Ken
--
World-wide on-site corporate, govt. & user group XML/XSL training.
G. Ken Holman mailto:gkholman(_at_)CraneSoftwrights(_dot_)com
Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995)
Male Breast Cancer Awareness http://www.CraneSoftwrights.com/s/bc
Legal business disclaimers: http://www.CraneSoftwrights.com/legal
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--