Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...An excellent site which has quite possibly prevented me from having a mental/nervous breakdown..."

Geography

Where in the world do Tek-Tips members come from?

XML -Need to cut and Paste specific text and create new file with specific name

Buscardman (IS/IT--Management)
20 May 12 17:16
Hi,
I have created a document with about 500 records and need to separate them all by cutting from the first line which is:

<?xml version="1.0" encoding="utf-16"?>

to the end of a record which ends with:

</PDFDocument>

then paste into a new document and name the document for example Joe Bloggs by using Joe Bloggs from this string (the name can be seen near the end)

Prompt="Enter Name" Name="Name" Type="Text" ImageIndex="-1" PDFIndex="-1" Top="140.60999999999999" Left="20.88" Bottom="127.96000000000001" Right="219.12">
<TextSpecification ShowOther="false" Leading="100" CharSapcing="0" Caps="0" TabbedMode="false" Spacing="0" Filled="true" Stroked="false" Text="Joe Bloggs" Font="0"

and go through all the records creating a separate utf16 xml file for each record

I am willing to use BBedit on the Mac using applescript or any other means available on a PC xp pro, does anyone have any ideas please?

Thank you!

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Back To Forum

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close