Re: RE: Re: Re: Newbie to XSLT needs help with MIF->X
More recent versions of FrameMaker will save as XML. I recall (been a while since I've used FrameMaker, so I could be wrong) that it's even possible (depending on version and what resources you might have downloaded) to specify the DTD for the XML it saves. Then you'd just need the XML => SGML transform. Even if you can't get FM to honor your DTD, it'd be simpler (seems to me, anyway) to do FM_XML => SGML than to try do MIF => Your_XML => SGML. Jay Bryant Bryant Communication Services ----- Original Message ----- From: <cknell@xxxxxxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Sent: Thursday, January 12, 2006 4:10 PM Subject: RE: RE: Re: Re: Newbie to XSLT needs help with MIF->XML->SGMLoutput > 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@xxxxxxxxxx - email > > > > -----Original Message----- > From: <convextech@xxxxxxxxxx> > Sent: Thu, 12 Jan 2006 16:01:04 -0600 > To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> > Subject: RE: Re: Re: 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
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