hallo, ich hab ein problem und weis nicht mehr weiter ;(
xml:
<master...>
<uhrzeit>16:05</uhrzeit>
<news>
<author>...</author>
...
</news>
<news>
<author>...</author>
...
</news>
<news>
<author>...</author>
...
</news>
...
<master...>
nun möchte ich dieses gerne in ein xhtml file umwandeln. das problem ist wenn ich im root template die uhrzeit einfüge
xsl:
...
<title>überschrift - <xsl:value-of select="/master/uhrzeit"/></title>
....
xsl:apply-templates/
...
und kurz danach apply-templates aufrufe wird die uhrzeit einfach nocheinmal, unformatiert in den body reingeschrieben da apply-template kein match für uhrzeit findet. ich hab die uhrzeit also einmal im title stehn wie's sein soll und nocheinmal im body.
wie umgehe ich das ?
danke!
ciao
johannes
PS: Das is nur ein vereinfachtes beispiel. die eigentliche xml und xsl sind weit komplexer.