[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Generating JSP/JSTL
On 4/24/07, Kai Weber <weber@xxxxxxxxxxxxx> wrote:
The target document should look like Is it possible to achieve the wanted result and omit the xmlns declaration in each element?
Then it's not possible. As this is not a valid XML document. The XSLT processor will give an error: Error reported by XML parser: The prefix "c" for element "c:choose" is not bound. There has to be a namespace declaration in the output XML, corresponding to prefix, "c". So the output, <ul> <c:choose xmlns:c="http://java.sun.com/jsp/jstl/core"> foo </c:choose> </ul> is quite correct. -- Regards, Mukul Gandhi
|
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
|