Date: Mon, 20 Oct 2008 16:39:24 -0500
Reply-To: Mary <firstname.lastname@example.org>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Mary <mlhoward@AVALON.NET>
Subject: Re: Breaking a xml tag into substrings
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
Another thing you can play around with is named input; I haven't used this
in a long time, but it seems to work, though I had to
get rid of your brackets first.
infile cards missover;
input sample1=$ breakpoint=$ datejoin=$ grid=$ gridg=$;
Sample1="PC" breakpoint="XSR" Datejoin="1979-02-06" grid="A" gridg="0"
Sample1="PC" Datejoin="1979-02-06" grid="A" gridg="0"
----- Original Message -----
Sent: Monday, October 20, 2008 3:56 PM
Subject: Breaking a xml tag into substrings
I am trying to use perl regular expression to break a xml string.I don't
have the schema and the xml mapper , hence I am unable to use the xml
But this is a sample string I am trying to break:
<Sample1="PC" breakpoint="XSR" Datejoin="1979-02-06" grid="A" gridg="0">
I cannot use scan or index here because the data varies from record to
I tried using prxparse and prxmatch but it is not working the way I want