|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: MySQL XML retrieval
At 04:50 PM 12/2/2003 +0530, karthikeyan.balasubramanian wrote: Just wondering if we can get data in mysql as an xml and use xslt to format it. I'm in the middle of doing this, myself. Assuming you're using Linux, if you go to the command line and type: mysqldump -X --password='YOUR_PASSWORD' DATABASE_NAME >XML_FILE.xml ...you'll get an XML data file in the format: <database name="DATABASE_NAME">
<table name="TABLE_NAME>
<row>
<field name="FIELD_NAME">FIELD_DATA</field>
...more fields...
</row>
...more rows...
</table>
...more tables...
</database>I have some XSLT files designed to strip out data from that format. Drop me a private email if you'd like them, and I'll ship them off. I haven't done any work to format them yet. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








