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

Re: Finding list items in XHTML

Subject: Re: Finding list items in XHTML
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Tue, 12 Nov 2002 18:25:51 -0500
xhtml list item problem
Hi Chris,

At 05:43 PM 11/12/2002, you wrote:
I'm trying to tackle the <p> -> <li> problem first, since that seemed to be easier.

Sounds good.


[stylesheet and source snipped]
This is unchanged by the transformation. Do you see the error of my ways?

Nope: when I ran your stylesheet over the snippet of source you gave (after a couple of tweaklets to form it well), I got:


<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE div
  PUBLIC "+//ISBN 0-9673008-1-9//DTD OEB 1.0.1 Document//EN" "oebdoc101.dtd">
<div>
<li>Everyone in a company should have a written job description that accurately
reflects their responsibilities and is related to their compensation.</li>
<a id="page-059"/>

<li>HR can help you deal with problem employees. Because most companies fear
wrongful termination suits, problem employees often require delicate handling.
Know your firm's procedures for these situations and work closely with HR to
resolve them quickly.</li>
</div>

So the <p> elements did get changed ... you're moving along.

For getting those <li> elements wrapped as proper lists, take a look at

http://www.dpawson.co.uk/xsl/sect2/flatfile.html

Cheers,
Wendell


====================================================================== 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 ======================================================================


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.