You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by sh...@us.ibm.com on 2000/02/01 17:30:56 UTC
choosing style sheet
This is a "feature request" that I *think* is mostly a proposed
change/enhancement to the command line interface.
Since there is now a standard for linking style sheets to XML documents, I
believe it would be useful to enhance the xalan command line interface so
as to accept
xalan -MEDIA xxx file.xml
Where the intended behavior is that xalan would examine file.xml for an
xml-stylesheet processing instruction with media="xxx" and type="text/xslt"
(there may be a more appropriate tag) attributes, and use the identified
stylesheet to perform the transformation. This mechanism seems to bring
the expected browser-based transformation strategy more in line with the
bulk processing strategy, eliminating the need for an independent mechanism
to extract the appropriate stylesheet.
I don't know if this is consistent with the current processing strategy,
but it seems to me that it probably should be.
Jonathan S. Shapiro, Ph. D.
Research Staff Member
IBM T.J. Watson Research Center
Email: shapj@us.ibm.com
Phone: +1 914 784 7085 (Tieline: 863)
Fax: +1 914 784 6576