|
|
| There's more than one way to do things | |
| PerlMonks |
XML tag closingby maha (Novice) |
| on Jan 06, 2012 at 04:17 UTC ( #946523=perlquestion: print w/ replies, xml ) | Need Help?? |
|
maha has asked for the
wisdom of the Perl Monks concerning the following question:
Hello monks, i want to close </book-part> tag before the next chapter tag beginning e.g <book-part book-part-type="chapter" book-part-number="\d+" id="chapter\d+">its a beginning tag of each chapter. "</book-part>" should close before next chapter's opening tag,(i.e)</book-part> is an ending tag of each chapter plz give some suggestion, thank u monks i try below code but i does't show any changes
my output generate in below
"</book-part>" this is first chapter's closing and "<book-part book-part-type="chapter" book-part-number="2" id="chapter2">" this is second chapter opening
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||