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,

<foo>
<b>
text
</b>
</foo>

is well formed but the content I want is

<foo>
<p>
<b>
text
</b>
</p>
</foo>

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
Carlisle
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.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.star.net.uk/stats.asp

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread