RE: XML XSLT

2005-06-08 Thread Gerald Richter
> > Where do i get this now? I saw this in the INSTALL POD > > http://xml.apache.org/xalan-c/ But I am not sure if the newest version is working with Embperl. If not, try libxslt, which is known to work correctly Gerald > > Ruben > > XML and XSLT support >

XML XSLT

2005-06-08 Thread Ruben Safir
Sorry sent with the wrong subject :( Ruben On Wed, Jun 08, 2005 at 06:51:27PM -0400, Ruben Safir wrote: > Where do i get this now? I saw this in the INSTALL POD > > Ruben > XML and XSLT support > >Starting with Embperl 2.0b4 it has a build in XSL

Re: make Embperl warn or croak on invalid XML

2004-05-12 Thread Gerald Richter
> > then Embperl (or xslt) is happy with that and doesnt warn, break. How > I make it at least warn me about xsl not conforming DTD? > Embperl should give you all errors and warnings it receives from libxslt. Is there anything usefull in the httpd error log? If you do the same xslt transformation

make Embperl warn or croak on invalid XML

2004-05-12 Thread Neeme Vool
Hi! I use libxslt with Embperl: SetEnv EMBPERL_SYNTAX "Embperl" SetEnv EMBPERL_RECIPE EmbperlXSLT SetEnv EMBPERL_XSLTPROC libxslt I reference to dtd in my xml file: but as soon as I write into page.dtd any valid stuff like then Embperl (or xslt) is happy with that and doesnt w

Re: Bug in XML Output

2004-03-07 Thread Gerald Richter
Jochen Topf wrote: > tested with 2.0b9. > > when using EMBPERL_OUTPUT_MODE 1 > ... > inserts a spurious '/': The appended patch fixes this problem. You can also grab it from the CVS Gerald --- Gerald Richterecos

Re: Bug in XML Output

2004-02-18 Thread Gerald Richter
Jochen Topf wrote: > tested with 2.0b9. > > when using EMBPERL_OUTPUT_MODE 1 > > inserts a spurious '/': > - > >test > > foo > > > - > ok, I see the problem. I will fix it as soon as possible and give feedback when it's done Gerald ---

Bug in XML Output

2004-02-17 Thread Jochen Topf
tested with 2.0b9. when using EMBPERL_OUTPUT_MODE 1 base.epl: - test foo - inserts a spurious '/': - test foo - Jochen -- Jochen Topf [EMAIL PROTECTED] http://www.remote.org/jochen/ +49-721-38829

auml and xml

2003-03-26 Thread Jaak
Hi! I have a xml file test.xml --- ä --- and test2.xml --- ä --- While processing test.xml with EmbperlLibXSLT test.xml returns an error [2439]ERR: 58: test.epl(1): LibXSLT Error: Entity 'auml' not defined: [2439]ERR: 58: test.epl(1): LibXSLT Error: ä: test2.xml works ok. In

Re: HTML mangling and XML

2002-11-19 Thread Gerald Richter
> > > I am using Embperl-2.0b8. I am feeding > > > (X)HTML/Emberl-Code through a XSLT > > > stylesheet. This works well until I have some forms > > > in my HTML code and > > > Embperl mangels for instance tags by adding > > > a "select

Re: HTML mangling and XML

2002-11-19 Thread Jochen Topf
tags by adding > > a "selected" attribute. > > The "selected" is not valid XML so the XSLT parses > > complains. I tried > > setting the optDisable* flags, but it didn't work. > > Looking at the Changes > > file this seems to be normal behaviour

Re: HTML mangling and XML

2002-11-19 Thread Jarrod Stenberg
> > I am using Embperl-2.0b8. I am feeding > (X)HTML/Emberl-Code through a XSLT > stylesheet. This works well until I have some forms > in my HTML code and > Embperl mangels for instance tags by adding > a "selected" attribute. > The "selected" is not

HTML mangling and XML

2002-11-19 Thread Jochen Topf
Hi! I am using Embperl-2.0b8. I am feeding (X)HTML/Emberl-Code through a XSLT stylesheet. This works well until I have some forms in my HTML code and Embperl mangels for instance tags by adding a "selected" attribute. The "selected" is not valid XML so the XSLT parses compla

Re: Multiple xml inputfiles?

2002-11-08 Thread Jarrod Stenberg
> > In JSP you can do this: > > xsl="/xsl/programcalendar_xml.xsl"> > > > > <%= > ServletCaller.get("getcalendarXML",props) > > %> > > <%= ServletCaller.get("getprogram",props) > %> > > > > > > > > Execute ({inputfile => 'my.xml', recipe => > 'Em

Re: Multiple xml inputfiles?

2002-11-07 Thread Gerald Richter
> In JSP you can do this: > > > <%= ServletCaller.get("getcalendarXML",props) > %> > <%= ServletCaller.get("getprogram",props) %> > > > Do Execute ({inputfile => 'my.xml', recipe => 'EmbperlLibXSLT', xsltstylesheet => 'posts.xsl'}) and my.xml

Multiple xml inputfiles?

2002-11-06 Thread Jarrod Stenberg
In JSP you can do this: <%= ServletCaller.get("getcalendarXML",props) %> <%= ServletCaller.get("getprogram",props) %> So the xsl can chew on both xml documents that are returned. This is EXTREMELY handy for eff

Re: XML compression?

2002-11-04 Thread Jarrod Stenberg
> To me this looks a lot like Base64 endcoding, which > is not unsual in > XML and Web Application context. So type Thanks. I actually found where it was occuring, XML/Generator/DBI.pm line 109: foreach (@row) { if (defined($_) && /[\x00-\x08\

Re: XML compression?

2002-11-04 Thread Axel Beckert - ecos gmbh
Hi! On Mon, Nov 04, 2002 at 12:10:59PM -0800, Jarrod Stenberg wrote: > This is slightly off-topic, so please forgive me. I > made a mod_perl module that outputs XML when given a > SQL aquery. > > The modules used: > XML::Generator::DBI > XML::Handler::YAWriter &

XML compression?

2002-11-04 Thread Jarrod Stenberg
This is slightly off-topic, so please forgive me. I made a mod_perl module that outputs XML when given a SQL aquery. The modules used: XML::Generator::DBI XML::Handler::YAWriter XML::Parser::PerlSAX There is a "text" field in the mysql database that is coming back like so:

Re: Execute XML Query

2002-10-06 Thread Gerald Richter
> Thanks for the reply. My application involves accessing the new Amazon > XML/SOAP Web service. After much reading, I've decided to use SOAP instead > of XSLT. It appears that by using SOAP I can avoid having to use an XSLT > processor. > > Hopefully, you advice regading

Re: Execute XML Query

2002-10-06 Thread Gerald Richter
> http://xml.amazon.com/onca/xml2...";>Click on Link > > I'd like to have xml data display on my pages without requiring users to > click on a URL. > When using Embperl 2, mod_perl 2 and Apache 2 you can use the output of a subrequest as input for Embperl. T

Re: Execute XML Query

2002-10-01 Thread Andrew O'Brien
On Tue, Oct 01, 2002 at 07:39:56PM -0700, Powers, Dean wrote: > I'd like to have xml data display on my pages without requiring users to > click on a URL. > > Anyone know how to construct an Execute Statement which sends out a http > request when the page is generated? use

Execute XML Query

2002-10-01 Thread Powers, Dean
I'm implementing a web application that interfaces with the new Amazon XML/HTTP data feed. They normally expect a web page to have a URL link in the form of: http://xml.amazon.com/onca/xml2...";>Click on Link I'd like to have xml data display on my pages without requiring

Re: Embperl and XML

2002-04-17 Thread Cameron McBride
> Yes, that's what Embperl currently does. Additionaly it caches parsed XSLT > stylesheets and XML documents (you can configure that), so when you make a > lot of transformations using the same stylesheet on different doucments, the > sytlesheet only get's parsed onc

Re: Embperl and XML

2002-04-16 Thread Gerald Richter
> > Ahh, perhaps I am starting to get it. Basically the XSLT recipes > configure the processing of the code to use XML libraries, and when you > do an Execute on them, they make the calls using the specified XML > library (libxml2 in my case). So all the XSLT functionality i

Re: Embperl and XML

2002-04-16 Thread Cameron McBride
> > It seems to me (from document fragments and example code) that the 'XML > > integration' has mostly targetted the XSLT transformations. > > > > It's maily intended for transforming it and generating output. For now this > means mainly XSLT. Ahh, p

Re: Embperl and XML

2002-04-16 Thread Gerald Richter
> It seems to me (from document fragments and example code) that the 'XML > integration' has mostly targetted the XSLT transformations. > It's maily intended for transforming it and generating output. For now this means mainly XSLT. > What if I just want to parse

RE: Embperl and XML

2002-04-16 Thread Wim Kerkhoff
On 16-Apr-2002 Cameron McBride wrote: > It seems to me (from document fragments and example code) that the 'XML > integration' has mostly targetted the XSLT transformations. > > What if I just want to parse some XML files? > > - are the libxml2 documented function

Embperl and XML

2002-04-16 Thread Cameron McBride
It seems to me (from document fragments and example code) that the 'XML integration' has mostly targetted the XSLT transformations. What if I just want to parse some XML files? - are the libxml2 documented functions just bootstrapped into the embperl namespace? (haven't tes

Re: xml, xslt and embperl

2002-04-08 Thread Gerald Richter
Hi! > > Is there any good tutorials/example source using embperl and xml? > A small search with google gave me nothing to start on. > Since XML support in Embperl is new, I am not aware of any tutorials. The README.v2 contains some hints and the tests maybe a little helpfull (goto t

xml, xslt and embperl

2002-04-07 Thread Jaak
Hi! Is there any good tutorials/example source using embperl and xml? A small search with google gave me nothing to start on. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: localization & creating non-HTML dispaly formats with Embperl? (ie, WML, XML)

2001-07-31 Thread Gerald Richter
ng how easy it was to create WML, XML, PDF as well as > HTML for a set of webpages. > > You can do a separation of information, business logic and display logic with Embperl too, but don't have to. Embperl 1.x allows you to embed Perl code in html, so you can restrict yourself to using o

creating non-HTML dispaly formats with Embperl? (ie, WML, XML)

2001-07-31 Thread princepawn
some of the more recent web application frameworks (ie, Apache::PageKit, AxKit), tout one of their benefits as being the ability to generate multiple display formats easily because they separate information, business logic and display logic. I was wondering how easy it was to create WML, XML

Re: XMLParser error in embperl XML call.

2001-04-05 Thread Gerald Richter
> >When I rebuilt apache, the problem went away. It is related to expat, which >XMLParser is calling. > >It's not clear to me if this is a problem that will be fixed soon or not, but it >is a workaround in the meantime. > The problem is that Apache comes with an Ex

Re: XMLParser error in embperl XML call.

2001-04-05 Thread Neil Gunton
> I'm using the XPath module in an embperl page and having trouble trying to > make a call to the method findnodes on an XPath object. The call dies > only when run under embperl (w/mod_perl). The exact place of failure is > at: > > XML::XPath::XMLParser::parse at th

XMLParser error in embperl XML call.

2001-04-05 Thread khoward
Hi, I'm using the XPath module in an embperl page and having trouble trying to make a call to the method findnodes on an XPath object. The call dies only when run under embperl (w/mod_perl). The exact place of failure is at: XML::XPath::XMLParser::parse at the return call where XML::P

Re: XML::Xpath causes seg fault

2001-02-22 Thread G.Richter
> Has anyone successfully used XML::XPath under Embperl? > I get a segmentation fault. > There are some conflicts between Apache and Expat that comes with XML::Parser. If I remeber right you have to disable EXPAT when building Apache. Please search the mod_perl mailinglist archive,

XML::Xpath causes seg fault

2001-02-20 Thread David Williams
Has anyone successfully used XML::XPath under Embperl? I get a segmentation fault. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: XML

2000-10-10 Thread Joe Lauer
You need to use XML::DOM; and the just go to town on the code. I could give you a snidbit of perl code, but you can just regular, plain old perl code so its nothing big. Embperl doesn't do anything specific to change XML::DOM. -joe _

XML

2000-10-10 Thread Dung Tong
I want to use XML::DOM in embeded perl page. How I do that? thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]