473,609 Members | 1,851 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Embed link in XML with xmlreadmode.aut o

Hello,

I am trying to read an xml file into a web page via vb.net. I am
current using an rss format and reading it directly into a DataSet
with the following command:
ds.ReadXml("xml filepath\xmlfil e.xml", XmlReadMode.Aut o)

Here is an example of an element in the xml file:
<item>
<title>Newark Valley Fathers Day Challenge</title>
<description>Pa rticipating teams: U10, U11</description>
<pubdate>5/25/04</pubdate>
<dateofevent>Ju ne 19 &amp; 20</dateofevent>
</item>

That works great. The problem is that the user now wants to embed
links in the description tag so pdf files can be linked to the U10 and
U11 text. When I try to do this I get the following error:

"The same table (description) cannot be the child table in two nested
relations. "

An example of the html to display the xml in the dataset is as
follows:

<td align="left" valign="top" width="350">
<asp:label Font-Size="Smaller" ForeColor="#000 66" Font-Bold="True"
Font-Underline="True " ID="Label1" runat="server"> Event:</asp:label>
<asp:label Font-Size="Smaller" ForeColor=#0000 66 Font-Bold="True"
ID=Label6 runat="server" Text='<%#
DataBinder.Eval (Container,"Dat aItem.title") %>'>
</asp:label></td>

Any ideas how I can get this to work? Thanks in advance.
Jul 20 '05 #1
0 1402

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

Similar topics

1
5871
by: Thomas P. Fuller | last post by:
Hi, Thanks in advance for any help in this matter. I need to embed a link in the text portion of an xml element's value. For example, <some_element> Hi, my name is Tom, and you can find my webpage <URL
0
3108
by: Wolfgang Schwanke | last post by:
Dear usenet, I'm having the following small problem. I've been ask to add some Quicktime panoramas to a website. The author of the panoramas has made two versions of each: One in MOV format, which needs a Quicktime plugin, and one Java applet. He's also kindly supplied me with sample HTML code for each. The code looks like this (simplified):
4
3404
by: AES/newspost | last post by:
Can anyone provide a quick tip on the html structure to link from a thumb to a movie poster and from there on to a QuickTime movie, all in one go, using EMBED? I have a number of (large) QuickTime movie files, each of them matched to a one-frame QuickTime movie poster of the same screen size and also to a much smaller JPEG thumb of the same image as the movie poster. I want to put the small thumbs into individual Table cells to serve...
2
2040
by: chaitatp | last post by:
Hi guys, I have posted a similar question before but this post has some different. The similar link is: http://groups-beta.google.com/group/comp.lang.javascript/browse_thread/thread/a4e7317eee02579f/13714e97d19ff2a7#13714e97d19ff2a7 When I put <embed> in an <iframe> using javascript, I can't see the embedded object in Firefox. But if I put other tags say, <b>hello</b> or <img src="..."/>, it works well. I am wondering if it is...
1
1372
by: Hugh Creswell | last post by:
Hi there, I wonder if anyone can give me some help here? I am a newbie at csharp, and am translating a C++ app that I wrote into csharp. What I have is a and XmlDocument in memory, referenced by a variable m_loadedFile = new XmlDocument(); This is then loaded from an Xml file, whose structure looks something like this (for brevity, I know this isnt fully formed!) :-
2
3282
by: Annu | last post by:
Hi I need help on <enbed> tag. Following code(No 1) is working properly on windows but on linux code no.2 is not working Code No 1: <EMBED type='application/x-mplayer2' pluginspage='http://microsoft.com/windows/mediaplayer/en/download/' id='mediaPlayer' name='mediaPlayer' displaysize='4' autosize='-1'
2
1364
by: Jianwei Sun | last post by:
Hi, Dear guru, I have a question on embed a javascript into the master page. I put the following line <link runat="server" type="text/javascript" href="~/column.js" /> under the head, but obviously, it's not called anywhere.
9
1626
by: johkar | last post by:
I would like to embed some XML within my XSL as either a param or a global variable. Is this possible? If so, what is the syntax to access it? <xsl:call-template name="securetemplate"> <xsl:with-param name="leftnav"> <links> <link>Link 1</link> <link>Link 2</link> </links>
2
8064
dream party
by: dream party | last post by:
Inserting a Flash (SWF, FLV) file into HTML web page is already an old and familiar thing to all of us. It is a rather non-flexible thing that just to edit some options in the template. However, I did not understand some parameters totally in the HTML tag. These days when I was surfing the Internet I have found some comprehensive introduction to these two tags. I read it and conclude it with my own words; I think it will be useful to us, so I...
0
8091
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8579
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8555
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8232
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8408
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6064
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5524
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4032
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
1403
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.