Re: XML::LibXML -- Creating External Entities
Petr Pajas <[email protected]>
| Newsgroups | gmane.comp.lang.perl.xml |
|---|---|
| Organization | UFAL MFF UK |
| Message-ID | <[email protected]> |
No, XML::LibXML does not provide methods for manipulating document type declarations. You have to manipulate the raw XML text and parse it. P.S. <!ENTITY...> is not an element! P.P.S. Are you sure you want to use NDATA entities for that and not e.g. an XLink? -- Petr Dne Friday 17 October 2008 19:28:54 Todd Holmberg napsal(a): > Is it possible to create an external entity using the methods provided > in the XML::LibXML modules? I am trying to create this element: > > <!ENTITY F001 SYSTEM "images/fig1.jpg" NDATA JPEG> > > I am using the w3c standard (http://www.w3.org/TR/xml/#sec-external- > ent) as my guideline for defining external entities. Any help with > this issue would be greatly appreciated. > > > Thank you, > > Todd Holmberg > > The Johns Hopkins University Press > 2715 N. Charles St. > Baltimore, MD 21218 > [email protected] > -------------------------- > Phone: 410-516-3832 > Fax: 410-516-6968 > -------------------------- > http://press.jhu.edu > > > > > > > > _______________________________________________ > Perl-XML mailing list > [email protected] > To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs _______________________________________________ Perl-XML mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs