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

RE: FW: How to realize document()

Subject: RE: FW: How to realize document()
From: "Chris Bayes" <chris@xxxxxxxxxxx>
Date: Thu, 20 Sep 2001 08:31:31 +0100
msxml3a.dll
Yaswanth,
Go here http://www.bayes.co.uk/xml/index.xml?/xml/utils/instalmsxml.xml
if you can see the page your ie is working ok. You probably don't have
it in replace mode. Follow the instructions

Ciao Chris

XML/XSL Portal
http://www.bayes.co.uk/xml


> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Kumar, Yaswanth
> Sent: 20 September 2001 05:21
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  FW: How to realize document()
> 
> 
> I use IE 5.5.  I don't know which version of MSXML is being 
> used by IE.  My OS is Windows '98.  I have made a search in 
> windows/system folder and found the following dlls' 
> MSXML.dll, MSXML3.dll, MSXML3a.dll, MSXML3r.dll.  Is there 
> anything I am missing?
> 
> Also, I have tried the suggested solutions, still I am unable 
> to view the data.
> 
> The modified XSL is:
> 
> test1.xsl:
> ==========
> <?xml version="1.0"?>
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> version="1.0">
> <xsl:variable name="vartest" select="document(source.xml)" /> 
> <xsl:output method="xml" /> <xsl:variable name="numTest" 
> select="4" /> <xsl:template match="/"> <html> <head> 
> <title>Test for XInclude</title> </head> <body>
> 	<p>Value of numTest is <xsl:value-of select="$numTest" /> </p>
> 	<p><xsl:value-of select="$vartest" /><BR />
> 	<xsl:for-each select="$vartest/chapter/p">
> 		Value of i is: <xsl:value-of select="i" /><br />
> 		value of b is: <xsl:value-of select="b" /><br />
> 	</xsl:for-each></p>
> </body>
> </html>
> </xsl:template>
> </xsl:stylesheet>
> ===========================
> 
> Here again, I am unable to print the value of $numTest.
> 
> Thanks in Advance!
> 
> Yash
> 
> 
> Subject: RE:  how to realize document() 
> From: Dmitri Ilyin <dmitri.ilyin@xxxxxxxxx> 
> Date: Wed, 19 Sep 2001 16:03:58 +0200 
> 
> 
> Which version of IE do you use.
> IE 5.x with MSXML 2.5 has problems with document() function...
> 
> > -----Original Message-----
> > From: cutlass [mailto:cutlass@xxxxxxxxxxx]
> > Sent: Wednesday, September 19, 2001 3:47 PM
> > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> > Subject: Re:  how to realize document()
> > 
> > 
> > at first glance u may be having troubles with the
> > 
> > http:// of the document() call
> > 
> > i would first try including the documents as a local file (
> > ie.place your
> > xml and xsl file in same directory) and call simply 
> > document('source.xml')
> > 
> > if this works ( once again havent looked through your xsl
> > code ) then u need
> > to have a valid uri/url for the document.,
> > 
> > cheers, jim fuller
> > 
> > ----- Original Message -----
> > From: "Kumar, Yaswanth" <yaswanth.kumar@xxxxxxx>
> > To: <XSL-List@xxxxxxxxxxxxxxxxxxxxxx>
> > Sent: Wednesday, September 19, 2001 8:04 AM
> > Subject:  how to realize document()
> > 
> > 
> > > Hi All,
> > >
> > >     I am unable to get the values of the nodes that are in
> > external xml
> > > document.
> > >
> > >     I am a beginner in using XML and XSLT, just learning
> > its features by
> > > examples.
> > >
> > >     The XML source of the example I tried is as follows:
> > >
> > > test1.xml:
> > > ==========
> > >
> > > <?xml version="1.0"?>
> > > <?xml-stylesheet type="text/xsl" href="test1.xsl"?> <document>
> > >   <p>The relevant excerpt is:</p>
> > > </document>
> > >
> > > source.xml:
> > > ===========
> > > <chapter>
> > >   <p>
> > > <i>Sentence 1.</i>
> > > <b>Sentence 2.</b>
> > >   </p>
> > >   <p>
> > > <i>Sentence 3.  Sentence 4.</i>
> > > <b>Sentence 5.</b>
> > >   </p>
> > > </chapter>
> > >
> > > test1.xsl:
> > > ==========
> > > <?xml version="1.0"?>
> > > <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> > > version="1.0">
> > > <xsl:variable name="vartest" 
> > > select="document('http://intpw2131/pms_local/source.xml')" /> 
> > > <xsl:template match="/"> <html>
> > > <head>
> > > <title>Test for XInclude</title>
> > > </head>
> > > <body>
> > > <p>Hello</p>
> > > <p>Test Data<BR />
> > > <xsl:for-each select="$vartest/chapter/p">
> > > Value of i is: <x:value-of select="i" /><br />
> > > value of b is: <x:value-of select="b" /><br />
> > > </xsl:for-each></p>
> > > </body>
> > > </html>
> > > </xsl:template>
> > > </xsl:stylesheet>
> > >
> > >
> > >     I found many pointers in the archives, but they just
> > didn't work for
> > > me..  I was trying to realize the examples in the 
> internet explorer.
> > >
> > >     Please help me in this regard!
> > >
> > >     Thanks in advance!
> > >
> > > Yash
> > >
> > >  XSL-List info and archive:
> http://www.mulberrytech.com/xsl/xsl-list
> >
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 
> 
> 
> 
>  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-2011 All Rights Reserved.