xsl-list
[Top] [All Lists]

[xsl] Problems with Libxslt - GNOME

2006-08-08 07:01:24
Hi all.
I have some doubts using Libxslt.I put the library in my server to do
some transformations.

The first transformation goes well, but the second doesn't.

The second execution goes well till it finds any function of libxslt.
As in my example:

int ModToWml(string s, char* stylesheet)

{
      const char* params[1];
      xsltStylesheetPtr cur = NULL;
      xmlDocPtr doc, res;

  //CONVERTING

      params[0] = NULL;

      xmlSubstituteEntitiesDefault(1);

      xmlLoadExtDtdDefaultValue = 1;

      doc = xmlParseFile("myfile.txt");

The problems happen when xmlSubstituteEntitiesDefault(1); is called.
If I cut this line the problems will occur when
xmlLoadExtDtdDefaultValue = 1; is called. And so on.

Any hints are welcome.

Luana

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>
  • [xsl] Problems with Libxslt - GNOME, Luana Knoff <=