[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] I need Tags...
Hi, ich have this XML: <?xml-stylesheet type="text/xsl" href="\\Osfile1\Consulting\dvpcon\VB\Tozlu\AXL\AxvbConfiger\AXL.xsl"?> <Config> <NC_Gruppen> <DE_TAB> <VC_Name>Allgemeine Einstellungen</VC_Name> <DE_Abschnitt>Versionsnummer der Leistungserfassung</DE_Abschnitt> <DE_Textbox> <VC_VersionAXL>3.60.0.609°Diagnosestandardkatalog</VC_VersionAXL> <VC_DatumAXL>17.10.2002°Therapiestandardkatalog</VC_DatumAXL> </DE_Textbox> <DE_Abschnitt>Versionsnummer der Config-Datei</DE_Abschnitt> <DE_Textbox> <VC_Version>3.60.0.609°Versionsnummer der Config-Datei</VC_Version> <VC_Datum>17.10.2002°Erstellung der Config-Datei</VC_Datum> </DE_Textbox> <DE_TAB> <NC_Gruppen> <Config> I need this result: Allgemeine Einstellungen Versionsnummer der Leistungserfassung VersionAXL = 3.60.0.609°Diagnosestandardkatalog VC_DatumAXL = 17.10.2002°Therapiestandardkatalog Versionsnummer der Config-Datei VC_Version = 3.60.0.609°Versionsnummer der Config-Datei VC_Datum = 17.10.2002°Erstellung der Config-Datei I have follow xsl, but how can i show the tags with values in a HTML. <?xml version="1.0" encoding="UTF-16"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:template match="/"> <FONT FACE="Arial"> <xsl:apply-templates/> </FONT> </xsl:template> <xsl:template match="Config"> <xsl:for-each select="NC_Gruppen/DE_TAB"> <br> <I> <b> <u> <xsl:value-of select="VC_Name"/> </u> </b> </I> </br> <br/> <xsl:for-each select="./DE_Abschnitt"> <br/> <u> <TR> <TD BGCOLOR="#F0F0F0"> <xsl:value-of select="."/> </TD> </TR> </u> <br/> </xsl:for-each> </xsl:for-each> </xsl:template> </xsl:stylesheet> Many thanks Maria XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|