I have a jsp page that calls a Tag .tld and with this is passed the paramters for the xml file and the xsl file. However I get an error every time saying "Directive: Invalid attibue, prefix". Any Ideas what can be wrong?
Have you declared the taglib in the JSP file ? or in the web.xml ? Pho
Regards,
Pho
Guillaume Compagnon
Ranch Hand
Joined: Aug 09, 2001
Posts: 106
posted
0
What is the XSL file you use to transform XML to PDF ? Moreover, anyone knows differents adapters for transforming XML (respecting a DTD or Shema) into PDF, or Word ... URLs are welcome!
---------<BR>Guillaume
W. Scott Means
Greenhorn
Joined: Sep 27, 2001
Posts: 28
posted
0
Originally posted by Guillaume Compagnon: Moreover, anyone knows differents adapters for transforming XML (respecting a DTD or Shema) into PDF, or Word ... URLs are welcome!
XSL Formatting Objects can be used to transform XML into PDF, albeit indirectly. You need to use a tool like Apache's Fop (Formatting Objects Processor) to take the XSL-FO document and convert it to PDF. The whole transformation process looks like this: XML document + XSLT Stylesheet = XSL-FO document XSL-FO document + Fop = PDF You can find Fop on the Apache XML Project site. I actually wrote an XML to Word converter a couple of years ago and taught a course on it at the SDExpo show this spring. You can see the presentation and the source code (it's a Word VBA application) on my web site. The class was called XML & Microsoft Word. ------------------ W. Scott Means author, Strategic XML smeans@strategicxml.com
Thx U a lot for your tips, Scott! as a former from MS, do you know any initiative from Microsoft Office in order to improve MSXML and to deploy XML in Word application ( a "Save as XML file" button in Word) ?
Originally posted by Guillaume Compagnon: Thx U a lot for your tips, Scott! as a former from MS, do you know any initiative from Microsoft Office in order to improve MSXML and to deploy XML in Word application ( a "Save as XML file" button in Word) ?
Sorry, I've been out of the loop. I left back in '93, and things have changed a LOT since then. Most of my friends are either retired or too high-up in the organization to really know what is going on :-) ------------------ W. Scott Means author, Strategic XML smeans@strategicxml.com
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.