Subject: RE: [xsl] 2 XML source From: "Kienle, Steven C [IT/0200]" <steven.c.kienle@xxxxxxxxxxxxx> Date: Wed, 12 Mar 2003 08:47:39 -0500 |
If you know the maximum number of files you need to join together, you could pass their names in through that number of parameters. E.G. <xsl:param name="file-1" select="''"/> <xsl:param name="file-2" select="''"/> .... <xsl:if test="string-length($file-1) != 0" /> <xsl:value-of select="document($file-1)/XPath"/> </xsl:if> ... If you really have an unknown number of files to work on, then the approach Jürgen suggests is probably the simplest and quickest. Steve -----Original Message----- From: David Alcantara [mailto:wwwdavid@xxxxxx] Sent: Wednesday, March 12, 2003 8:35 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: AW: [xsl] 2 XML source Thank you, but it´s not so simple. :-( every day i get approx. 100 XML files like 030312_01.xml (XML name = date+position) and i want to have only one XSL :-) Because every day other application creates 100's of xml files from which i need to filter some data out of these files. As you said in your mail that to incorporate the xml file names into the XSL File, i think in my case it is difficult to type all the file names into the XSL File. So in this case I request some other solution which suite my need given above. maybe is easily make a C program who integreate the 100 xml files in other one. Is there a way to make C or C++ program. Regards david XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] 2 XML source, Jarno . Elovirta | Thread | RE: [xsl] 2 XML source, David . Pawson |
RE: [xsl] 2 XML source, Jarno . Elovirta | Date | Re: [xsl] 2 XML source, Simon Kelly |
Month |