Hello, I'm having some really strange problems with the transformation of XHTML. It seems something's going wrong with the DOCTYPE definition (because it works without).
The xhtml document looks like: -------------------------------------------------------------- <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> ... </html> If I load it (FileGenerator) and directly serialize (xml) it, the output is: <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"<!-- ================== Imported Names ====================================--><!-- media type, as per [RFC2045] --><!-- comma-separated list of media types, as per [RFC2045] --><!-- a character encoding, as per [RFC2045] --><!-- a space separated list of character encodings, as per [RFC2045] --><!-- a language code, as per [RFC3066] --><!-- a single character, as per section 2.2 of [XML] --><!-- one or more digits --><!-- space-separated list of link types -- ><!-- single or comma-separated list of media descriptors --><!-- a Uniform Resource Identifier, see [RFC2396] --><!-- a space separated list of Uniform Resource Identifiers --><!-- date and time information. ISO date format --><!-- script expression --><!-- style sheet data --><!-- used for titles etc. --><!- - nn for pixels or nn% for percentage length --><!-- pixel, percentage, or relative --><!-- integer representing length in pixels --><!-- these are used for image maps --><!-- comma separated list of lengths --><!-- =================== Generic Attributes ===============================--><!-- core attributes common to most elements id document-wide unique id class space separated list of classes style associated style info title advisory title/amplification --><!-- internationalization attributes lang language code (backwards compatible) ........... (I SKIP MANY LINES) is for headers, td for data and for cells acting as both -->> <html xmlns="http://www.w3.org/1999/xhtml"> ... </html> Everyting is messed up with the the doctype file... It also seems to create problems with XSLTransformations. So, how can I go around this? thanks --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
