473,320 Members | 1,902 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

xi:fallback and cocoon

Hi NG,

I'm trying to process the following document using cocoon's
XInclude-transformer:

<demos>
<demo>
<dir>demo20040429</dir>
<date>11.05.04 10:01</date>
<xi:include parse="xml"
href="miracle/demo/demo20040429/info.xml#xpointer(/)">
<xi:fallback>
<info>there's no information available</info>
</xi:fallback>
</xi:include>
</demo>
<!-- the above pattern is repeated here with different directories -->
</demos>

Everything works fine, but if the info.xml document doesn't exist,
the following result-file is generated:

<demos>
<demo>
<dir>demo20040429</dir>
<date>11.05.04 10:01</date>
<info>there's no information available</xi:include></demo>

Look at the last line - there's obviously something wrong :-/
(either my way of using xi:fallback or a bug in cocoon's XInclude)

Can someone help me with this? I haven't had any success using
Google.

thanx in advance,
Gerald
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
Jul 20 '05 #1
0 1227

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: john fra | last post by:
Hi, I want to include a part of many XML files into an unique XML file with XInclude. Example! File1.xml, File2.xml, File3.xml... seems to that : <?xml version="1.0" encoding="UTF-8"?>
1
by: Sachin | last post by:
Hi, I have excellent Java consultants available with me. Kindly contact me for your DIRECT CLIENT requirements. Consultant Name: Ramachandran Summary:
3
by: Sachin | last post by:
Hi, I have excellent Java consultants available with me. Kindly contact me for your DIRECT CLIENT requirements. Consultant Name: Ramachandran Summary:
0
by: Sachin | last post by:
Hi, I have excellent Java consultants available with me. Kindly contact me for your DIRECT CLIENT requirements. Consultant Name: Ramachandran Summary:
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.