dbTalk Databases Forums  

Importing XML

comp.databases.filemaker comp.databases.filemaker


Discuss Importing XML in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Matt Wills
 
Posts: n/a

Default Importing XML - 08-26-2005 , 11:25 AM






[FMD7, WXP]

Please pardon the absolute ignorance here. I find myself with a little
downtime and typically start investigating things I haven't played with
before, such as XML.

I notice that I can generate a Database Design Report in XML, and that FM
will import XML.

However, when I try to open the DDR (XML) in FM7, I get a parsing error.

FM Help suggests that this is the result of improperly formed XML. Is this
to be taken that FMD7 does not generate XML that it will, in turn, be able
to read?

FWIW, I have no trouble with the same DDR in HTML, at least I don't
recognize any problems.

Matt

Reply With Quote
  #2  
Old   
FP
 
Posts: n/a

Default Re: Importing XML - 08-26-2005 , 02:30 PM






I'm no expert at XML, I've been trying to import FM's DDR XML output
back into FM so that I can run some analysis on it with limited
success.
Basically what I've learned is that the XML is the data and a
style-sheet ".xsl" tells the application how to interpret that data.
Therefore, in order to import XML data into FM you need the style-sheet
that tells FM what to do with its own XML output.
If anyone has a style-sheet that can import FM DDR XML output, I would
love to have a copy of it.


Reply With Quote
  #3  
Old   
Matt Wills
 
Posts: n/a

Default Re: Importing XML - 08-29-2005 , 06:08 AM



Martin Trautmann wrote on (8/29/2005):

Quote:
On Fri, 26 Aug 2005 16:25:01 GMT, Matt Wills wrote:
I notice that I can generate a Database Design Report in XML, and that FM
will import XML.

However, when I try to open the DDR (XML) in FM7, I get a parsing error.

Where and which?
Attribute 'name' is not declared for element 'Script'

Line number: 34380
Column number: 27

Line 34380 is

<Script id="33021" name="Startup"/>

Line 34380 is the fourth line from the bottom. Knowing I couldn't really
mess anything up in experimenting, I removed the offending tag only to
have the error move up a few lines. FWIW, all that tells me is that FM
parses the XML from the bottom up.

I'm taking FP's word for it that a missing xsl stylesheet is what's to
blame here.

Matt


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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.