XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Conferences Close Tree View
+ Stylus Studio Feature Requests (1192)
+ Stylus Studio Technical Forum (14621)
+ Website Feedback (249)
- XSLT Help and Discussion (7625)
-> + Use of before and after string (3) Sticky Topic
-> - How do I substitute element ty... (1)
-> + How does one add working days ... (4)
-> - Help, I have existing XLT and... (1)
-> + Need help on XSLT issue - (2)
-> + EDI to XML Conversion (7)
-> - XML To JSON Conversion using X... (1)
-> + Formatting Paragraphs to same ... (2)
-> - Grouping of records (1)
-> + Problems with xsd 1.1 (4)
-> + XML to HL7 mapping (3)
-> + XSLT 3 and Iterate (2)
-> + XSL-FO to PDF preview (3)
-> + java.lang.RuntimeException: Er... (2)
-> + Create Acroforms with Stylus X... (2)
-> + How to change XSLT parameter s... (3)
-> + how to change format of the da... (2)
-> + Search "Next 8 Results " doesn... (2)
-> - Support for Git (1)
-> + newbee (8)
-- [1-20] [21-40] [41-60] Next
+ XQuery Help and Discussion (2017)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
Topic  
Postnext
Tom WallsSubject: Problem Viewing XML Page on my local server IIS
Author: Tom Walls
Date: 06 Feb 2006 08:12 AM
Hi,

Im new to xml technology and this is my first experience with the technology, Im developing an archive application in xml, where a number of files are stored in xml format. I have an xsl document that searchs through all my xml files and extracts all the files based on the given criteria in the xsl document.
The results appear successfully when opened through my local computer with Internet Explorer 6.0 Service pack 2, but I want to set up a main page in ASP for a user to be able to navigate to certian areas of the site. When I try to view the certian xml page (alldocs.xml) which is made from the xsl document (document.xsl) on the server i get the following error:

The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.


--------------------------------------------------------------------------------

The system cannot locate the object specified.

The two files are set up as:

alldocs.xml

<?xml version='1.0'?>
<?xml-stylesheet type="text/xsl" href="document.xsl" ?>
<groups>
<groupref href="45-1-1.xml"/>
<groupref href="45-1-10.xml"/>
<groupref href="45-1-100.xml"/>
<groupref href="45-1-101.xml"/>
<groupref href="45-1-102.xml"/>
<groupref href="45-1-103.xml"/>
<groupref href="45-1-104.xml"/>
<groupref href="45-1-105.xml"/>
<groupref href="45-1-106.xml"/>
<groupref href="45-1-107.xml"/>
<groupref href="45-1-108.xml"/>
<groupref href="45-1-109.xml"/>
<groupref href="45-1-11.xml"/>
<groupref href="45-1-110.xml"/>
</groups>

document.xsl

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

<xsl:template match="/">
<groups>
<xsl:apply-templates select="//groupref"/>
</groups>
</xsl:template>

<xsl:template match="groupref">
<html>
<body>
<table>
<xsl:variable name="results" select="document(@href)//SEVERITY[.='CRIT']"/>
<xsl:choose>
<xsl:when test="$results != ''">
<tr><td>
<a href="{@href}"><xsl:value-of select="document(@href)/ProblemExport/ProblemData/Abstract"/></a>
</td></tr>
</xsl:when>
</xsl:choose>
</table>
</body>
</html>
</xsl:template>

</xsl:stylesheet>

Posttop
(Deleted User) Subject: Problem Viewing XML Page on my local server IIS
Author: (Deleted User)
Date: 06 Feb 2006 11:56 AM
Hi, Tom.

Can you give us a sample of the XML source you are using for your XSLT? Also, please let us know what version/build of Stylus Studio you are using.

David Foster
Stylus Studio Team

   
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.