Adobe Dreamweaver Forums



Last 10 THreads :         Display relationships between objects (Last Post : jwoozy - Replies : 1 - Views : 2 )           »          custom component design question (Last Post : vikceo - Replies : 6 - Views : 8 )           »          Pulling data directly from SQL (Last Post : Developer504 - Replies : 3 - Views : 4 )           »          Passing XML value to a ScrollingText Component (Last Post : almond0517 - Replies : 3 - Views : 4 )           »          Browser (Last Post : Greg Lafrance - Replies : 2 - Views : 3 )           »          Font shift when opening PC FLA on a Mac (Last Post : yadavilleryadanothin - Replies : 0 - Views : 1 )           »          high fps causes glitching (Last Post : Rothrock - Replies : 5 - Views : 6 )           »          How to Insert Blank Record in Array? (Last Post : Azadi - Replies : 1 - Views : 2 )           »          ASP.NET - Login page (Last Post : danilocelic AdobeCommunityExpert - Replies : 1 - Views : 4 )           »          Using Recordset creator to connect PHP to ODBCconnection (Last Post : derfiticulum - Replies : 0 - Views : 1 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Dreamweaver: Main > Dreamweaver VB Script Development
 
Tags: ,

Reply
  #1 (permalink)  
Old 04-13-2008, 01:46 AM
Günter_Schenk@adobeforums.com
 
Posts: n/a
Diggs:
Default Re: XML Exporter

yeah I was just wondering -- AFAIK it seems that a closing </event> tag isn´t really required with XML attributes.

However, I *knew* you´d find a way sooner or later (patting on your back :-))

------
batta, bing! Hey .. this XMLexport.class.asp is kind of fun to rewrite
------

You rewrote that ? Wow, I thought you were using the ASP version of Adobe´s query2xml example as starting point

Cheers,
Günter Schenk
Adobe Community Expert, Dreamweaver
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 04-13-2008, 01:46 AM
Nancy
 
Posts: n/a
Diggs:
Default Re: XML Exporter

AFAIK it seems that a closing </event> tag isn´t really required with XML
attributes.

It is for this because with a recurring event, I have to nest a second tag
called pattern within a particular event. For a recurring event, the final
xml has to look like:

<event title="Test Event 5" description="every second tuesday"
startDate="2007-07-01" endDate="2007-07-31" allDay="1" eventType="weekly">
<pattern sun="0" sat="0" fri="0" thu="0" wed="0" tue="1" mon="0" recur="2"
/>
</event>

whereas all the events that are one time have to be in attributes in order
to work with the ActionScript in the Flash. See? Not nodes and not
attributes. I need a "mixed" alternative.
>
> However, I *knew* you´d find a way sooner or later (patting on your back
> :-))


Thanks!

> You rewrote that ? Wow, I thought you were using the ASP version of
> Adobe´s query2xml example as starting point


I tried to do that .. it only produced nodes and I couldn't figure out how
to get it to produce attributes. It turned out to work better to modify the
XMLExport class in the extension to produce the nested tag and closing node.

Anyway .. just have to get the nested pattern tag with its attributes
feeding in from the database to add to the XML and I'm there.

Thanks for your valuable input! When I get past this, I may write an
article on "Extending the XML Export Extension".

Nancy


Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 05:17 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk