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

Error message saying doc is not well formed, solved!

Subject: Error message saying doc is not well formed, solved!
From: Steve Fogel <STEVE.FOGEL@xxxxxxxxxx>
Date: Wed, 4 May 2011 11:34:33 -0700 (PDT)
 Error message saying doc is not well formed
Hi, all...

Thx for your responses.

First, a plug for the Oxygen XSLT stylesheet debugger, without which I may not
have ever found this.

Turns out that when I took this stylesheet out of system A and plugged it into
system B, it caused templates to be run out of order. It had a match attribute
that was the same as the match attribute of a system B template that should
have been run first. Instead, the template in this stylesheet ran first,
skipping all the code that writes out the enclosing <html> and <body> tags.

My plan is to attach a mode to the template in this stylesheet so I can have
better control over when it runs.

If anyone has a suggestion for a better way to control when this template
runs, I'd be glad to hear it. (Want to still use <apply-templates>, not
call-template.)

Thanks again.

Steve

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.