xslt includes xml file as base64 in nightly build - in the production version it is included as an xml file

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

xslt includes xml file as base64 in nightly build - in the production version it is included as an xml file

Andrew Bailey
Hi

I am using the nightly build from 2 days ago and the default java 6 xslt.

I have a xslt stylesheet which works in the current production version, it loads an xml file but in the stylesheet it is included as a base64 document.

the relevant part of the stylesheet is:

<xsl:template match="feed">
<xsl:variable name="file" select="concat('http://www.hazlorealidad.com/', .,'?count=2')"/>
Included from <xsl:value-of select="$file"/>
<!--<h6><xsl:value-of select="$file"/></h6>-->
<xsl:variable name="content" select="document($file)"/>
<xsl:apply-templates select="$content"/>
</xsl:template>

This outputs:

Included from http://www.hazlorealidad.com//orbeon/mfg/assembly/index.xml?count=2
<document>PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48YXRvbTpmZWVkIHhtbG5zOmF0 ....

If I do a get on the url
curl -v http://www.hazlorealidad.com//orbeon/mfg/assembly/index.xml?count=2
* About to connect() to www.hazlorealidad.com port 80
*   Trying 192.168.0.2... connected
* Connected to www.hazlorealidad.com (192.168.0.2) port 80
> GET //orbeon/mfg/assembly/index.xml?count=2 HTTP/1.1
> User-Agent: curl/7.15.5 (i686-redhat-linux-gnu) libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.1 libidn/0.6.5
> Host: www.hazlorealidad.com
> Accept: */*
>
< HTTP/1.1 200 OK
< Date: Fri, 08 Aug 2008 15:26:11 GMT
< Server: Apache/2.2.4 (Fedora)
< Last-Modified: Fri, 08 Aug 2008 15:26:11 GMT
< Expires: Fri, 08 Aug 2008 15:26:11 GMT
< Cache-Control: public
< Pragma:
< Content-Length: 1178
< Connection: close
< Content-Type: application/atom+xml;charset=utf-8
<?xml version="1.0" encoding="utf-8"?><atom:feed xmlns:atom="http://www.w3.org/2005/Atom" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" xml:base="http://www.hazlorealidad.com/orbeon/mfg/assembly/">
    <atom:title>MFG Open Source Hardware Assemblies</atom:title>
    <atom:link href="http://www.hazlorealidad.com/orbeon/mfg/assembly/index.xml"/>

Any ideas why an xml file is being included in the stylesheet as base64? What can I do to fix this?

Thanks

Andy Bailey
http://www.hazlorealidad.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
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Need help guys

Surendran M-2

Dear all,

 

Iam new to xhtml

 

Can I have a intro or guide that describes how to use orbean form builder

 

Help needed pls its urgent

 

Thanks and Regards

surendran



--
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
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Need help guys

Erik Bruchez
Administrator
Surendran,

We don't yet have a user guide for Form Builder yet. We plan to have  
something over the next 2 months if everything goes well.

We have some developer doc in the process of being written on our wiki:

   http://wiki.orbeon.com/forms/

In particular, check the sitemap there:

   http://wiki.orbeon.com/forms/system/app/pages/sitemap/hierarchy

-Erik

On Aug 9, 2008, at 8:17 AM, Surendran M wrote:

> Dear all,
>
> Iam new to xhtml
>
> Can I have a intro or guide that describes how to use orbean form  
> builder
>
> Help needed pls its urgent
>
> Thanks and Regards
> surendran
--
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
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: Re: Need help guys

Surendran M-2
Thank you  Erik bruchez


-----Original Message-----
From: Erik Bruchez [mailto:[hidden email]]
Sent: Sunday, August 10, 2008 3:30 AM
To: [hidden email]
Subject: [ops-users] Re: Need help guys

Surendran,

We don't yet have a user guide for Form Builder yet. We plan to have  
something over the next 2 months if everything goes well.

We have some developer doc in the process of being written on our wiki:

   http://wiki.orbeon.com/forms/

In particular, check the sitemap there:

   http://wiki.orbeon.com/forms/system/app/pages/sitemap/hierarchy

-Erik

On Aug 9, 2008, at 8:17 AM, Surendran M wrote:

> Dear all,
>
> Iam new to xhtml
>
> Can I have a intro or guide that describes how to use orbean form  
> builder
>
> Help needed pls its urgent
>
> Thanks and Regards
> surendran
--
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
OW2 mailing lists service home page: http://www.ow2.org/wws