Presents: ObjectRoleModeling.com Thursday, July 24, 2008
 Search
Register Login
Forums
 
 

Note: To post to a thread, you must be logged in.

  Forums  
 
SearchForum Home
     
  Orthogonal Toolbox  Support  XML export samp...
 XML export sample style
 
imgOfflineGuennadi V. Vanine
170 posts
5th
Joined
5/28/2005

XML export sample style
Posted: 11 Jun 05 1:36 PM Modified By Guennadi V. Vanine  on 6/11/2005 2:36:17 PM)

[1] tells me:
"Once you have selected a style sheet, export the XML model and open the XML file using Internet Explorer 6.x or later. If you have selected the example style sheet above, you should see the XML transformed into a sample HTML-based report that sorts the model elements into tables."


Well, for me, it was neither in HTML nor in HTML-based, still in XML, and opening by IE didn't change anything in this. Though, XML is always in some kind of tabular form, it seems to me

I just repeated instructions from above paragraphs... It seems to me tat XSLT should convert existing (previosly created XML file into HTML? or that pass should create both HTML and XML files?)
BTW, What is "the XML model" 

[1]
FAQ 7. Orthogonal Toolbox 1.5 Release Notes: You all know where it is located.


thanks god, i.e. Scot, saving the ORM cause in all EMEA by patiently answering ALL questions, Геннадий Владимирович Ванин (aka Guennadi Vladimirovitch Vanine or Vanin Gennady )
imgOfflineScot Becker
220 posts
www.orthogonalsoftware.com
4th
Joined
9/24/2004

Re: XML export sample style
Posted: 11 Jun 05 3:25 PM

It works for me. Selecting a style sheet prior to exporting it adds a tag to the file that tells IE to look up the XSLT and render the XML into whatever format specified by the XSLT.

Note: the display in IE is changed, not the file itself. You might want to bone up on XML, XSLT, style sheets, and so on.

Scot.

imgOfflineGuennadi V. Vanine
170 posts
5th
Joined
5/28/2005

Re: XML export sample style
Posted: 11 Jun 05 3:34 PM

I tried to follow on
C:\Program Files\Microsoft Office\Visio10\1033\Samples\Database\Employee ORM source.vsd
I also tried to copy and rename
C:\Program Files\Orthogonal Software Corporation\Orthogonal Toolbox\StyleSheets\OrthogonalToolboxXSLTSample1_5.xslt
to "C.\1.xsl" (to same dir where us produced output c:\OrthogonalToolBoxExport.xml
)
with corresponding change of the second line to
<?xml-stylesheet type="text/xsl" href="1.xsl"?>
but stil get an error:

The XML page cannot be displayed

Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.


A string literal was expected, but no opening quote character was found. Error processing resource 'file:///C:/OrthogonalTo...

            <FactRole FactRoleID=?70" />
---------------------------------^


 


thanks god, i.e. Scot, saving the ORM cause in all EMEA by patiently answering ALL questions, Геннадий Владимирович Ванин (aka Guennadi Vladimirovitch Vanine or Vanin Gennady )
imgOfflineGuennadi V. Vanine
170 posts
5th
Joined
5/28/2005

Re: XML export sample style
Posted: 11 Jun 05 3:41 PM
Before copying and renaming .xslt file to the same dir as xml,
I was getting an error on "C:\Program"

It seems like spaces are hindrances in the path

thanks god, i.e. Scot, saving the ORM cause in all EMEA by patiently answering ALL questions, Геннадий Владимирович Ванин (aka Guennadi Vladimirovitch Vanine or Vanin Gennady )
imgOfflineGuennadi V. Vanine
170 posts
5th
Joined
5/28/2005

I was kidding?
Posted: 11 Jun 05 4:23 PM
I tried to export again and it worked (showed tables in IE).

I understood that I should get correct result on 2nd or 3d trial.

BTW, OT continues to disappear and I am to periodically repair it (it seems to happen when I have a lot of MS Ofiice applications, like MS Word and MS Outlook, opened. I use MS Office 2000 Premium)

thanks god, i.e. Scot, saving the ORM cause in all EMEA by patiently answering ALL questions, Геннадий Владимирович Ванин (aka Guennadi Vladimirovitch Vanine or Vanin Gennady )
  Orthogonal Toolbox  Support  XML export samp...
 
  Syndication  
   
 
© 2003 - 2007 Orthogonal Software Corporation. All rights reserved. Terms Of Use Privacy Statement