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

RE: trouble validating my XSL transformed code

Subject: RE: trouble validating my XSL transformed code
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Sun, 28 Nov 2004 21:10:48 -0000
transformed by trouble
(a) The W3C validator validates the XML file that you supply, it doesn't
invoke a transformation on it first.

(b) The doctype-system attribute in xsl:output causes a <!DOCTYPE>
declaration to be included in the serialized output of the transformation;
it does not cause any validation of the output to take place.

Run the transformation first, then supply the output to a process that does
validation.

Michael Kay

> -----Original Message-----
> From: Wong Chin Shin [mailto:publicbbs@xxxxxxxxxxxxxxxx] 
> Sent: 28 November 2004 19:35
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  trouble validating my XSL transformed code
> 
> Hi,
> 
> I'm trying to validate the following URL:
> 
> http://www.nascencetech.com/recruitexpressmy/webadmin/AddPage.xml
> 
> against http://validator.w3.org but I'm getting confused.
> 
> I've set the DOCTYPE declaration in my XSL file
> (http://www.nascencetech.com/recruitexpressmy/xsl/webadmin.xsl) and I
> expected the validator to get the transformed code and 
> validate that. But
> the validator throws back a DOCTYPE unfound error at me and 
> referred to the
> XML file directly. Is it possible validate the results of the 
> transformation
> without manually copying the results into another file and 
> validating that
> file instead?
> 
> Thanks!
> Wong

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.