Subject: AW: Problem with SGML to SGML Conversion From: Roland Schopf <Roland.Schopf@xxxxxxxxxxx> Date: Fri, 21 Jan 2000 11:52:09 +0100 |
Just to be sure : Am I right by assuming that nl-versorgungsnummern und
nl-number are the same and that the difference is a typo ?
[Roland Schopf] Yes, sorry
It seems that attribute-string doesnt return the value you need.
First, you can try to know what is really returned by using (debug ), like
this :
(debug (list "ROWSEP" ..... )
The debug doesn't modify the result. It returns its argument.
I guess the second member of the list will be #f (false).
[Roland Schopf] You're right ;-)
The reason for this could be in your SGML declaration (NAMECASE), so that
jade (or SP) can't match lower and upper case attributes
(<row rowsep="1" colsep="0"> and ROWSEP COLSEP). And the same for
functions which use the gi of an element :
(ancestor "ROW" (current-node)) can't find <row rowsep="1" colsep="0">
[Roland Schopf] with all upper case, it works fine. Only one problem still exists, if ROWSEP and COLSEP are missing (-> <row>). This returns #f. Could you imagine any workaround?
This is the case if your input file is an XML one.
[Roland Schopf] it is SGML
The best way is to use the same case in style sheet than in data file.
Yo can use the fonction (normalize string) (see in Norman Walsh docbook
stylesheet)
It seems that ROWSEP is added twice in your ROW output element ?
[Roland Schopf] should be COLSEP in the second appearence - this just happened be coping different chunks together
Hope it helps.
[Roland Schopf] Thank you very much!!
------------------------------------------------------
Jany Quintard | Et les enfants de choeur
IBM Paris Laboratory | Branlant du chef, opinent
Tel : 33 (0)2 51 16 40 36 | G. Brassens (La religieuse)
DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Problem with SGML to SGML Conve, Jany Quintard | Thread | Re: AW: Problem with SGML to SGML C, Jany Quintard |
Re: Problem with SGML to SGML Conve, Jany Quintard | Date | Re: AW: Problem with SGML to SGML C, Jany Quintard |
Month |