Re: Does the XML file have to contains XSL instructions?
Michael Ludwig <[email protected]>
| Newsgroups | gmane.text.xml.xalan.java.user |
|---|---|
| Message-ID | <[email protected]> |
Ben Stover schrieb: > When I apply a simple XSL stylesheet on a simple XML file then Xalan > v2.7.1 complains about missing xsl-stylesheet instructions in the XML > file. > > I used a command like the following: Like the following? > java org.apache.xalan.xslt.Process -in some.xml -xsl convert.xslt This works for me. > ...and got: > > Exception in thread "main" java.lang.RuntimeException: No processing > instruction found for xml-stylesheet in some.xml. When trying to sell plain XML as XSL, I get: stylesheet requires attribute: version -- Michael Ludwig