[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Data Islands

Subject: RE: Data Islands
From: "Chris Bayes" <Chris@xxxxxxxxxxx>
Date: Tue, 24 Apr 2001 16:32:12 +0100
datasrc attri
Karo,
Your first problem is that your xml isn't valid. You need to declare the web
and del namespaces i.e.
<web:Agenda active="true" id="Agenda_2" productcode="" xmlns:web="a"
xmlns:del="b">
The problem with that is as soon as you add any attributes to the top level
tag it breaks the data island. Don't ask me why.
The closest I can get to work is
<?xml version="1.0" ?>
<Agenda>
	<del:Name_SET active="true" id="Agenda_2" productcode="" xmlns:del="b">
		<del:Name>TESTING THE NAME</del:Name>
	</del:Name_SET>
</Agenda>

<HTML>
<BODY>
<XML ID="test" src="island2.xml"></XML>
<table datasrc="#test">
<tr>
<td><div datafld="del:Name"></div></td>
</tr>
</table>
</BODY>
</HTML>

Ciao Chris

XML/XSL Portal
http://www.bayes.co.uk/xml


>-----Original Message-----
>From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
>[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Karolien
>Vanstraelen
>Sent: 24 April 2001 15:21
>To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
>Subject:
>
>
>
>Hi,
>
>sorry, maybe stupid question, I'm just expierenting with data islands...
>Having some trouble with getting data out of my XML file.
>all XML elements have a namespace.
>
>XML file: (test.xml)
>
><?xml version="1.0" encoding="ISO-8859-1" ?>
><web:Agenda active="true" id="web:Agenda_2" productcode="">
>	<del:Name_SET>
>		<del:Name>TESTING THE NAME</del:Name>
>	</del:Name_SET>
></web:Agenda>
>
>
>HTML file:
>
><html>
><body>
><xml id="test" src="test.xml"></xml>
>TEST
><table border="1" datasrc="#test">
><tr>
><td><span datafld="del:Name"></span></td>
></tr>
></table>
></body>
></html>
>
>=> No values are replaced out of XML file ??
>ideas ?
>
>Thx,
>Karo
>
> XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.