SkÃ¥ne Sjælland Linux User Group - http://www.sslug.dk Forside   Tilmelding   Postarkiv   Forum   Kalender   Søg
MhonArc Dato: [Date Prev] [Kronologisk oversigt] [Date Next]   TrÃ¥d: [Date Prev] [Oversigt trÃ¥de] [Date Next]   MhonArc
 

lille split/pattern/andet problem



hejsa
vi sidder lige med et lille parsing problem.

vi har en tekst ala følgende der skal parses:


<para TRANS><application TRANS>Desk Guide Applet</application> helps you
    navigate all of the virtual desktops available on your system. The
    <application TRANS>X Window</application> system, working in
    hand with a piece of software called a "window manager", allows
    you to create more than one virtual desktop to organize your
    work, with different applications running on each
    desktop. Each desktop can then also be subdivided by the window
    manager into rows and columns of working space, called
    "desk areas".<application TRANS>Desk
    Guide Applet</application> is a navigational tool to get around
    the various desktops and desk areas, providing a miniature road
    map in the GNOME panel showing all your virtual desktops (also
    known as workspaces) and desk areas, and allowing you to switch
    easily between them.</para>

vi skal have alt mellem <para TRANS> og </para> (hvor para ikke
nødvendigvis er para), dog skal alle tags(<...></...>) fjernes. 
der skal tages højde for linieskift, da der skal sættes \n ind ved hvert
linieskift.

Kan dette gøres ? 

MVH
Kim S. og Kenneth C.


 
Forside   Tilmelding   Postarkiv   Oversigt   Kalender   Søg

 
 
Henvendelse vedrørende websiderne til <www_admin>. Senest ændret 2005-08-10, klokken 19:53
Denne side vedligeholdes af MHonArc .