Re: (data..), (attribute-string...), (node-property...)

Subject: Re: (data..), (attribute-string...), (node-property...)
From: Toby Speight <Toby.Speight@xxxxxxxxxxxxxx>
Date: 20 Aug 1998 17:45:54 +0100
John> John Sidlo <URL:mailto:jsidlo@xxxxxxxxxxxxxxxxxx>

0> In article <003c01bdcb78$4a113e40$acd7e226@PSI>, John wrote:

John> In Jade I am trying to extract the data from a nodelist representing:
John>
John> <title>foo<footnote>bar</footnote>more foo</title>
John>
John> The dsssl expression (data nl) returns (correctly) "foobarmore foo";
John> I want to extract "foomore foo".  I've tried (attribute-string "data"
John> nl) and (node-property 'data nl), but the property "data" doesn't
John> seem to be defined.

If you just want to output them, rather than actually using it as a
string, is it possible to use a mode?  Like this:

(mode no-elements
 (default (empty-sosofo)))


(element ("title")
  (with-mode no-elements
     (process-children)))

Or does the (default ...) rule also apply to data nodes?

-- 


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread
  • (data..), (attribute-string...), (node-property...)
    • John Sidlo - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id JAA29553Wed, 19 Aug 1998 09:54:27 -0400 (EDT)
      • Daniel Speck - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id KAA28263Thu, 20 Aug 1998 10:53:38 -0400 (EDT)
      • Toby Speight - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id MAA06334Thu, 20 Aug 1998 12:47:31 -0400 (EDT) <=
      • <Possible follow-ups>
      • shennessy - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id LAA19018Wed, 19 Aug 1998 11:52:00 -0400 (EDT)
        • John Sidlo - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id QAA20986Wed, 19 Aug 1998 16:15:47 -0400 (EDT)
          • Brandon Ibach - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id OAA12286Thu, 20 Aug 1998 14:22:27 -0400 (EDT)
          • John Sidlo - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id PAA16334Thu, 20 Aug 1998 15:52:02 -0400 (EDT)