|
Subject: Re: apache,perl,xml,xsl From: "Matthew MacKenzie" <matt@xxxxxxxxxxxxxxx> Date: Sun, 18 Apr 1999 08:23:07 -0300 |
Hi,
My script outputs something like:
<plink url="/cgi-bin/cart.cgi?A=FOO">Buy Me</plink>
..and the stylesheet simply does:
<xsl:template match="plink">
<xsl:element name="tr"><xsl:element name="td"><xsl:element name="a">
<xsl:attribute name="href"><xsl:value-of
select="@url"/></xsl:attribute>
<xsl:apply-templates/>
</xsl:element></xsl:element></xsl:element>
</xsl:template>
to make it into an old fashioned link that IE can use.
_____________
Matthew MacKenzie
matt@xxxxxxxxxxxxxxx
----- Original Message -----
From: admin <admin@xxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxx>
Sent: Sunday, April 18, 1999 4:22 AM
Subject: Re: apache,perl,xml,xsl
> Hi: That looks great. Just how does the linking work? Thanks, Tom
>
>
> ---------- Original Message ----------------------------------
> From: "Matthew MacKenzie" <matt@xxxxxxxxxxxxxxx>
> Reply-To: xsl-list@xxxxxxxxxxxxxxxx
> Date: Wed, 14 Apr 1999 17:12:49 -0300
>
> >So far, I have only worked with displaying things in IE5. I am in a
wicked
> >learning curve right now; thankfully people on this list have been kind
> >enough to answer my juvenile XSL questions.
> >
> >> If you want to see Apache and Perl working, I have a sample
> >> available at http://www.eccnet.com/xmledi. The first is
> >> a simple bookorder form that creates an XML document. The
> >> original version used an XSL stylesheet (first draft).
> >> Now I just attached a CSS stylesheet to it until I get
> >> some free time to create a new XSL style sheet for it.
> >
> >I will take a look. I am just wrapping up an application in perl that
uses
> >Perl,CSS,XSL,and of course, XML. It takes a Lecart shopping cart
database
> >and creates XML which is peppered with information on how to display the
> >page, for XSL to transform..(it is multiuser, so some 'storefronts' will
> >need to have a diffrent stylesheet, logo, etc.) It is pretty
interesting,
> >and can be accessed at
> >http://www.cartnetwork.com/cgi-bin/xml/prod2xml-b1.pl?DB=newco for now,
the
> >script is still under development..I plan on removing the query string
and
> >using PATH_INFO to make the url prettier. I really love this XSL
> >stuff...thank you thank you thank you to whoever thought it up ;)
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: apache,perl,xml,xsl, admin | Thread | Re: Grand Unification Theory, Jelks Cabaniss |
| Re: Formatting Objects considered h, Lars Marius Garshol | Date | Re: Formatting Objects considered h, Paul Prescod |
| Month |