Section 13.4.  Choose a data source

Prev don't be afraid of buying books Next

13.4. Choose a data source

FrontPage allows you to define any data source that can be an XML document. These include all that we have encountered with other Office products, in other words:

  • A local XML file

  • A URL that returns an XML document

  • A REST Web service (although you will have to construct the parameter string in the URL reference yourself)

  • A SOAP Web service

  • A database that can export XML

You can define multiple data sources to be combined in the same Web page. FrontPage allows you to create different data views for each of them.

Tip

Remember that FrontPage doesn't understand schemas. The page design – and therefore the generated stylesheet – are based entirely on the representative data sources. Make sure that yours include all possible element types. You are not generating a static HTML page for that specific data, but a view that can be applied to any XML document that conforms to the same schema.




Ellen has chosen the file sample expense report.xml to represent Worldwide's expense reports. To upload it to your website:

1. On the File menu, point to Import, then click Add File.

2. Select the sample expense report.xml file and click Open.

3. Click OK to close the Import dialog.

Amazon


XML in Office 2003. Information Sharing with Desktop XML
XML in Office 2003: Information Sharing with Desktop XML
ISBN: 013142193X
EAN: 2147483647
Year: 2003
Pages: 176

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net