Subject: Re: [xsl] Error at element constructor...|
From: SEXpeare <sexpeare@xxxxxxxxx>
Date: Mon, 12 Mar 2007 10:58:12 +0100
Excuse me if I ain't understand you the right way, but giving an Id to both xsl and xml (c:\ on both) doesn't make any difference, the same error is occurring, I'll show you the start of my xsl in case it could be wrong:
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:xdt="http://www.w3.org/2005/xpath-datatypes" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <xsl:output method="xml" version="1.0" encoding="iso-8859-1" indent="yes"/> <xsl:template match="/boletin"> <boletin> <info>
The error appears in line 5, so I don't think the rest of the xsl has to do with the error.
> Thx Michael, but this is a Web Service, and the XML comes in > a DataHandler wich I pass to the getISFromDH to obtain the > InputStream, wich systemId should I use for that???
You can pass any system ID (URI) you like, bearing in mind that if you call the document() function then relative URIs will be interpreted relative to that base URI.
Michael Kay http://www.saxonica.com/