HI. This is the code for getting values from one
url .But i am not getting values from the xml file. Is this right procedure
?
.xpl
<p:config xmlns:p="http://www.orbeon.com/oxf/pipeline"
xmlns:oxf="http://www.orbeon.com/oxf/processors" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <p:param name="data"
type="output"/>
<p:processor
name="oxf:url-generator">
<p:input name="config"> <config> <url>oxf:/apps/xforms-hello/new.xml</url> <content-type>xml/html</content-type> <cache-control> <use-local-cache>true</use-local-cache> </cache-control> </config> </p:input> <p:output name="data" id="xml"/> </p:processor> <p:processor
name="oxf:xslt">
<p:input name="data" href="#xml"/> <p:input name="config"> <xsl:value-of select="/name"/> </p:input> <p:output name="data" ref="data"/> </p:processor> </p:config>
.xsl:
<xhtml:html xmlns:f="http://orbeon.org/oxf/xml/formatting"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xxforms="http://orbeon.org/oxf/xml/xforms" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xsl:version="2.0">
<xhtml:head><xhtml:title>URL
Generator</xhtml:title></xhtml:head>
<xhtml:body> <xhtml:p> Data in a xml file is </xhtml:p> <xhtml:p> <b><xsl:value-of select="/name"/></b> </xhtml:p> <xhtml:p> </xhtml:p> </xhtml:body> </xhtml:html> .xml:
<name> chandra</name>
Thanks & Regards, Chandrasekhar Mangipudi J2EE Developer, I-logicon, Bangalore, India. Mobile: 9986573322, [hidden email] [hidden email] -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Your oxf:xslt has only selected 'chandra' and your .xsl is looking for <name>.
I would suggest that you use xsl:copy-of in your oxf:xslt or add new xml tags in the config section. Something like this - <p:processor name="oxf:xslt"> <p:input name="data" href="#xml"/> <p:input name="config"> <myname> <xsl:value-of select="/name"/> </myname> </p:input> <p:output name="data" ref="data"/> </p:processor> and then change your .xsl to <b><xsl:value-of select="/myname"/></b> I hope this helps. Richard. ________________________________ From: ChandraSekhar Mangipudi [mailto:[hidden email]] Sent: Fri 22/06/2007 08:30 To: [hidden email] Subject: [ops-users] Code HI. This is the code for getting values from one url .But i am not getting values from the xml file. Is this right procedure ? .xpl <p:config xmlns:p="http://www.orbeon.com/oxf/pipeline" xmlns:oxf="http://www.orbeon.com/oxf/processors" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <p:param name="data" type="output"/> <p:processor name="oxf:url-generator"> <p:input name="config"> <config> <url>oxf:/apps/xforms-hello/new.xml</url> <content-type>xml/html</content-type> <cache-control> <use-local-cache>true</use-local-cache> </cache-control> </config> </p:input> <p:output name="data" id="xml"/> </p:processor> <p:processor name="oxf:xslt"> <p:input name="data" href="#xml"/> <p:input name="config"> <xsl:value-of select="/name"/> </p:input> <p:output name="data" ref="data"/> </p:processor> </p:config> .xsl: <xhtml:html xmlns:f="http://orbeon.org/oxf/xml/formatting" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xxforms="http://orbeon.org/oxf/xml/xforms" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xsl:version="2.0"> <xhtml:head><xhtml:title>URL Generator</xhtml:title></xhtml:head> <xhtml:body> <xhtml:p> Data in a xml file is </xhtml:p> <xhtml:p> <b><xsl:value-of select="/name"/></b> </xhtml:p> <xhtml:p> </xhtml:p> </xhtml:body> </xhtml:html> .xml: <name> chandra</name> Thanks & Regards, Chandrasekhar Mangipudi J2EE Developer, I-logicon, Bangalore, India. Mobile: 9986573322, [hidden email] [hidden email] This message has been scanned for viruses by MailControl <http://bluepages.wsatkins.co.uk/?6875772> This email and any attached files are confidential and copyright protected. If you are not the addressee, any dissemination of this communication is strictly prohibited. Unless otherwise expressly agreed in writing, nothing stated in this communication shall be legally binding. The ultimate parent company of the Atkins Group is WS Atkins plc. Registered in England No. 1885586. Registered Office Woodcote Grove, Ashley Road, Epsom, Surrey KT18 5BW. Consider the environment. Please don't print this e-mail unless you really need to. -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws winmail.dat (14K) Download Attachment |
HI. I am getting Style Sheet Error of : Failed to compile stylesheet. 1
error detected ----- Original Message ----- From: "Shaw, Richard A" <[hidden email]> To: <[hidden email]> Sent: Wednesday, June 20, 2007 1:43 PM Subject: RE: [ops-users] Code Your oxf:xslt has only selected 'chandra' and your .xsl is looking for <name>. I would suggest that you use xsl:copy-of in your oxf:xslt or add new xml tags in the config section. Something like this - <p:processor name="oxf:xslt"> <p:input name="data" href="#xml"/> <p:input name="config"> <myname> <xsl:value-of select="/name"/> </myname> </p:input> <p:output name="data" ref="data"/> </p:processor> and then change your .xsl to <b><xsl:value-of select="/myname"/></b> I hope this helps. Richard. ________________________________ From: ChandraSekhar Mangipudi [mailto:[hidden email]] Sent: Fri 22/06/2007 08:30 To: [hidden email] Subject: [ops-users] Code HI. This is the code for getting values from one url .But i am not getting values from the xml file. Is this right procedure ? .xpl <p:config xmlns:p="http://www.orbeon.com/oxf/pipeline" xmlns:oxf="http://www.orbeon.com/oxf/processors" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <p:param name="data" type="output"/> <p:processor name="oxf:url-generator"> <p:input name="config"> <config> <url>oxf:/apps/xforms-hello/new.xml</url> <content-type>xml/html</content-type> <cache-control> <use-local-cache>true</use-local-cache> </cache-control> </config> </p:input> <p:output name="data" id="xml"/> </p:processor> <p:processor name="oxf:xslt"> <p:input name="data" href="#xml"/> <p:input name="config"> <xsl:value-of select="/name"/> </p:input> <p:output name="data" ref="data"/> </p:processor> </p:config> .xsl: <xhtml:html xmlns:f="http://orbeon.org/oxf/xml/formatting" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xxforms="http://orbeon.org/oxf/xml/xforms" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xsl:version="2.0"> <xhtml:head><xhtml:title>URL Generator</xhtml:title></xhtml:head> <xhtml:body> <xhtml:p> Data in a xml file is </xhtml:p> <xhtml:p> <b><xsl:value-of select="/name"/></b> </xhtml:p> <xhtml:p> </xhtml:p> </xhtml:body> </xhtml:html> .xml: <name> chandra</name> Thanks & Regards, Chandrasekhar Mangipudi J2EE Developer, I-logicon, Bangalore, India. Mobile: 9986573322, [hidden email] [hidden email] This message has been scanned for viruses by MailControl <http://bluepages.wsatkins.co.uk/?6875772> This email and any attached files are confidential and copyright protected. If you are not the addressee, any dissemination of this communication is strictly prohibited. Unless otherwise expressly agreed in writing, nothing stated in this communication shall be legally binding. The ultimate parent company of the Atkins Group is WS Atkins plc. Registered in England No. 1885586. Registered Office Woodcote Grove, Ashley Road, Epsom, Surrey KT18 5BW. Consider the environment. Please don't print this e-mail unless you really need to. -------------------------------------------------------------------------------- > > -- > You receive this message as a subscriber of the [hidden email] > mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > -------------------------------------------------------------------------------- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.472 / Virus Database: 269.9.1/854 - Release Date: 6/19/2007 1:12 PM -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
I am getting Style Sheet Error of : Failed to compile stylesheet. 1 error
detected. <p:processor name="oxf:xslt"> <p:input name="data" href="#xml"/> <p:input name="config"> <myname> <xsl:value-of select="/name"/> </myname> </p:input> Here at this Line No: --------> <p:output name="data" ref="data"/> <--------------------------- </p:processor> ----- Original Message ----- From: "ChandraSekhar Mangipudi" <[hidden email]> To: <[hidden email]> Sent: Friday, June 22, 2007 2:45 PM Subject: Re: [ops-users] Code > HI. I am getting Style Sheet Error of : Failed to compile stylesheet. 1 > error detected > ----- Original Message ----- > From: "Shaw, Richard A" <[hidden email]> > To: <[hidden email]> > Sent: Wednesday, June 20, 2007 1:43 PM > Subject: RE: [ops-users] Code > > > Your oxf:xslt has only selected 'chandra' and your .xsl is looking for > <name>. > > I would suggest that you use xsl:copy-of in your oxf:xslt or add new xml > tags in the config section. Something like this - > > <p:processor name="oxf:xslt"> > <p:input name="data" href="#xml"/> > <p:input name="config"> > <myname> > <xsl:value-of select="/name"/> > </myname> > </p:input> > <p:output name="data" ref="data"/> > </p:processor> > > and then change your .xsl to > > <b><xsl:value-of select="/myname"/></b> > > I hope this helps. > > Richard. > > ________________________________ > > From: ChandraSekhar Mangipudi > [mailto:[hidden email]] > Sent: Fri 22/06/2007 08:30 > To: [hidden email] > Subject: [ops-users] Code > > > HI. This is the code for getting values from one url .But i am not getting > values from the xml file. Is this right procedure ? > > .xpl > > <p:config xmlns:p="http://www.orbeon.com/oxf/pipeline" > xmlns:oxf="http://www.orbeon.com/oxf/processors" > xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> > > <p:param name="data" type="output"/> > > <p:processor name="oxf:url-generator"> > <p:input name="config"> > <config> > <url>oxf:/apps/xforms-hello/new.xml</url> > <content-type>xml/html</content-type> > <cache-control> > <use-local-cache>true</use-local-cache> > </cache-control> > </config> > </p:input> > <p:output name="data" id="xml"/> > </p:processor> > > <p:processor name="oxf:xslt"> > <p:input name="data" href="#xml"/> > <p:input name="config"> > <xsl:value-of select="/name"/> > </p:input> > <p:output name="data" ref="data"/> > </p:processor> > > </p:config> > > .xsl: > > <xhtml:html xmlns:f="http://orbeon.org/oxf/xml/formatting" > xmlns:xhtml="http://www.w3.org/1999/xhtml" > xmlns:xforms="http://www.w3.org/2002/xforms" > xmlns:xxforms="http://orbeon.org/oxf/xml/xforms" > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > xsl:version="2.0"> > > <xhtml:head><xhtml:title>URL Generator</xhtml:title></xhtml:head> > <xhtml:body> > <xhtml:p> > Data in a xml file is > </xhtml:p> > <xhtml:p> > <b><xsl:value-of select="/name"/></b> > </xhtml:p> > <xhtml:p> > > </xhtml:p> > </xhtml:body> > </xhtml:html> > > > .xml: > > <name> chandra</name> > > > > Thanks & Regards, > > Chandrasekhar Mangipudi > J2EE Developer, > I-logicon, > Bangalore, India. > Mobile: 9986573322, > [hidden email] > [hidden email] > > > This message has been scanned for viruses by MailControl > <http://bluepages.wsatkins.co.uk/?6875772> > > > > This email and any attached files are confidential and copyright > protected. > If you are not the addressee, any dissemination of this communication is > strictly prohibited. Unless otherwise expressly agreed in writing, nothing > stated in this communication shall be legally binding. > > The ultimate parent company of the Atkins Group is WS Atkins plc. > Registered in England No. 1885586. Registered Office Woodcote Grove, > Ashley > Road, Epsom, Surrey KT18 5BW. > > Consider the environment. Please don't print this e-mail unless you really > need to. > > > > -------------------------------------------------------------------------------- > > >> >> -- >> You receive this message as a subscriber of the [hidden email] >> mailing list. >> To unsubscribe: mailto:[hidden email] >> For general help: mailto:[hidden email]?subject=help >> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws >> > > > -------------------------------------------------------------------------------- > > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.472 / Virus Database: 269.9.1/854 - Release Date: 6/19/2007 > 1:12 PM > > > -------------------------------------------------------------------------------- > > -- > You receive this message as a subscriber of the [hidden email] > mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > -------------------------------------------------------------------------------- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.472 / Virus Database: 269.9.1/854 - Release Date: 6/19/2007 1:12 PM -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
There is a bug whereby XSLT errors don't show up on the error page
anymore. But the logs should show what exact XSLT error has occurred. If you find that error, that will help. Although, looking at tyour processor below, I see you are not passing a valid XSLT stylesheet to the "config" input. Try this: <myname xsl:version="2.0"> <xsl:value-of select="/name"/> </myname> -Erik ChandraSekhar Mangipudi wrote: > I am getting Style Sheet Error of : Failed to compile stylesheet. 1 > error detected. > > > <p:processor name="oxf:xslt"> > <p:input name="data" href="#xml"/> > <p:input name="config"> > <myname> > <xsl:value-of select="/name"/> > </myname> > </p:input> > Here at this Line No: --------> <p:output > name="data" ref="data"/> <--------------------------- > </p:processor> > > ----- Original Message ----- From: "ChandraSekhar Mangipudi" > <[hidden email]> > To: <[hidden email]> > Sent: Friday, June 22, 2007 2:45 PM > Subject: Re: [ops-users] Code > > >> HI. I am getting Style Sheet Error of : Failed to compile stylesheet. 1 >> error detected >> ----- Original Message ----- From: "Shaw, Richard A" >> <[hidden email]> >> To: <[hidden email]> >> Sent: Wednesday, June 20, 2007 1:43 PM >> Subject: RE: [ops-users] Code >> >> >> Your oxf:xslt has only selected 'chandra' and your .xsl is looking for >> <name>. >> >> I would suggest that you use xsl:copy-of in your oxf:xslt or add new xml >> tags in the config section. Something like this - >> >> <p:processor name="oxf:xslt"> >> <p:input name="data" href="#xml"/> >> <p:input name="config"> >> <myname> >> <xsl:value-of select="/name"/> >> </myname> >> </p:input> >> <p:output name="data" ref="data"/> >> </p:processor> >> >> and then change your .xsl to >> >> <b><xsl:value-of select="/myname"/></b> >> >> I hope this helps. >> >> Richard. >> >> ________________________________ >> >> From: ChandraSekhar Mangipudi >> [mailto:[hidden email]] >> Sent: Fri 22/06/2007 08:30 >> To: [hidden email] >> Subject: [ops-users] Code >> >> >> HI. This is the code for getting values from one url .But i am not >> getting >> values from the xml file. Is this right procedure ? >> >> .xpl >> >> <p:config xmlns:p="http://www.orbeon.com/oxf/pipeline" >> xmlns:oxf="http://www.orbeon.com/oxf/processors" >> xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> >> >> <p:param name="data" type="output"/> >> >> <p:processor name="oxf:url-generator"> >> <p:input name="config"> >> <config> >> <url>oxf:/apps/xforms-hello/new.xml</url> >> <content-type>xml/html</content-type> >> <cache-control> >> <use-local-cache>true</use-local-cache> >> </cache-control> >> </config> >> </p:input> >> <p:output name="data" id="xml"/> >> </p:processor> >> >> <p:processor name="oxf:xslt"> >> <p:input name="data" href="#xml"/> >> <p:input name="config"> >> <xsl:value-of select="/name"/> >> </p:input> >> <p:output name="data" ref="data"/> >> </p:processor> >> >> </p:config> >> >> .xsl: >> >> <xhtml:html xmlns:f="http://orbeon.org/oxf/xml/formatting" >> xmlns:xhtml="http://www.w3.org/1999/xhtml" >> xmlns:xforms="http://www.w3.org/2002/xforms" >> xmlns:xxforms="http://orbeon.org/oxf/xml/xforms" >> xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >> xsl:version="2.0"> >> >> <xhtml:head><xhtml:title>URL Generator</xhtml:title></xhtml:head> >> <xhtml:body> >> <xhtml:p> >> Data in a xml file is >> </xhtml:p> >> <xhtml:p> >> <b><xsl:value-of select="/name"/></b> >> </xhtml:p> >> <xhtml:p> >> >> </xhtml:p> >> </xhtml:body> >> </xhtml:html> >> >> >> .xml: >> >> <name> chandra</name> >> >> >> >> Thanks & Regards, >> >> Chandrasekhar Mangipudi >> J2EE Developer, >> I-logicon, >> Bangalore, India. >> Mobile: 9986573322, >> [hidden email] >> [hidden email] >> >> >> This message has been scanned for viruses by MailControl >> <http://bluepages.wsatkins.co.uk/?6875772> >> >> >> >> This email and any attached files are confidential and copyright >> protected. >> If you are not the addressee, any dissemination of this communication is >> strictly prohibited. Unless otherwise expressly agreed in writing, >> nothing >> stated in this communication shall be legally binding. >> >> The ultimate parent company of the Atkins Group is WS Atkins plc. >> Registered in England No. 1885586. Registered Office Woodcote Grove, >> Ashley >> Road, Epsom, Surrey KT18 5BW. >> >> Consider the environment. Please don't print this e-mail unless you >> really >> need to. >> >> >> >> -------------------------------------------------------------------------------- >> >> >> >>> >>> -- >>> You receive this message as a subscriber of the [hidden email] >>> mailing list. >>> To unsubscribe: mailto:[hidden email] >>> For general help: mailto:[hidden email]?subject=help >>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws >>> >> >> >> -------------------------------------------------------------------------------- >> >> >> >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.472 / Virus Database: 269.9.1/854 - Release Date: 6/19/2007 >> 1:12 PM >> >> >> > > > -------------------------------------------------------------------------------- > > > >> >> -- >> You receive this message as a subscriber of the >> [hidden email] mailing list. >> To unsubscribe: mailto:[hidden email] >> For general help: mailto:[hidden email]?subject=help >> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws >> > > > -------------------------------------------------------------------------------- > > > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.472 / Virus Database: 269.9.1/854 - Release Date: 6/19/2007 > 1:12 PM > > -- Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
HI.I did this <myname xsl:version="2.0">
<xsl:value-of select="/name"/> </myname> Change in my code. Eventhough It is showing Style Sheet Error. ----- Original Message ----- From: "Erik Bruchez" <[hidden email]> To: <[hidden email]> Sent: Thursday, June 21, 2007 2:40 AM Subject: Re: [ops-users] Code > There is a bug whereby XSLT errors don't show up on the error page > anymore. But the logs should show what exact XSLT error has occurred. If > you find that error, that will help. > > Although, looking at tyour processor below, I see you are not passing a > valid XSLT stylesheet to the "config" input. Try this: > > <myname xsl:version="2.0"> > <xsl:value-of select="/name"/> > </myname> > > > -Erik > > ChandraSekhar Mangipudi wrote: >> I am getting Style Sheet Error of : Failed to compile stylesheet. 1 >> error detected. >> >> >> <p:processor name="oxf:xslt"> >> <p:input name="data" href="#xml"/> >> <p:input name="config"> >> <myname> >> <xsl:value-of select="/name"/> >> </myname> >> </p:input> >> Here at this Line No: --------> <p:output >> name="data" ref="data"/> <--------------------------- >> </p:processor> >> >> ----- Original Message ----- From: "ChandraSekhar Mangipudi" >> <[hidden email]> >> To: <[hidden email]> >> Sent: Friday, June 22, 2007 2:45 PM >> Subject: Re: [ops-users] Code >> >> >>> HI. I am getting Style Sheet Error of : Failed to compile stylesheet. 1 >>> error detected >>> ----- Original Message ----- From: "Shaw, Richard A" >>> <[hidden email]> >>> To: <[hidden email]> >>> Sent: Wednesday, June 20, 2007 1:43 PM >>> Subject: RE: [ops-users] Code >>> >>> >>> Your oxf:xslt has only selected 'chandra' and your .xsl is looking for >>> <name>. >>> >>> I would suggest that you use xsl:copy-of in your oxf:xslt or add new xml >>> tags in the config section. Something like this - >>> >>> <p:processor name="oxf:xslt"> >>> <p:input name="data" href="#xml"/> >>> <p:input name="config"> >>> <myname> >>> <xsl:value-of select="/name"/> >>> </myname> >>> </p:input> >>> <p:output name="data" ref="data"/> >>> </p:processor> >>> >>> and then change your .xsl to >>> >>> <b><xsl:value-of select="/myname"/></b> >>> >>> I hope this helps. >>> >>> Richard. >>> >>> ________________________________ >>> >>> From: ChandraSekhar Mangipudi >>> [mailto:[hidden email]] >>> Sent: Fri 22/06/2007 08:30 >>> To: [hidden email] >>> Subject: [ops-users] Code >>> >>> >>> HI. This is the code for getting values from one url .But i am not >>> getting >>> values from the xml file. Is this right procedure ? >>> >>> .xpl >>> >>> <p:config xmlns:p="http://www.orbeon.com/oxf/pipeline" >>> xmlns:oxf="http://www.orbeon.com/oxf/processors" >>> xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> >>> >>> <p:param name="data" type="output"/> >>> >>> <p:processor name="oxf:url-generator"> >>> <p:input name="config"> >>> <config> >>> <url>oxf:/apps/xforms-hello/new.xml</url> >>> <content-type>xml/html</content-type> >>> <cache-control> >>> <use-local-cache>true</use-local-cache> >>> </cache-control> >>> </config> >>> </p:input> >>> <p:output name="data" id="xml"/> >>> </p:processor> >>> >>> <p:processor name="oxf:xslt"> >>> <p:input name="data" href="#xml"/> >>> <p:input name="config"> >>> <xsl:value-of select="/name"/> >>> </p:input> >>> <p:output name="data" ref="data"/> >>> </p:processor> >>> >>> </p:config> >>> >>> .xsl: >>> >>> <xhtml:html xmlns:f="http://orbeon.org/oxf/xml/formatting" >>> xmlns:xhtml="http://www.w3.org/1999/xhtml" >>> xmlns:xforms="http://www.w3.org/2002/xforms" >>> xmlns:xxforms="http://orbeon.org/oxf/xml/xforms" >>> xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >>> xsl:version="2.0"> >>> >>> <xhtml:head><xhtml:title>URL Generator</xhtml:title></xhtml:head> >>> <xhtml:body> >>> <xhtml:p> >>> Data in a xml file is >>> </xhtml:p> >>> <xhtml:p> >>> <b><xsl:value-of select="/name"/></b> >>> </xhtml:p> >>> <xhtml:p> >>> >>> </xhtml:p> >>> </xhtml:body> >>> </xhtml:html> >>> >>> >>> .xml: >>> >>> <name> chandra</name> >>> >>> >>> >>> Thanks & Regards, >>> >>> Chandrasekhar Mangipudi >>> J2EE Developer, >>> I-logicon, >>> Bangalore, India. >>> Mobile: 9986573322, >>> [hidden email] >>> [hidden email] >>> >>> >>> This message has been scanned for viruses by MailControl >>> <http://bluepages.wsatkins.co.uk/?6875772> >>> >>> >>> >>> This email and any attached files are confidential and copyright >>> protected. >>> If you are not the addressee, any dissemination of this communication is >>> strictly prohibited. Unless otherwise expressly agreed in writing, >>> nothing >>> stated in this communication shall be legally binding. >>> >>> The ultimate parent company of the Atkins Group is WS Atkins plc. >>> Registered in England No. 1885586. Registered Office Woodcote Grove, >>> Ashley >>> Road, Epsom, Surrey KT18 5BW. >>> >>> Consider the environment. Please don't print this e-mail unless you >>> really >>> need to. >>> >>> >>> >>> -------------------------------------------------------------------------------- >>> >>> >>> >>>> >>>> -- >>>> You receive this message as a subscriber of the [hidden email] >>>> mailing list. >>>> To unsubscribe: mailto:[hidden email] >>>> For general help: mailto:[hidden email]?subject=help >>>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws >>>> >>> >>> >>> -------------------------------------------------------------------------------- >>> >>> >>> >>> No virus found in this incoming message. >>> Checked by AVG Free Edition. >>> Version: 7.5.472 / Virus Database: 269.9.1/854 - Release Date: 6/19/2007 >>> 1:12 PM >>> >>> >>> >> >> >> -------------------------------------------------------------------------------- >> >> >> >>> >>> -- >>> You receive this message as a subscriber of the >>> [hidden email] mailing list. >>> To unsubscribe: mailto:[hidden email] >>> For general help: mailto:[hidden email]?subject=help >>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws >>> >> >> >> -------------------------------------------------------------------------------- >> >> >> >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.472 / Virus Database: 269.9.1/854 - Release Date: 6/19/2007 >> 1:12 PM >> >> > > > -- > Orbeon Forms - Web Forms for the Enterprise Done the Right Way > http://www.orbeon.com/ > > -------------------------------------------------------------------------------- > > -- > You receive this message as a subscriber of the [hidden email] > mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > -------------------------------------------------------------------------------- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.472 / Virus Database: 269.9.1/854 - Release Date: 6/19/2007 1:12 PM -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
ChandraSekhar Mangipudi wrote:
> HI.I did this <myname xsl:version="2.0"> > <xsl:value-of select="/name"/> > </myname> Change in my code. Eventhough It is showing Style Sheet > Error. Then try to look at the logs and find out what the error is. -Erik -- Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
In reply to this post by Erik Bruchez
This bug is now fixed in CVS and XSLT errors should now appear again in
the error page. -Erik Erik Bruchez wrote: > There is a bug whereby XSLT errors don't show up on the error page > anymore. But the logs should show what exact XSLT error has occurred. If > you find that error, that will help. > > Although, looking at tyour processor below, I see you are not passing a > valid XSLT stylesheet to the "config" input. Try this: > > <myname xsl:version="2.0"> > <xsl:value-of select="/name"/> > </myname> > > > -Erik > > ChandraSekhar Mangipudi wrote: >> I am getting Style Sheet Error of : Failed to compile stylesheet. 1 >> error detected. >> >> >> <p:processor name="oxf:xslt"> >> <p:input name="data" href="#xml"/> >> <p:input name="config"> >> <myname> >> <xsl:value-of select="/name"/> >> </myname> >> </p:input> >> Here at this Line No: --------> <p:output >> name="data" ref="data"/> <--------------------------- >> </p:processor> >> >> ----- Original Message ----- From: "ChandraSekhar Mangipudi" >> <[hidden email]> >> To: <[hidden email]> >> Sent: Friday, June 22, 2007 2:45 PM >> Subject: Re: [ops-users] Code >> >> >>> HI. I am getting Style Sheet Error of : Failed to compile stylesheet. 1 >>> error detected >>> ----- Original Message ----- From: "Shaw, Richard A" >>> <[hidden email]> >>> To: <[hidden email]> >>> Sent: Wednesday, June 20, 2007 1:43 PM >>> Subject: RE: [ops-users] Code >>> >>> >>> Your oxf:xslt has only selected 'chandra' and your .xsl is looking for >>> <name>. >>> >>> I would suggest that you use xsl:copy-of in your oxf:xslt or add new xml >>> tags in the config section. Something like this - >>> >>> <p:processor name="oxf:xslt"> >>> <p:input name="data" href="#xml"/> >>> <p:input name="config"> >>> <myname> >>> <xsl:value-of select="/name"/> >>> </myname> >>> </p:input> >>> <p:output name="data" ref="data"/> >>> </p:processor> >>> >>> and then change your .xsl to >>> >>> <b><xsl:value-of select="/myname"/></b> >>> >>> I hope this helps. >>> >>> Richard. >>> >>> ________________________________ >>> >>> From: ChandraSekhar Mangipudi >>> [mailto:[hidden email]] >>> Sent: Fri 22/06/2007 08:30 >>> To: [hidden email] >>> Subject: [ops-users] Code >>> >>> >>> HI. This is the code for getting values from one url .But i am not >>> getting >>> values from the xml file. Is this right procedure ? >>> >>> .xpl >>> >>> <p:config xmlns:p="http://www.orbeon.com/oxf/pipeline" >>> xmlns:oxf="http://www.orbeon.com/oxf/processors" >>> xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> >>> >>> <p:param name="data" type="output"/> >>> >>> <p:processor name="oxf:url-generator"> >>> <p:input name="config"> >>> <config> >>> <url>oxf:/apps/xforms-hello/new.xml</url> >>> <content-type>xml/html</content-type> >>> <cache-control> >>> <use-local-cache>true</use-local-cache> >>> </cache-control> >>> </config> >>> </p:input> >>> <p:output name="data" id="xml"/> >>> </p:processor> >>> >>> <p:processor name="oxf:xslt"> >>> <p:input name="data" href="#xml"/> >>> <p:input name="config"> >>> <xsl:value-of select="/name"/> >>> </p:input> >>> <p:output name="data" ref="data"/> >>> </p:processor> >>> >>> </p:config> >>> >>> .xsl: >>> >>> <xhtml:html xmlns:f="http://orbeon.org/oxf/xml/formatting" >>> xmlns:xhtml="http://www.w3.org/1999/xhtml" >>> xmlns:xforms="http://www.w3.org/2002/xforms" >>> xmlns:xxforms="http://orbeon.org/oxf/xml/xforms" >>> xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >>> xsl:version="2.0"> >>> >>> <xhtml:head><xhtml:title>URL Generator</xhtml:title></xhtml:head> >>> <xhtml:body> >>> <xhtml:p> >>> Data in a xml file is >>> </xhtml:p> >>> <xhtml:p> >>> <b><xsl:value-of select="/name"/></b> >>> </xhtml:p> >>> <xhtml:p> >>> >>> </xhtml:p> >>> </xhtml:body> >>> </xhtml:html> >>> >>> >>> .xml: >>> >>> <name> chandra</name> >>> >>> >>> >>> Thanks & Regards, >>> >>> Chandrasekhar Mangipudi >>> J2EE Developer, >>> I-logicon, >>> Bangalore, India. >>> Mobile: 9986573322, >>> [hidden email] >>> [hidden email] >>> >>> >>> This message has been scanned for viruses by MailControl >>> <http://bluepages.wsatkins.co.uk/?6875772> >>> >>> >>> >>> This email and any attached files are confidential and copyright >>> protected. >>> If you are not the addressee, any dissemination of this communication is >>> strictly prohibited. Unless otherwise expressly agreed in writing, >>> nothing >>> stated in this communication shall be legally binding. >>> >>> The ultimate parent company of the Atkins Group is WS Atkins plc. >>> Registered in England No. 1885586. Registered Office Woodcote Grove, >>> Ashley >>> Road, Epsom, Surrey KT18 5BW. >>> >>> Consider the environment. Please don't print this e-mail unless you >>> really >>> need to. >>> >>> >>> >>> -------------------------------------------------------------------------------- >>> >>> >>> >>>> >>>> -- >>>> You receive this message as a subscriber of the [hidden email] >>>> mailing list. >>>> To unsubscribe: mailto:[hidden email] >>>> For general help: mailto:[hidden email]?subject=help >>>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws -- Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |