ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/FeepingCreaturism/Jargon.cpp
(Generate patch)

Comparing FeepingCreaturism/Jargon.cpp (file contents):
Revision 196 by Douglas Thrift, 2004-08-27T19:31:26-07:00 vs.
Revision 202 by Douglas Thrift, 2004-08-30T23:18:58-07:00

# Line 8 | Line 8
8  
9   Jargon::Jargon(const std::string& path)
10   {
11 <        std::vector<std::string> args(1, "FeepingCreaturism");
11 >        std::vector<std::string> args(1, FeepingCreaturism::program);
12  
13          args.push_back(path);
14 <        args.push_back("FeepingCreaturism.xsl");
14 >        args.push_back("jargon.xsl");
15  
16          redi::pstreambuf pin("/usr/local/bin/Xalan", args, std::ios_base::in);
17          ios::StreamBufInputAdapter adaptor(pin);
18          ext::Handle<xml::Document> document(xml::Parse(adaptor));
19 <        ext::Handle<xml::Node> jargon(*document/"Jargon");
19 >        ext::Handle<xml::Node> jargon(*document/"jargon");
20  
21 <        word = *jargon/"Word";
22 <        pronunciation = *jargon/"Pronunciation";
23 <        grammar = *jargon/"Grammar";
24 <        definition = *jargon/"Definition";
21 >        word = *jargon/"word";
22 >        pronunciation = *jargon/"pronunciation";
23 >        grammar = *jargon/"grammar";
24 >        definition = *jargon/"definition";
25   }
26  
27   std::ostream& operator<<(std::ostream& sout, const Jargon& jargon)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines