xsl-list
[Top] [All Lists]

RE: RE: Re: Re: Newbie to XSLT needs help with MIF->XML->SGML output

2006-01-12 15:10:50
If I were faced with this problem, the first thing I'd do is convert the MIF 
file to XML. I'd use perl, but you could use anything you're comfortable with. 
Then I'd define the output I'd like to have (the SGML). Finally, I'd write a 
stylesheet to go from XML to SGML.

Unfortunately, I don't think that is the kind of answer you wanted.
-- 
Charles Knell
cknell(_at_)onebox(_dot_)com - email



-----Original Message-----
From:     <convextech(_at_)alltel(_dot_)net>
Sent:     Thu, 12 Jan 2006 16:01:04 -0600
To:       <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Subject:  RE: Re: Re: [xsl] Newbie to XSLT needs help with MIF->XML->SGML       
output

They are structured text files. Here is a sample of just a paragraph. 

 <Pgf 
  <PgfTag `Tmidno'>
  <PgfUseNextTag No>
  <PgfNextTag `'>
  <PgfAlignment Right>
  <PgfFIndent  0.0">
  <PgfLIndent  0.0">
  <PgfRIndent  0.0">
  <PgfFIndentRelative No>
  <PgfFIndentOffset  0.0">
  <PgfTopSeparator `'>
  <PgfTopSepAtIndent No>
  <PgfTopSepOffset  0.0">
  <PgfBotSeparator `'>
  <PgfBotSepAtIndent No>
  <PgfBotSepOffset  0.0">
  <PgfPlacement Anywhere>
  <PgfPlacementStyle Normal>
  <PgfRunInDefaultPunct `'>
  <PgfSpBefore  0.0 pt>
  <PgfSpAfter  0.0 pt>
  <PgfWithPrev No>
  <PgfWithNext No>
  <PgfBlockSize 2>
  <PgfFont 
   <FTag `'>
   <FPlatformName `W.Arial.R.700'>
   <FFamily `Arial'>
   <FVar `Regular'>
   <FWeight `Bold'>
   <FAngle `Regular'>
   <FEncoding `FrameRoman'>
   <FSize  24.0 pt>
   <FUnderlining FNoUnderlining>
   <FOverline No>
   <FStrike No>
   <FChangeBar No>
   <FOutline No>
   <FShadow No>
   <FPairKern Yes>
   <FTsume No>
   <FCase FUppercase>
   <FPosition FNormal>
   <FDX  0.0%>
   <FDY  0.0%>
   <FDW  0.0%>
   <FStretch  100.0%>
   <FLanguage USEnglish>
   <FLocked No>
   <FSeparation 0>
   <FColor `Black'>
  > # end of PgfFont
  <PgfLineSpacing Proportional>
  <PgfLeading  5.0 pt>
  <PgfAutoNum No>
  <PgfNumTabs 0>
  <PgfHyphenate Yes>
  <HyphenMaxLines 2>
  <HyphenMinPrefix 3>
  <HyphenMinSuffix 3>
  <HyphenMinWord 5>
  <PgfLetterSpace No>
  <PgfMinWordSpace 90>
  <PgfOptWordSpace 100>
  <PgfMaxWordSpace 110>
  <PgfMinJRomanLetterSpace 0>
  <PgfOptJRomanLetterSpace 25>
  <PgfMaxJRomanLetterSpace 50>
  <PgfMinJLetterSpace 0>
  <PgfOptJLetterSpace 0>
  <PgfMaxJLetterSpace 10>
  <PgfYakumonoType Floating>
  <PgfLanguage USEnglish>
  <PgfCellAlignment Top>
  <PgfCellMargins  0.0 pt 0.0 pt 0.0 pt 0.0 pt>
  <PgfCellLMarginFixed No>
  <PgfCellTMarginFixed No>
  <PgfCellRMarginFixed No>
  <PgfCellBMarginFixed No>
  <PgfLocked No>
# end of Pgf



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>