RE: [xsl] Testing for Parent Nodes of multiple types

Subject: RE: [xsl] Testing for Parent Nodes of multiple types
From: "Ciaran Byrne" <ciaran.byrne@xxxxxxx>
Date: Wed, 14 Mar 2001 18:37:24 -0800
Sorry maybe well-formed was not used in the correct context.
Initially I pass the content through the MSXML parser
with no validation against a DTD. This provides me
with a well-formed XML document..Doc A

Even though Doc A is well-formed XML, it isn't the well-formed
content I want. For example,


is well formed but the content I want is


After I've attempted to 'tidy' the content I do a second pass through
the MSXML this time with validation on. Result: Tidied,well-formed content.

-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of David
Sent: Wednesday, March 14, 2001 10:03 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] Testing for Parent Nodes of multiple types

> The content I receive is not always well-formed. By passing
> it through my XSL I could attempt to achieve well-formedness.

??? If it isn't weel formed it won't get past the XML parser so it will
never form input to the XSL engine. You can't use XSL for documents that
are not well formed XML.


This message has been checked for all known viruses by Star Internet
through the MessageLabs Virus Control Centre. For further information visit

 XSL-List info and archive:

 XSL-List info and archive:

Current Thread