From: Alex B. <en...@tu...> - 2001-05-18 19:34:18
|
> Finally hacked a working version, after adding better error handling to > Alex's script :-) heh, post it! the errors I get from sablot are usually pretty useless. the errors I get from sabcmd on the command line a _great_! use that, if you're having problems. but you can't on windows :( > One of the problems was the encoding declaration - I used > encoding="utf-8". I also removed the > xmlns:fo="http://www.w3.org/1999/XSL/Format" reference and it seemed to > work fine. The fo: is there for different reasons, and you're right, it won't effect the current xsl. UTF, though I'm surprised by. > The main problem was that sablotron was looking in C:\apache for the xml nd > xsl files, when they were installed in > C:\apache\htdocs\xslt_example Anyone have an idea why this was??? I'm willing to chock that up to a funky win php install. I haven't found any installable version of php for win that didn't require a good deal of hand tweaking and head scratching to get working. check out the "complex" example I posted earlier, as it appears to be (gasp!) actually useful! the final xml output from the builder classes will be somewhat different than that little hacked format (or at least at first) but I'm seriously loving xslt. I fixed a little rule in there this morning that (for a select) checks to see if the next element is a select, and if so, prints a space - or if the next element is something else, prints a br, or if nothing, ptints nothing. it's extremely groovy, and efficient. _alex > Peter. > > > --oOo-- > Narrow Gauge on the web - photos, directory and forums! > http://www.narrow-gauge.co.uk > --oOo-- > Peter's web page - Scottish narrow gauge in 009 > http://members.aol.com/reywob/ > --oOo-- > > > _______________________________________________ > binarycloud-dev mailing list > bin...@li... > http://lists.sourceforge.net/lists/listinfo/binarycloud-dev > -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |