xsl-list
[Top] [All Lists]

Re: How to give out XML-Tags?

2002-12-05 03:14:36

I tried to put that in <xsl:text>, but that doesen't work.
well if you want to generate a doctype declaration and a book element
node why would you expect <xsl:text to work?

Choosing "xml" as output-method is also no solution.

xml is teh default so just specifying that would make no difference,
specify doctype-system="/usr/share/sgml/docbook_4/docbook.dtd"
in xsl:output to get the doctype, and to generate the book element just
use that element in teh stylesheet.
<book id="How-to" lang="de">
...
</book>

in your template will generate that element in the result.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list