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 5:18:00 PM Kniffel <twongoracer@g...> wrote in <1189172607.583006.120940@w...>: >> 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´t get the clue! > I tested with preceding and peceding-sibling, but I think > I didn´t 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. | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
