Ask a Question related to PHP Development, Design and Development.
-
kris_beyers at hotmail dot com #1
#24993 [NEW]: Suggestion for DOM - creating XML documents with structure from a recordset
From: kris_beyers at hotmail dot com
Operating system: WindowsXP
PHP version: 4.3.2
PHP Bug Type: DOM XML related
Bug description: Suggestion for DOM - creating XML documents with structure from a recordset
Description:
------------
Hi All,
It's not really a bug, but suggestion.. couldn't find a post address for
that :oS
I just came up a nice suggestion for the XML DOM..
Now we still program with loops to give the rows, comming from the
database-table, to DOM. Whereupon DOM creates an XML document.. like this
example [url]http://forums.devshed.com/archive/5/2003/02/3/52511[/url]
I was wondering if we could DOM do the transformation from a recordset
directly to XML data, using a DTD (or XSD) file for the structure. DOM
itself would look for the column names(or even synonyms of column names)
in the recordset itself and match them with the names found in the DTD (or
XSD) file, an error will occur if one name is not found.
When there are multiple rows, DOM will loop to process each row. The
validation of data types should still occur only during design time. This
way the loops in the serverscript are gone :o) I know Microsoft has
something like that, but they don't use DTD (or XSD) or other to build a
structure..
Hope you like the idea.
With kind regards
Kris Beyers
--
Edit bug report at [url]http://bugs.php.net/?id=24993&edit=1[/url]
--
Try a CVS snapshot (php4): [url]http://bugs.php.net/fix.php?id=24993&r=trysnapshot4[/url]
Try a CVS snapshot (php5): [url]http://bugs.php.net/fix.php?id=24993&r=trysnapshot5[/url]
Fixed in CVS: [url]http://bugs.php.net/fix.php?id=24993&r=fixedcvs[/url]
Fixed in release: [url]http://bugs.php.net/fix.php?id=24993&r=alreadyfixed[/url]
Need backtrace: [url]http://bugs.php.net/fix.php?id=24993&r=needtrace[/url]
Try newer version: [url]http://bugs.php.net/fix.php?id=24993&r=oldversion[/url]
Not developer issue: [url]http://bugs.php.net/fix.php?id=24993&r=support[/url]
Expected behavior: [url]http://bugs.php.net/fix.php?id=24993&r=notwrong[/url]
Not enough info: [url]http://bugs.php.net/fix.php?id=24993&r=notenoughinfo[/url]
Submitted twice: [url]http://bugs.php.net/fix.php?id=24993&r=submittedtwice[/url]
register_globals: [url]http://bugs.php.net/fix.php?id=24993&r=globals[/url]
PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=24993&r=php3[/url]
Daylight Savings: [url]http://bugs.php.net/fix.php?id=24993&r=dst[/url]
IIS Stability: [url]http://bugs.php.net/fix.php?id=24993&r=isapi[/url]
Install GNU Sed: [url]http://bugs.php.net/fix.php?id=24993&r=gnused[/url]
kris_beyers at hotmail dot com Guest
-
CREATING NEW DOCUMENTS
I am a newbie using dreamweaver but i dont know how to create new documents and save them to my ftp server so i can place them on my site.will i be... -
Creating PDF documents
Hey, If my ISP isn't running CF7, and not running some application or service on the server, is there any other way I can create a PDF document on... -
Creating Dynamic Structure
Hi, I want to create a dynamic structure of structures. I wrote the following code but I am getting errors with that. I have three entities... -
Creating new table with same structure as existing one
I need to create "archive" table that will have the same structure as "production" one. When I run my program it have to create table named... -
Input form for creating hierarchy structure
Hi I'm trying to create an input screen that allows users to create a hierarchical structure as the one below, but have no clue where to start or...



Reply With Quote

