We don't bite newbies here... much | |
PerlMonks |
Re: parsing an ASP fileby iburrell (Chaplain) |
on May 25, 2004 at 21:43 UTC ( [id://356394]=note: print w/replies, xml ) | Need Help?? |
The type element ('HTM' or 'ASP') is not required if you leave the ASP tags in the strigns. The parser would effectively split the files into a list of chunks. It would be easy to tell ASP chunks because they start with '<%'.
I have seen a regex-based XML parser that works this way. It breaks the XML into strings which can be identified by looking at the first couple of characters.
In Section
Cool Uses for Perl
|
|