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

document() function - unknown protocol

Subject: document() function - unknown protocol
From: Jim Nachlin <jnachlin@xxxxxxxxxxx>
Date: Tue, 14 Oct 2003 13:21:55 -0400 (EDT)
function of protocol
Hi List,

I hope that this is an appropriate question for this list.

In trying to process an RDF foaf document [1] using the
stylesheet [2], the processor, which is members of the
javax.xml.transform package, gives an error which tells me that
the protocol "arg" is unknown in this statement:

<xsl:when test="document('arg:/ifp')/*/*/*">
  <xsl:variable name="ifp">
    <xsl:copy-of select="document('arg:/ifp')/*[1]/*[1]/*[1]"/>
  </xsl:variable>
  <xsl:apply-templates mode="output"  ...   />
</xsl:when>

or

<xsl:variable name="def"
 select="document('arg:/schema')/ns/schema[@ns=$ns]/rdf:RDF/*[@rdf:about=$this or @rdf:ID=$name or @ID=$name]"/>

and in several other places.

In looking over the documentation on document(), there is no
mention of a protocol "arg" or what this could possibly be.  It
seems that the stylesheet is trying to refer to one of the
namespace URIs.

Refs:
[1] http://www.nachlin.com/foaf.rdf
[2] http://xml.mfd-consult.dk/foaf/explorer/explorer.xsl

Thanks in advance for helping an XSL noob.

Jim



 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.