Subject: Re: [xsl] Access denied From: "M. David Peterson" <m.david@xxxxxxxxxx> Date: Sun, 07 Nov 2004 19:55:58 -0800 |
I kept getting "...Only one top level element isThe problem then is not with your XSL file but your XML file... I'm not sure what processor you are using but the "sound" of the error is much more like that of what a XML parser will display when parsing a badly formed XML document. You need to reduce the number of top level elements before your transformation will work... so, for example, if your XML looks like this:
allowed in an XML document. Error processing resource"
even though I have checked many times that there is
only one top level element which is <xsl:stylesheet>
Can someone help? Here's the xslt file.
<?xml version="1.0" encoding="utf-8"?> <elements> <element/> </elements> <elements> <element/> </elements>
<?xml version="1.0" encoding="utf-8"?> <elements> <elements> <element/> </elements> <elements> <element/> </elements> </elements>
<?xml version="1.0" encoding="utf-8"?> <elements> <element/> <element/> </elements>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Top Level Element Error, Andy Dent | Thread | Re: [xsl] Access denied, Geert Josten |
Re: [xsl] XML/XSL free editor (ecli, chels | Date | [xsl] XSL, XSL:FO, Arun Sinha |
Month |