Click here to Skip to main content
16,006,001 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralRe: dynamically creating selection box in xslt Pin
jignatiu24-Mar-05 0:57
jignatiu24-Mar-05 0:57 
QuestionWhat is the difference between Xpath/XSL/XSLT Pin
satishrg16-Mar-05 14:05
satishrg16-Mar-05 14:05 
AnswerRe: What is the difference between Xpath/XSL/XSLT Pin
DavidNohejl17-Mar-05 6:22
DavidNohejl17-Mar-05 6:22 
GeneralRe: What is the difference between Xpath/XSL/XSLT Pin
raman_learn10-Apr-05 18:50
raman_learn10-Apr-05 18:50 
Generalsqlcommand Pin
Anonymous16-Mar-05 4:27
Anonymous16-Mar-05 4:27 
GeneralRe: sqlcommand Pin
raman_learn10-Apr-05 18:51
raman_learn10-Apr-05 18:51 
GeneralConditional Tables Pin
Bassam Abdul-Baki16-Mar-05 2:31
professionalBassam Abdul-Baki16-Mar-05 2:31 
GeneralRe: Conditional Tables Pin
DavidNohejl17-Mar-05 6:47
DavidNohejl17-Mar-05 6:47 
hi,
well I guess the position of rows matters so exclude empty rows from xml is probably not an option...
One (quick&dirty) solution is to keep flag for each table - say hasRows attribute of table element.

Bassam Abdul-Baki wrote:
Is there a way to do this without looping twice to determine first if there is a non-empty row, then create the table tags?

hmm, well.. what about looping once, and keep flag (while creating table) if there were non-empty table? I don't know details so I have no idea what actions are expensive... btw how you do XML->HTML transformation? You said looping, to me it sounds like you are not using XSLT but your own code... is that right? Unsure | :~ If not my advices would probably differ Smile | :)

hope it helps

David

Never forget: "Stay kul and happy" (I.A.)

David's thoughts / dnhsoftware.org / MyHTMLTidy
GeneralRe: Conditional Tables Pin
Bassam Abdul-Baki18-Mar-05 7:04
professionalBassam Abdul-Baki18-Mar-05 7:04 
GeneralRe: Conditional Tables Pin
raman_learn10-Apr-05 19:04
raman_learn10-Apr-05 19:04 
GeneralRe: Conditional Tables Pin
Bassam Abdul-Baki11-Apr-05 2:04
professionalBassam Abdul-Baki11-Apr-05 2:04 
GeneralLearning XML :confused: Pin
ComplexLifeForm15-Mar-05 7:25
ComplexLifeForm15-Mar-05 7:25 
GeneralRe: Learning XML :confused: Pin
DavidNohejl15-Mar-05 9:00
DavidNohejl15-Mar-05 9:00 
GeneralProblem while savinh an XML file Pin
MaheshKumarV15-Mar-05 3:18
MaheshKumarV15-Mar-05 3:18 
GeneralRe: Problem while savinh an XML file Pin
Wilbur J. Pereira29-Mar-05 2:54
Wilbur J. Pereira29-Mar-05 2:54 
GeneralHacked Pin
lawson0014-Mar-05 6:37
lawson0014-Mar-05 6:37 
GeneralRe: Hacked Pin
DavidNohejl14-Mar-05 7:05
DavidNohejl14-Mar-05 7:05 
GeneralRe: Hacked Pin
lawson0014-Mar-05 8:01
lawson0014-Mar-05 8:01 
Questionhow to import and export xml file one machine to another machine in vb.net as well as asp.net Pin
vidyashankar14-Mar-05 4:58
vidyashankar14-Mar-05 4:58 
AnswerRe: how to import and export xml file one machine to another machine in vb.net as well as asp.net Pin
Bahadir Cambel14-Mar-05 5:49
Bahadir Cambel14-Mar-05 5:49 
Generalxml to wbxml Pin
Vish_4_u11-Mar-05 3:14
Vish_4_u11-Mar-05 3:14 
GeneralCreating an XML document from a dataset Pin
kmenezes10-Mar-05 14:06
kmenezes10-Mar-05 14:06 
Generalxml packet Pin
trupgmtuf10-Mar-05 8:29
susstrupgmtuf10-Mar-05 8:29 
QuestionXSL GetDate function ? Pin
kitntodd10-Mar-05 5:22
kitntodd10-Mar-05 5:22 
AnswerRe: XSL GetDate function ? Pin
Phil Hobgen10-Mar-05 13:04
Phil Hobgen10-Mar-05 13:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.