Thanks,<br>I've tried this already, but I still get the same error. <br>I'm just going to try to avoid using stx:transform-dynamic and find another way to apply xsl stylesheets to an xml document.<br><br>Thank you for all the help,
<br>Eric<br><br><br><br><div class="gmail_quote">On Jan 15, 2008 10:46 AM, John Clements <<a href="mailto:clements@brinckerhoff.org">clements@brinckerhoff.org</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I'm forwarding this message; it comes from one of the authors of the<br>sxml package, Dmitry Lizorkin. I'm hoping he won't mind that I'm<br>cc:ing the plt-scheme list.<br><br>Begin forwarded message:<br><div class="Ih2E3d">
<br>><br>> ----- Original Message -----<br>> From: "John Clements" <<a href="mailto:clements@brinckerhoff.org">clements@brinckerhoff.org</a>><br>> To: "Eric Biunno" <<a href="mailto:01rice@gmail.com">
01rice@gmail.com</a>><br>> Cc: <<a href="mailto:plt-scheme@list.cs.brown.edu">plt-scheme@list.cs.brown.edu</a>><br>> Sent: Monday, January 14, 2008 1:41 AM<br>> Subject: Re: [plt-scheme] sxml.ss - Works on its own, but not in
<br>> module<br>>>> But when I create a module with this code and then call (test) from<br></div><div class="Ih2E3d">>>> another file I get the following error:<br>>>> .plt-scheme/planet/300/371/cache/lizorkin/sxml.plt/1/4/stx-
<br>>>> engine.ss::12970: reference to undefined identifier: sxpath<br>><br></div>> In the error message shown above, 'sxpath' is obviously called by<br>> 'eval'. Could this observation be a clue for the error? (I am not an
<br>> expert in PLT module system rules, but I experienced similar issues<br>> with Bigloo.)<br>> Can the modules be organized then to resolve the issue?<br>><br>> The most straightforward workaround is probably to 'require' not only
<br>> "foo.ss" in foo-user module, but the sxml module as well (untested):<br><div class="Ih2E3d">> (module foo-user mzscheme<br>> (require (file "foo.ss"))<br></div><div class="Ih2E3d">> (require (planet "
sxml.ss" ("lizorkin" "sxml.plt" 1 4)))<br></div>> Any more elegant solution?<br>><br>> Hope this helps.<br>> Dmitry<br><br></blockquote></div><br>