File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes possible methods for the xsl:output method= Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "possible methods for the xsl:output method="?" tag ?" Watch "possible methods for the xsl:output method="?" tag ?" New topic
Author

possible methods for the xsl:output method="?" tag ?

Rikard Qvarforth
Ranch Hand

Joined: Jul 10, 2001
Posts: 107
what possible methods are there for the <xsl utput method="..."/> tag ?
is there a list of the possible methods ? and if where.
Thanks


//Rille
Rikard Qvarforth
Ranch Hand

Joined: Jul 10, 2001
Posts: 107
humm found this ..
<xsl utput
name = qname
method = "xml" | "html" | "xhtml" | "text" | qname-but-not-ncname
cdata-section-elements = qnames
doctype-public = string
doctype-system = string
encoding = string
escape-uri-attributes = "yes" | "no"
include-content-type = "yes" | "no"
indent = "yes" | "no"
media-type = string
normalize-unicode = "yes" | "no"
omit-xml-declaration = "yes" | "no"
standalone = "yes" | "no"
undeclare-namespaces = "yes" | "no"
use-character-maps = qnames
version = nmtoken />
but where did i see that one could transform into a pdf file humm
Juan Rolando Prieur-Reza
Ranch Hand

Joined: Jun 20, 2003
Posts: 235
Originally posted by Rikard Qvarforth:
... but where did i see that one could transform into a pdf file humm

According to Michael Kay, page 54 of "XSLT programmers reference" 2nd ed. ...
the text output method is designed to allow output in other text-based formas including... CSV, RTF, PDF, SQL or JavaScript.


Juan Rolando Prieur-Reza, M.S., LSSBB, SCEA, SCBCD, SCWCD, SCJP/1.6, IBM OOAD, SCSA
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
PDF? Not likely. Although you can use XSL-FO.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Rikard Qvarforth
Ranch Hand

Joined: Jul 10, 2001
Posts: 107
holy cow that was alot of reading but thanks

//Rille
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: possible methods for the xsl:output method="?" tag ?
 
Similar Threads
http-method in security-constraint doubt
println() method
HttpSessionActivationListener
Struts 2.x : How to call method in the bean using bean tag
HF Chapter 10, Q12 question