You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-dev@xml.apache.org by Jayaram Narayana <na...@india.hp.com> on 2002/05/02 11:10:22 UTC
XSL PI
===================================
posted to both dev and users forums
===================================
hi everyone,
here's a simple document (say test.xml) that needs to be added to a
collection in xindice:
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="F:\estc\src\XML\standardReview.xsl"?>
<review>
<comment date="04-22-2002" reviewer="Master">
This is the actual comment for the document by Master.
</comment>
<comment date="04-22-2002" reviewer="Master">
This is the actual comment for the document by Pupil.
</comment>
</review>
here's the command used to add it in:
xindiceadmin ad -c /db/testers -f f:\test.xml -n test
the document gets added successfully.
here's the command used to retrieve the same test:
xindiceadmin rd -c /db/testers -n test
and here's the result gotten:
<?xml version="1.0"?>
<?xml-stylesheet ?>
<review>
<comment date="04-22-2002" reviewer="Master">
This is the actual comment for the document by Master.
</comment>
<comment date="04-22-2002" reviewer="Master">
This is the actual comment for the document by Pupil.
</comment>
</review>
C:\Xindice\bin>
please compare the added and the retrieved <xml-stylesheet> elements. the
retrieved one is broken.
why is this happening? is it not possible at all to add a document with such
a stylesheet tag into xindice? or what am i missing here?
many many thanks in advance,
-nani
--
Remember...
To err is human;
to forgive, divine.
-anon
--