Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old March 13th, 2007, 10:17 AM
Authorized User
Join Date: Mar 2007
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default Using XML Spy and an XSL document.

I have opened an XML document in XML Spy.

I am trying to add a line to this XML DOCUMENT which is a reference
to the xsl document which is in the same folder :

<?xml-stylesheet type="text/xsl" href="cdcatalog.xsl"?>

When I try to save this,i get prompted :

Document not valid.

Any idea why this is happening?
I am using XML spy for the first time.

Also,how can use the XML SPY as a transformer ?

Old March 13th, 2007, 11:41 AM
Registered User
Join Date: Mar 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

Normally, I check well-formedness (F7) and validate the file (F8) before I save a file. Perhaps, your document is missing some tag or can not reference to a DTD or schema.



Old March 13th, 2007, 07:04 PM
Friend of Wrox
Join Date: Jul 2006
Posts: 430
Thanks: 28
Thanked 5 Times in 5 Posts
Send a message via Yahoo to bonekrusher

Can you post you code?

Old June 12th, 2007, 02:43 PM
Registered User
Join Date: Jun 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

quote:Originally posted by JohnnyP
 Normally, I check well-formedness (F7) and validate the file (F8) before I save a file.
XMLSpy validates automatically for you on saving a document. By default this is turned on in "Tools|Options..."


Plugins for XMLSpy to increase usability and functionality!

Similar Threads
Thread Thread Starter Forum Replies Last Post
xsl:result-document instruction bonekrusher XSLT 3 April 12th, 2007 06:01 PM
document('') and xsl from javascript strings AlexBirch XSLT 1 August 29th, 2006 08:47 AM
Altova XML Spy 2005 Edition - open 'Browser' view crmpicco XML 1 March 16th, 2006 04:04 PM
XML Spy question - output window extn pgtips XML 0 October 1st, 2004 07:06 AM
Creating a html in an xsl document allenatmarc XSLT 2 June 16th, 2004 04:10 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.