hi all , iam just learning the basics of PERL and XPATH. can anyone show me.... how can i extract the editors name or wadevva information i want by specyfyin XPATH statements...... from the following XML document which is TEI encoded
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE TEI.2 SYSTEM "tei-epidoc.dtd" > <TEI.2 lang="eng" id="eAla001"> <teiHeader status="new" type="text"> <fileDesc> <titleStmt> <title type="main" level="m">1. Letter of Valerian and Gallien +us</title> <editor role="editor">Joyce M. Reynolds</editor> </titleStmt> <publicationStmt> <date>2004</date> </publicationStmt> <sourceDesc default="NO"> <p><!-- to be added --></p> </sourceDesc> </fileDesc> <profileDesc> <langUsage default="NO"> <language id="eng">English</language> <language id="fre">French</language> <language id="ger">German</language> <language id="grc">Ancient Greek</language> <language id="gre">Modern Greek</language> <language id="ita">Italian</language> <language id="lat">Latin</language> <language id="spa">Spanish</language> <language id="tur">Turkish</language> </langUsage> </profileDesc> </body> </text> </TEI.2>
In reply to perl xpath extraction by lionofmasses
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |