Subject: Re: [xsl] Translating XSD into an XSLT, experts approach needed From: Robert Koberg <rob@xxxxxxxxxx> Date: Wed, 25 Feb 2004 15:43:31 -0800 |
- I am attempting to automatically generate an XSLT style sheet that will render all the elements in an XML document as HTML (The XML instance document has already been created and does not have to be generated by the system). The visual display format is not pre-defined, and the output does not have to look good, just display all the data in the XML document as HTML.
<xsl:template match="/"> <html> ... <body> <xsl:apply-templates/> </body> </html> </xsl:template>
<xsl:template match="node()|@*"> <div class="{local-name()}"> <xsl:apply-templates/> </div> </xsl:template>
best, -Rob
Daniel Bryant
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Translating XSD into an X, Daniel Bryant | Thread | RE: [xsl] Translating XSD into an X, Michael Kay |
[xsl] RE: Troubleshooting a sort, Grant, Kathryn --- S | Date | [xsl] ignoring when transfor, Gill Shields |
Month |