Click here to Skip to main content
15,886,788 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralXML validation through XSD Pin
Het210927-Dec-04 23:00
Het210927-Dec-04 23:00 
GeneralRe: XML validation through XSD Pin
DavidNohejl28-Dec-04 9:05
DavidNohejl28-Dec-04 9:05 
GeneralRe: XML validation through XSD Pin
Het210931-Dec-04 21:48
Het210931-Dec-04 21:48 
GeneralW3C XML standards Pin
Nosheen Iqbal21-Dec-04 16:20
Nosheen Iqbal21-Dec-04 16:20 
GeneralI want XML to draw the network topology Pin
Mohammed Aijaz Mohiuddin21-Dec-04 6:00
Mohammed Aijaz Mohiuddin21-Dec-04 6:00 
GeneralRe: I want XML to draw the network topology Pin
DavidNohejl21-Dec-04 8:29
DavidNohejl21-Dec-04 8:29 
GeneralSkip blocks of nodes with XSL Pin
Milby00720-Dec-04 0:22
Milby00720-Dec-04 0:22 
GeneralRe: Skip blocks of nodes with XSL Pin
Milby00720-Dec-04 3:13
Milby00720-Dec-04 3:13 
I've just realised that by changing the conditions return value from "TRUE" to "FALSE" (see merge-data.xml above), you can see it skipping the block. this is great, but after it's skipped the block it returns and continues processing from it's original position. e.g. it meets the first condition tag (if statement), then the template causes the jump to the else block because the if evaluates to false, but once that call has been completed it continues from the original condition tag (if statement). so basically the apply-templates is put on a call stack as it is in most programming languages' function calls. something i hadn't realised!! the problem is how to prevent it from continuing along nodes that i want to skip. i'm pretty sure it's down to the initial <xsl:apply-templates select="doc/page/content"/> found in the root template. it's obviously going to end up calling a template for all implemented tags under the content node. can anyone see a way to change this statement to be a bit more selective in which nodes it processes? or any other suggestions would be great!!

thanks!!
GeneralRe: Skip blocks of nodes with XSL Pin
Milby00720-Dec-04 23:46
Milby00720-Dec-04 23:46 
GeneralBasic XML Pin
sharkbait16-Dec-04 3:55
sharkbait16-Dec-04 3:55 
GeneralXslt generated XML string format problem. Pin
titabonbon15-Dec-04 19:27
titabonbon15-Dec-04 19:27 
GeneralRe: Xslt generated XML string format problem. Pin
DavidNohejl17-Dec-04 12:17
DavidNohejl17-Dec-04 12:17 
GeneralRe: Xslt generated XML string format problem. Pin
titabonbon22-Dec-04 15:25
titabonbon22-Dec-04 15:25 
GeneralRe: Xslt generated XML string format problem. Pin
DavidNohejl23-Dec-04 0:06
DavidNohejl23-Dec-04 0:06 
GeneralRe: Xslt generated XML string format problem. Pin
titabonbon23-Dec-04 12:58
titabonbon23-Dec-04 12:58 
GeneralRe: Xslt generated XML string format problem. Pin
DavidNohejl23-Dec-04 13:28
DavidNohejl23-Dec-04 13:28 
GeneralRe: Xslt generated XML string format problem. Pin
titabonbon26-Dec-04 12:14
titabonbon26-Dec-04 12:14 
GeneralRe: Xslt generated XML string format problem. Pin
DavidNohejl26-Dec-04 14:16
DavidNohejl26-Dec-04 14:16 
QuestionDoes anybody know why XmlAttribute has ChildNodes property? Pin
DavidNohejl15-Dec-04 11:46
DavidNohejl15-Dec-04 11:46 
AnswerRe: Does anybody know why XmlAttribute has ChildNodes property? Pin
J4amieC20-Dec-04 3:09
J4amieC20-Dec-04 3:09 
GeneralRe: Does anybody know why XmlAttribute has ChildNodes property? Pin
DavidNohejl20-Dec-04 3:46
DavidNohejl20-Dec-04 3:46 
GeneralAsp.net - Xml Pin
Anonymous13-Dec-04 23:54
Anonymous13-Dec-04 23:54 
GeneralRe: Asp.net - Xml Pin
DavidNohejl14-Dec-04 2:15
DavidNohejl14-Dec-04 2:15 
GeneralConverting xsd via xsl to code Pin
mgaerber13-Dec-04 7:36
mgaerber13-Dec-04 7:36 
General.NET support for XSLT 2.0 and XPath 2.0 Pin
Jim Taylor12-Dec-04 23:33
Jim Taylor12-Dec-04 23:33 

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.