I'm sorry for a very rudimentary question ...
I am studying with a book for getting started with XML, and I am trying to convert the sample xml with xsl for the first time. I would appreciate it if you could tell me what was the problem.
xml cannot be converted to xsl
com.sun.org.apache.xalan.internal.xsltc.compiler.CompilerException: Input document
Is not a stylesheet (the XSL namespace is declared in the root element
Not)
Error Transforming XML
At the beginning of the style sheet, you must write a 'xsl: stylesheet' or 'xsl: transform' element or a literal result element with the 'xsl: version' attribute. The prefix 'xsl' indicates the 'http://www.w3.org/1999/XSL/Transform' namespace.
The description of xml and xsl itself is exactly the same as that of the book, and since the style sheet element is described at the beginning of xsl, it does not seem to correspond to the error message of XML NotePad. I tried xml editors other than XML NotePad, but the message was almost the same and could not be resolved.
-
Answer # 1
Related articles
- i don't understand the cause of the java nosuchelementexception error
- java - i don't know the cause of the compilation error
- java - i got an error when trying to execute a class that overloaded the constructor
- i want to resolve a java error
- i want to resolve the sql error unknown column'usersid' in'on clause'
- fighting ice execution error [java]
- i don't know the cause of javalangarrayindexoutofboundsexception
- java - an error occurs when executing the jar file
- java - i want to get the entire list from the db and display it, but an error occurs when executing the application
- java - web-app shows error in webxml
- about the cause of syntax error: invalid syntax in python
- python - i want to know the cause of the error that occurs when kernel density estimation is performed with high-dimensional dat
- java bigdecimal acceleration error when dividing by 0
- java - error: incompatible type: unable to convert string [] to string
- java - an error occurred when running with junit assertequals
- java - i want to eliminate the springboot error
- php - i want to identify and correct the cause of the page feed error that occurs in wordpress
- java - i want to get a 404 error when entering a random url in spring boot
- java - i want to display the corresponding argument in the error message when the command argument is not an integer
- conversion from c language to java
- JSON deserialization. Java
- How to parse JSON in Java
- java - about mapping to object when api response format is different due to normal/abnormal
- java - i want to eliminate the error that occurs when starting an application that uses jsonic
- java - how can i make sure that the font size is always full on android?
- java - i want to dynamically change the color of the entire background in android studio
- receiving json data in java
- java : I cannot receive data via Retrofit
- java : Help me deal with Hibernate exceptions
- java : Json parsing with Gson doesn't work
Here is
www.w3.org
, notwww.w3c.org