Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: XML/XSL/XPATH how to get a element value >Thread Next - Re: XML/XSL/XPATH how to get a element value Re: XML/XSL/XPATH how to get a element valueTo: NULL Date: 9/7/2007 7:26:00 AM On 7 Sep., 16:18, Pavel Lepin <p.le...@ctncorp.com> wrote: > Kniffel <twongora...@gmx.de> wrote in > <1189172607.583006.120...@w3g2000hsg.googlegroups.com>: > > >> Read W3C's XPath 1.0 spec. Section 2.2, Axes, is of > >> particular interest in your predicament. > > > Oh I read this some Hours ago, but I can=B4t get the clue! > > I tested with preceding and peceding-sibling, but I think > > I didn=B4t have the right syntax. > > Everytime I get a Error "The stylesheet does not contain a > > document element. ...maybe empty, or not well-formed..." > > Your stylesheet is riddled with well-formedness bugs. I > recommend you drop whatever you're doing right now and read > a basic XML tutorial. Then an XPath tutorial. Then some > sort of introductory XSLT reading. Then get an XML parser > and an XSLT processor somewhere (I normally recommend > xmllint and xsltproc--those are command-line tools that > come with libxml2/libxslt). Armed with your newfound > knowledge and tools try debugging your stylesheet. If > there's still something you don't understand, come back > with a more specific request. > > -- > This chickenus crossed the roadus while yodelingus. My example I showed in my first post, is really minimal to the things I have running! The real XSL-file have 320 lines of code. Working Code! And I have 3 other XSL-files also running perfect! And that thing I try is getting me the error! When I remove these xsl:choose/when statement everything works! And I only need the XPATH statement at this little point, because at this point I have to jump back! Till now I haven't to do that XPATH thing, but now! Please help me more! | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
