Visit Our Home Page
 Explored,Designed,Delivered.sm
Welcome, Guest. Please Login or Register (Password Reminder)


Creativyst Forums 
Support & Discussion 
Register Help Search Login  
   
   Creativyst Forums-TOP
   Web Site Design
   XML data binding to HTML
(Moderator: admin)
 Author
Topic: XML data binding to HTML       [Link=44]
Reply Please log in first.
samir
New Member


Posts: 3




     
    XML data binding to HTML   (Date posted: 02/02/03 at 02:08:55) Quote Modify Delete

Hello,

I am trying to bind XML data to HTML. For simple XML i am able to but when i try with this XML format it doesn't work. I have to use the below format to display chartfx and table form.

Please help:
<?xml version="1.0" ?>
<DATA>
<COLUMN>
<COLUMN NAME="Product" TYPE="String"></COLUMN>
<COLUMN NAME="Q1" TYPE="Integer"></COLUMN>
<COLUMN NAME="Q2" TYPE="Integer"></COLUMN>
<COLUMN NAME="Q3" TYPE="Integer"></COLUMN>
<COLUMN NAME="Q4" TYPE="Integer"></COLUMN>
</COLUMN>

<ROW Product="ChartFX 98" Q1="9200" Q2="7835" Q3="10245" Q4="8762"></ROW>
<ROW Product="ChartFX IE" Q1="9200" Q2="7835" Q3="10245" Q4="8762"></ROW>
<ROW Product="ReportFX" Q1="9200" Q2="7835" Q3="10245" Q4="8762"></ROW>
<ROW Product="Image Toppings" Q1="9200" Q2="7835" Q3="10245" Q4="8762"></ROW>
</DATA>
</XML>

I want to bind this XML (format) to HTML.

   E-Mail   Ip: Logged
JRepici
Administrator


Posts: 328





Gender:
      JohnRHere2
    Re: XML data binding to HTML   (Date posted: 02/04/03 at 15:53:00) Quote Modify Delete

Samir,

On a first, quick look this does not seem to be beyond simple I.E. data binding (though I could be wrong). Question, when you say "simple XML" what do you mean? XML without attributes?

for information about accessing elements of different names at the same hierarchy level. see this thread

for a discussion about accessing attributes within elements with data binding, check out thread #23 ...this thread

Please let me know if these were of any help.

-John

hi


creativyst
gopher://www.creativyst.com

Last modification: JRepici - 02/04/03 at 15:53:00

   E-Mail   Ip: Logged
samir
New Member


Posts: 3




     
    Re: XML data binding to HTML   (Date posted: 02/02/03 at 17:21:26) Quote Modify Delete

Thanks for your respond. John

I saw these thread the one you send me with you reply.

I am using Chart FX and Chart FX needs XML to be in its (chart fx) standard format. That format you can see in my first post.

I don't want to create two different XML files. So, i am trying to bind this same XML file to HTML.

If you have any such solution, please send.

   E-Mail   Ip: Logged
samir
New Member


Posts: 3




     
    Re: XML data binding to HTML   (Date posted: 02/03/03 at 00:14:37) Quote Modify Delete

John

I missed to answer your question.
Simple XML: i mean to XML without an attributes.

eg:
<CD>
<Catalogue>Books</Catalogue>
<Author>John</Author>
</CD>

Hope you understand my question.

   E-Mail   Ip: Logged
Reply Please log in first.
Pages: 1
Jump to:

YaBB Board c 2000
YaBB Programming Team
 



















© Copyright 2002 - 2008 Creativyst, Inc.