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

RE: Has document(string) in MSXML 3 (July preview) worked fo

Subject: RE: Has document(string) in MSXML 3 (July preview) worked for anyone?
From: Eckenberger Axel <Extern.Eckenberger@xxxxxxxx>
Date: Wed, 6 Sep 2000 10:26:11 +0200
msxml 3 problems
Sara,

I used the document function already successfully, although with attribute
values. However, I just tested it with the following code and it seemed to
work fine ... (MSXML Beta 3.0 July Release)

---- source doc
<?xml version='1.0'?>
<?xml-stylesheet href="DocTest.xsl" type="text/xsl"?>
<Source id="1"/>

---- style sheet ----
<?xml version='1.0'?>
<xsl:stylesheet
       xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">

<xsl:template match="/">
	<xsl:copy-of select="document('TypeLibInfo.xml')/*"/>
</xsl:template>
</xsl:stylesheet>

So I guess the problem might be in the part following the document function
:-(

Axel

> -----Original Message-----
> From: sara.mitchell@xxxxxxxxx [mailto:sara.mitchell@xxxxxxxxx]
> Sent: Wednesday, September 06, 2000 1:51 AM
> To: xsl-list@xxxxxxxxxxxxxxxx
> Subject: Has document(string) in MSXML 3 (July preview) worked for
> anyone?
> Sensitivity: Private
> 
> 
> Due to a change in a tool, I've just begun using the July preview 
> of MSXML3. I've run into a problem today that may be a bug 
> (in MSXML or
> maybe in the other tool...) and am trying to confirm whether or not 
> anyone else using MSXML has been successful with this. 
> 
> I did check the newsgroups on MSDN first -- didn't see 
> anything quite like
> this but did see enough replies to other posts that make me 
> think document()
> is working in MSXML3. 
> 
> My template is as follows: 
> 
> <xsl:template match="glossary/glossptr">
> <xsl:variable name="linkterm" select="@linkend"/>
> <xsl:apply-templates
> select="document('ebizglos.xml')/docbook/book/glossary/glossen
> try[@id=$linkt
> erm]"/>
> </xsl:template>
> 
> The second XML file, ebizglos.xml is in the same directory as 
> the stylesheet, which I believe is where it should work properly. 
> When I run this transform from XT with the same basic setup, it
> works just fine. When I run it from inside my tool (XMetal) 
> calling MSXML 3, I get a 'cannot locate resource' error that 
> only goes away when I comment out the line with document(). 
> 
> Has anyone else out there used document() in MSXML3 with a 
> string argument? Or sees some other problem? Any confirmation
> at this point would help (at least to convince me that I'm 
> not going crazy ;-)
> 
> Sara
> 
> 
>  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.