[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: apache,perl,xml,xsl

Subject: Re: apache,perl,xml,xsl
From: "Matthew MacKenzie" <matt@xxxxxxxxxxxxxxx>
Date: Sun, 18 Apr 1999 08:23:07 -0300
plink perl
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.