[jdom-interest] (no subject)
Yue Yang
yue42 at hotmail.com
Mon Oct 29 16:20:18 PST 2001
hi,
right now i am using JDOM beta 7 and the Xalan flat2xml extension to do flat
to xml transformation. The problem rises when I try to add a default
namespace to the stylesheet... so basically I want the following headers:
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:lxslt="http://xml.apache.org/xslt"
xmlns:stream="com.fs.xalan.extensions.StreamTools"
xmlns:txt="com.fs.xalan.extensions.TextFormatting"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.mycompany.com/"
extension-element-prefixes="stream txt" version="1.0">
....
</xsl:stylesheet>
the problem is that i can't seem to add or change the default namespace
(xmlns="http://www.mycompany.com") under the JDOM API. The reason I need
that default namespace is that the resulting XML document must carry that in
order for the schema to validate it.
anyone have any clues?
thanks
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
More information about the jdom-interest
mailing list