Subject: [xsl] xsl:result-document From: "Els Maes" <elsmaes@xxxxxxxxxxx> Date: Thu, 21 Oct 2004 14:58:34 +0200 |
My input file looks like this (simplified version): -------------------------------------------------------------- <?xml version="1.0" encoding="UTF-16"?> <sourceroot> <class name="Input1" id="a123"> <contains value="input1"/> </class> <class name="Input2" id="b456"> <contains value="input2"/> </class> <class name="Input3" id="c789"> <contains value="input3"/> </class> </sourceroot> --------------------------------------------------------------
<xsl:template match="/"> <xsl:apply-templates/> </xsl:template>
<xsl:template match="sourceroot"> <xsl:for-each select="//class"> <xsl:result-document href="{@name}.java"> <xsl:value-of select="@name"/> </xsl:result-document> </xsl:for-each> </xsl:template>
</xsl:stylesheet> --------------------------------------------------------------
_________________________________________________________________ Volg Expeditie Robinson op de voet! http://www.expeditierobinson.vt4.be/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Getting a difinitive answ, Jarno.Elovirta | Thread | [xsl] Generating HTML <link> naviga, Mario Caprino |
RE: [xsl] match string, Michael Kay | Date | [xsl] Generating HTML <link> naviga, Mario Caprino |
Month |