cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett McLaughlin <>
Subject WML and namespaces
Date Sat, 08 Apr 2000 19:21:36 GMT
It appears that WML does not work with namespaces - is this true?

For example, for this stylesheet:

<?xml version="1.0"?>

<xsl:stylesheet version="1.0" 

 <xsl:template match="JavaXML:Book">

   <card id="index" title="Your Portfolio">
    <p align="center">
     <a href="#cover">Cover Page</a><br/>
     <a href="#contents">Table of Contents</a><br/>


It tries to create this output (fragment):

<wml xmlns:JavaXML="">

and gripes because that is not an allowed attribute on the wml element. 
But why does Cocoon put that there?  Or is it something WML specific?  I
would like to use my namespace documents and transform them into XML
without having to remove all the namespace prefixes... any ideas?


View raw message