🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.xml
Article #9812

Re: nastepny element za podanym za pomoca xpath

#9812
From: pbk++
Date: Mon, 21 Apr 2008 11:38
22 lines
1826 bytes
szomiz pisze:
> Użytkownik "pbk++" <jbond007@free.polbox.pl> napisał w wiadomości 
> news:fuh7ot$66q$1@atlantis.news.neostrada.pl...

> 
> Przestalem cokolwiek rozumiec. Uruchamiasz transformacje dla kazdego wezla 
> osobno?

Nie. PIERWSZY krok jeśli chodzi o walidację dokumentu to walidacja 
według schemy. Uruchomienie walidacji z użyciem xercesc - sax daje mi 
ostatni element, który jest zgodny ze schemą. Nadziergałem trochę kodu i 
dzięki temu znam pełny xpath do tego elementu.

Parser kończy pracę po napotkaniu pierwszego błędu.

Chcę ustalić ścieżkę do nastepnego elementu po ostatnim poprawnym.
Jak to chciałbym zrobić pisałem wcześniej.

Zapomnij teraz o kolejnych etapach walidacji, przekształceniu xslt itp.

--
Piotrek
Technical Details
Message-ID: <fuhufb$2b1$1@atlantis.news.neostrada.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!newsfeed.neostrada.pl!nemesis.news.neostrada.pl!atlantis.news.neostrada.pl!news.neostrada.pl!not-for-mail
References: <fu9v5e$pav$1@nemesis.news.neostrada.pl> <fua1f2$gts$1@atlantis.news.neostrada.pl> <fuh7ot$66q$1@atlantis.news.neostrada.pl> <fuhimc$da9$1@nemesis.news.neostrada.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!newsfeed.neostrada.pl!nemesis.news.neostrada.pl!atlantis.news.neostrada.pl!news.neostrada.pl!not-for-mail
From: pbk++ <jbond007@free.polbox.pl>
Newsgroups: pl.comp.xml
Subject: Re: nastepny element za podanym za pomoca xpath
Date: Mon, 21 Apr 2008 13:38:46 +0200
Organization: TP - http://www.tp.pl/
Lines: 28
Message-ID: <fuhufb$2b1$1@atlantis.news.neostrada.pl>
References: <fu9v5e$pav$1@nemesis.news.neostrada.pl> <fua1f2$gts$1@atlantis.news.neostrada.pl> <fuh7ot$66q$1@atlantis.news.neostrada.pl> <fuhimc$da9$1@nemesis.news.neostrada.pl>
NNTP-Posting-Host: gds34.internetdsl.tpnet.pl
Mime-Version: 1.0
X-Trace: atlantis.news.neostrada.pl 1208778027 2401 83.12.96.34 (21 Apr 2008 11:40:27 GMT)
X-Complaints-To: usenet@news.neostrada.pl
NNTP-Posting-Date: Mon, 21 Apr 2008 11:40:27 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
In-Reply-To: <fuhimc$da9$1@nemesis.news.neostrada.pl>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit