|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Problem with doctype-system in transformation xml to x
Hi all, my problem is: I have written a stylesheet to transform a list of xml-files, given in = an xml-config-file, to another xml-file with another structure and dtd. Anything works fine, except of the dtd-declaration in the destination = xml-file. I use <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes" omit-xml-declaration="no" doctype-system="C:\A.dtd" media-type="text/xml" /> to create the dtd-declaration. In the A.dtd the first element is A, but the result in the destination = xml-file is as follows: <!DOCTYPE B SYSTEM "C:\A.dtd"> and B is exactly the second element in the destination xml-file and it = is the only element, defined in the A.dtd as content for A. Of course this xml-file is not valid. If i change manually to <!DOCTYPE = A SYSTEM "C:\A.dtd"> it's valid. That means, all the other code should = be OK. What is the problem? Can anybody give me a hint what I'm doing wrong? I'm using XML-Version 1.0, XSL 2.0 and altovaxml-processor 2006 (with = Altova XSLT 2.0 Engine) to create the output file. Kind regards Axel Kesten
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








