Subject: JADE--SGML Backend--attributes From: Pascal Le-Carrour <pascal.le-carrour@xxxxxxxxxxxxxxxx> Date: Wed, 24 Mar 1999 13:10:04 +-100 |
Is there any smart way to get the content of a tag (of input SGML) in a attributes value (of the output SGML) ? I do use the formatting-instruction sosofo to do the job but it requires to generate " by hand " the syntax : For instance, here is the code to generate the HREF attribute of a A Tag from the content of MY_TAG tag. This code also generates the content of the A tag with the content of MY_TAG tag. (element MY_TAG ... (make element gi: "TD" (make sequence (make formatting-instruction data: "<A HREF=\"mailto:" ) (process-children) (make formatting-instruction data: "\">" ) (process-children) (make formatting-instruction data: "</A>" ) ) ) ... ) Pascal Le Carrour Planète Interlignes - 44/46 rue de l'Ouest - 75014 Paris - France tel : +33 1 53 91 01 00, fax : +33 1 53 91 01 01 http ://www.planete-inter.fr DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Help about address keyword, Didier PH Martin | Thread | Re: JADE--SGML Backend--attributes, Jany Quintard |
Re: How to output HTML comments in , Jon Haugsand | Date | Re: JADE--SGML Backend--attributes, Jany Quintard |
Month |