[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Testing for Parent Nodes of multiple types

Subject: RE: Testing for Parent Nodes of multiple types
From: "Ciaran Byrne" <ciaran.byrne@xxxxxxx>
Date: Wed, 14 Mar 2001 18:37:24 -0800
weel formed xml validator online
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:  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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.