xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mahesh Shantaram" <emm...@earthling.net>
Subject Linking in XSL
Date Mon, 06 Dec 1999 17:17:51 GMT

How do I declare hypertext references in XSL?

Suppose I want to design a Yahoo-like directory structure, I would code the
XML data like this...

<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="directory.xsl" ?>
   <category name="Computers" url="index.html">
      <sub-category url="index01.html">Internet</sub-category>
      <sub-category url="index02.html">WWW</sub-category>
      <sub-category url="index03.html">Networking</sub-category>

What XSL code will link each category and sub-category name to its
respective HTML document? Any pointers to tutorials?

- Mahesh Shantaram,
  Technology Journalist @ www.ciol.com

"I never make mistakes (I once thought I did, but I was wrong.)"

View raw message