Re: Generating JavaBean from XML
Markus Spath <[email protected]> Fri, 14 Feb 2003 07:44:44 +0100
| Newsgroups | gmane.comp.java.sun.xml.general |
|---|---|
| Message-ID | <[email protected]> |
Erica Leung wrote:
> Hi, there
>
...
> The following command can transform the result on the screen correctly,
> java org.apache.xalan.xslt.Process -in xmlSource -xsl stylesheet
>
> But if I want to write the result out, how can I specify the out put name
> respectively for each bean.
>
you can specify xalan's redirect namespace in the xsl:stylesheet element
xmlns:redirect="org.apache.xalan.xslt.extensions.Redirect"
and then write to seperate files:
<redirect:write select="... build a nice name here">
... content of
</redirect:write>
hth,
markus
-----------------------------------------------------
xml-interest: A list for discussing XML technologies in the Java Platform.
To post, mailto:[email protected]
Archives at: http://archives.java.sun.com/xml-interest.html
To unsubscribe, mailto:[email protected] the following message;
signoff xml-interest.