This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: This can't be right, XML with no root element: Saxon & XT vs. Xalan


> To clarify: the syntax for a "text declaration" is exactly the same as
> an XML declaration e.g.:
>
> <?xml version="1.0" encoding="utf-8"?>
>
> Is that correct?

Not quite; an XML declaration can also have a standalone attribute; the
version attribute is mandatory in an XML declaration but optional in a text
decl; and the encoding attribute is mandatory in a text decl but optional in
an XML decl.

Mike Kay
Software AG


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]