> > 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
>
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
>
> 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
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
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
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
---
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
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
> > > 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
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
>
> 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
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
> > 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
> 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
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
> 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\
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
&
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:
> 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
> 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
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
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
> 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
>
> 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
> > 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
> 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
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
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
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
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]
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
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
>
>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
> 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
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
> 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,
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]
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
_
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]
39 matches
Mail list logo