Subject: Re: IDREFS with jade From: Paul Prescod <papresco@xxxxxxxxxxxxxxxx> Date: Sat, 13 Dec 1997 09:56:13 -0500 |
Patrice Bonhomme wrote: > > hi, > > Is it possible to process IDREFS attribute with Jade? If the answer is Yes, > how? I interpret your question at a different level than James does. Hopefully one of them will answer it. If I am interpreting it correctly, then these snippets from tei-lite.dsl should help: (define (LINK-WITH-TARGET-CONTENT) (with-mode ptr (process-element-with-id (attribute-string "target")))) (element PTR (LINK-WITH-TARGET-CONTENT)) (define (SIMPLE-CROSS-REFERENCE) (if (string? (attribute-string "target")) (make link destination: (idref-address (attribute-string "target")) color: *midnight-blue-color* font-posture: 'italic (make score type: 'after (process-children-trim)) (make sequence (with-mode ref (process-element-with-id (attribute-string "target"))))) (empty-sosofo))) (element REF (SIMPLE-CROSS-REFERENCE)) DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: IDREFS with jade, James Clark | Thread | Re: IDREFS with jade, Norman Walsh |
Re: IDREFS with jade, James Clark | Date | Archive restored, DSSSList Owner |
Month |