[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] document(lang_*.xml)?


Subject: [xsl] document(lang_*.xml)?
From: Jarkko.Moilanen@xxxxxx
Date: Fri, 24 Jan 2003 14:13:24 +0200

Hi!

I have situation where I should choose one attribute value from 
several xml file. I dont have the exact count or names of the files, 
because it varies from time to time. But the name of these files constructs of
lang_*.xml, where * can have two characters (alphabets).The structure 
of the sourcetrees is always similar:

<?xml version ="1.0" encoding="ISO-8859-1"?>
<Language id="English" value="en"/>

Now this kind of selecting does not work:

<xsl:value-of select="document(lang_*.xml)/Language/@id"/>

Idea is like using * to point to several files.

Any ideas how to do it......

Cheers, Jarkko

***************************************************
* Jarkko Moilanen                                 *
* Project Researcher, ITCM (www.itcm.org)         *
* Profound XML technology Expert (dreams)         *
* University of Tampere                           *
* Hypermedia Laboratory                           *
***************************************************

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords
xml