|
This method separates an xml in a "line by line" form.
Example: xmlString: "<xml
a="b">f00</xml>" result: [ '<xml
a="b">' , 'f00', '</xml>']
REX/Python
Based on Robert D. Cameron's REX/Perl 1.0.=20
Original copyright notice follows:
REX/Perl 1.0
Robert D. Cameron "REX: XML Shallow Parsing with Regular
Expressions", Technical Report TR 1998-17, School of Computing
Science, Simon Fraser=20 University, November, 1998. Copyright (c) 1998,
Robert D. Cameron.=20 The following code may be freely used and
distributed provided that this copyright and citation notice remains
intact and that modifications or additions are clearly identified.
- Parameters:
xmlString - A string representation of the xml
- Returns:
- A list of strings.
|