This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Place Input doctype-system and doctype-public in output
- From: "Thomas B. Passin" <tpassin at mitretek dot org>
- To: <XSL-List at lists dot mulberrytech dot com>
- Date: Thu, 7 Mar 2002 16:34:43 -0500
- Subject: Re: [xsl] Place Input doctype-system and doctype-public in output
- References: <sc879119.078@mail.nlm.nih.gov>
- Reply-to: xsl-list at lists dot mulberrytech dot com
Generally you use xslt to transform a document, and after that it conforms
to a different DTD. I think it must be rare for the output to meet the
original DTD, although I can see it happening in a few cases.
Tom P
[John Rozier]
Do you know how to reuse the input doctype-system and doctype-public from
the input file in the output file.
This would reduce the number of input parameters and the user would not have
to know the correct dtd information.
This is how I would hard code it. I would like to avoid having to hard code
it.
<xsl:output
doctype-system="http://www.nlm.nih.gov/databases/dtd/premedlinecitation_0111
01.dtd"
doctype-public="-//NLM//DTD -//NLM//DTD PreMedlineCitation, 1st November
2001//EN//EN"/>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list