ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-xml
perl-xml
RE: perl-ish way to deal with footnotes in an XML document
by Mark - BLS CTR Thomas other posts by this author
Jul 19 2007 8:39AM messages near this date
view in the new Beta List Site
perl-ish way to deal with footnotes in an XML document | Re: perl-ish way to deal with footnotes in an XML document
& XSLT Birgit Kellner wrote:
>  <seg>This is a segment of text. It goes on and on. <note><span
>  type="lemma">Here</span>
>  <app>
>      <lem>Here</lem>
>      <rdg wit="Ms-A">Here</rdg>
>      <rdg wit="Ms-B">There</rdg>
>  </app>
>  </note>
>  there is a note, but after the note the text continues.</seg>
>  
>  How can I get whatever code I wish to create for the note to be
>  inserted
>  *exactly* at the start of the <note>-Element, 

Each text segment is a different node. In other words, <seg>  has three
children:
1. A text node containing "This is a segment... on and on. "
2. A <note>  element
3. A text node containing "there is a note... continues."

So doing what you want to do is not a problem.

- Mark.

_______________________________________________
Perl-XML mailing list
Perl-XML@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Birgit Kellner
Mark - BLS CTR Thomas
Birgit Kellner
Mark - BLS CTR Thomas
A. Pagaltzis
Birgit Kellner
Joshua Santelli
Petr Pajas

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved