Subject: [xsl] fileoutput From: "Laura Jenkins" <xsl_list@xxxxxxxxxxx> Date: Mon, 18 Mar 2002 18:33:09 +0000 |
i have an xml file schools.xml --file schools.xml --- <Schools> <school>cal</school> <school>london</school> <school>delhi</school> </schools>
<?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xalan="http://xml.apache.org/xslt" xmlns:redirect="org.apache.xalan.xslt.extensions.Redirect" extension-element-prefixes="redirect" version="1.0"> <xsl:variable name = "schools" select ="document('schools.xml')"/> <xsl:template match="/"> <xsl:for-each select="$schools"> <xsl:variable name="sc" select="."/> <xsl:variable name="file" select="concat($sc,'-school','.txt')"/>
1.can someone please tell me where i am going wrong ?? 2.Id i have a secondary document imported to my XSL file, can i get to their children by expression $DocumentName/child?? laura
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Identity transformation (, Sullivan, Dan | Thread | Re: [xsl] fileoutput, Robert Koberg |
Re: [xsl] Identity transformation (, Thomas B. Passin | Date | Re: [xsl] fileoutput, Robert Koberg |
Month |