#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2003
    Location
    romania
    Posts
    3
    Rep Power
    0

    Need help!


    I have a .xtg file(it is a file generate by XPress Tags for QuarkXPress).I want to convert the tags from this file in Html tags.
    Could anyone tell me, how can I do that?It 's urgent!
    Exemple of a .xtg file:

    "<I>If the document has not been<$> <B>saved during this session, or if any pictures have been updated<$>,<cMf"CourierNewPSMT">an alert is displayed asking OK to save document before continuing with Collect for Output? <c$f$> <Bc"Red">Click Save to continue. <$c$f"Impact">If the document has never been<f$> saved, <c"Blue">the Save as dialog box displays. <c"Green">Enter a name in the Save current document as field; then, click Save to continue"
  2. #2
  3. Second highest poster :p
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jul 2001
    Posts
    7,322
    Rep Power
    32
    First of all read How to post a question

    Secondly, why cant you just read in the file and then use either Replace to convert the XPress Tags or with things like <cMf"CourierNewPSMT"> use Regular Expressions. There is a regular expression add-in you can use.
  4. #3
  5. /(bb|[^b]{2})/

    Join Date
    Nov 2001
    Location
    Somewhere in the great unknown
    Posts
    5,163
    Rep Power
    792
    I changed your subject title to something more appropriate. Please take a.koepke's advice and read the "How to post a question" thread.

IMN logo majestic logo threadwatch logo seochat tools logo