"Roman" == Huditsch Roman <Roman(_dot_)Huditsch(_at_)lexisnexis(_dot_)at>
writes:
Roman> Hi list,
Roman> I am sure that this question was risen in the past, too,
Roman> but I couldn't find any useful hint using the archive
Roman> search.
Roman> My use case: I want to search a given string in all XML
Roman> files contained in a given directory. I don't know the
Roman> amount and names of those XML files. I've done such a
Roman> thing before by generating a directory listing and then
Roman> reading it by unparsed-text() followed by some
Roman> analize-string instructions. Is there any way to provide a
Roman> directory to the document() function like
Roman> document('./*.xml')? Or is there a simple and performant
Roman> way to solve this use case with pure XSLT? Thank you very
Roman> much for your help!
The collection() function will probably do what you want (depending
upon the specific implementation).
--
Colin Adams
Preston Lancashire
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--