Subject: RE: [xsl] Reading XSLT results into a program (long) From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Fri, 19 Jan 2001 15:06:52 +0000 |
<xsl:template match="@*|node()"> <xsl:copy> <xsl:apply-templates select="@*|node()"/> </xsl:copy> </xsl:template>
<xsl:template match="/"> <result> <xsl:apply-templates select="//reader"> <xsl:sort select="@username"> </xsl:apply-templates> </result> </xsl:template>
Regards, Wendell
The XSL-ness of the question is in the output of the transformation - I want to use XSLT to filter/sort my XML data. It's not really an XML question per se. I would like to have a "neat" way of always transforming into some format of data, like SQL gives you when it produces a resultset for you.
I think the answer is that there isn't a way - that's what I was looking for, hoping not to have missed some obvious or clever way to handle XSLT output. Tools such as XSLT have to be considered when making the choice of relational DB vs. XML storage and I am asking the question in that respect. Thanks to all who responded.
Don
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Reading XSLT results into, Michael Kay | Thread | RE: [xsl] Reading XSLT results into, Don Bruey |
[xsl] problem with Passing Paramete, Helen_Li | Date | RE: [xsl] xsl:script, Shimon Pozin |
Month |