This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Document() question
Hi!
I have a question that has for sure been a topic in this list before, but
I didnt find a match from previous listings.
I need to select some values from a different xml file. To be more exact
I need to find the latest document from file TopicIndex.xml and insert the
values to 000000001001.xml file. Values that I need are: SignStatus, DocType,
Time, Sender, Subject. The result is shown in html format.
TopicIndex.xml:
<snip>
<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
<Document View="Week" Value="23">
<Information SignStatus="Open">
<DocType>CDR</DocType>
<Time>01/09/09</Time>
<Clock>01:45:03</Clock>
<Sender>Moilanen Jarkko</Sender>
<Subject id="0000000001" id2="001">3. JPr hyökkäyskäsky Haminassa</Subject>
<Subject2>Xsl- muutokset</Subject2>
<Infofield>
<Topic>Include hommat ei pelaa</Topic>
</Infofield>
</Information>
<Information SignStatus="Open">
<DocType>CDR</DocType>
<Time>01/09/10</Time>
<Clock>11:45:03</Clock>
<Sender>Moilanen Jarkko</Sender>
<Subject id="0000000004" id2="002">RE:3. JPr hyökkäyskäsky
Haminassa</Subject>
<Subject2>Xsl- muutokset</Subject2>
<Infofield>
<Topic>Include hommat ei pelaa</Topic>
</Infofield>
</Information>
</Document>
</snip>
This file is larger than exposed here.
******************************************************************
Jarkko Moilanen *You are wise, witty, and wonderful, *
Researcher/ ITCM *but you spend too much time *
jm60697@uta.fi *reading this sort of trash. *
www.uta.fi/~jm60697 * *
GSM: +358 50 3766 927 * *
******************************************************************
* ITCM | Information Technology and Crisis Management *
* http://www.itcm.org *
******************************************************************
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list