[thelist] Fighting with XML, XSL....

Tab Alleman talleman at RealMetros.com
Mon Nov 5 13:24:14 CST 2001


Well I can tell you that based on the error message, it looks like you
have some data that isn't in an element... the first tag:  <?xml
version="1.0" encoding="UTF-16"?>  is just kind of a declaration.. it
doesn't have a closing tag.. the next thing that should come along the
is document root element (something like <list>...</list>).. but looks
like you go right into some text:  "Beginning XMLJohnMastering
XMLPeter".

hth..
Tab

-----Original Message-----
From: Nicole Parrot [mailto:nicole at parrot.ca]
Sent: Saturday, November 03, 2001 8:50 AM
To: thelist at lists.evolt.org
Subject: [thelist] Fighting with XML, XSL....


Hi evolters...

I've decided to do my latest project based on XML, for the experience.
The
client doesn't care either way, as long as I deliver something.  I've
toyed
with XML a little while ago (I even remember answering a few questions
here
at the time :)   ) but now I'm lost.
My XML file is now properly generated, although the accompanying DTD is
not
done. It's a listing of companies, with contact info, and addresses.

I'm trying to generate the appropriate html pages from that, using
VBScript.
My Web server is IIS 5.1, the version that comes with Windows XP
Professional.  I'm going with a script found on MSDN, and guess what,
the
script doesn't work...  The script can be found here:
http://support.microsoft.com/support/kb/articles/Q301/3/94.asp?SD=MSDN&F
R=0

And this is the error I am getting using IE: (I have a straight
copy/paste
of the example in the above URL). Anyone here has a clue???

    Switch from current encoding to specified encoding not supported.
Error
processing resource
'http://localhost/atoz/TransformXml.asp?xml=Books.xml&xsl=Books.xsl'.
Line
1, Position 40

<?xml version="1.0" encoding="UTF-16"?>Beginning XMLJohnMastering
XMLPeter
---------------------------------------^


Thanks for any help thrown my way...

<Nicole />




---------------------------------------
For unsubscribe and other options, including
the Tip Harvester and archive of TheList go to:
http://lists.evolt.org Workers of the Web, evolt ! 




More information about the thelist mailing list