Soumanjoy There's the example in quick start guide
http://dom4j.org/guide.html and another in the cookbook http://dom4j.org/cookbook/cookbook.pdf For a more detailed description of the transformation API in JAXP, check out the JAXP documentation. BTW this is the dom4j list ;-) James ----- Original Message ----- From: "Soumanjoy Das" <[EMAIL PROTECTED]> > Hi, > > This is perhaps off context. It's about the next stage of my learning JDOM. > Could you direct me to the documentation that explains how to transform XML > documents by applying XSL stylesheets? I searched for it and came up with > some conflicting information: some results showed transformations by the > org.apache.xalan.xslt.XSLTProcessor, whereas the documentation states that > this whole interface is deprecated, and from what I downloaded from xalan, > it has also been withdrawn. > > I'll give you a small example in VB so you know what I'm looking for: > > Dim oXML as New MSXML2.DOMDocument > Dim oXSL as New MSXML2.DOMDocument > Dim strHTML as String > > oXML.load "XMLSource.xml" 'Load the source XML > oXSL.load "XSLStyleSheet.xsl" 'Load the XSL Strylesheet to apply > strHTML = oXML.transformNode(oXSL) 'Render the XML to HTML using the > stylesheet > > I found a similar case in javax.xml.transform, but the documentation is very > inadequate. What do you generally use for these transformations? All > suggestions welcome... > > Thanks > Soumanjoy _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com _______________________________________________ dom4j-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-user
