OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   can I do this, (sax paginator...)

[ Lists Home | Date Index | Thread Index ]

I need to paginate, (reduce in size), certain nodes of an xml doc, say
x/y/z.  This would evolve reading and writing nodes, and truncating the node
in question.

I had originally written an xslt to use an xpath expression, which works
fine.  Problem is I need to do this for many doc, and the xpath expression
changes.  Passing the expression failed as select=$varName will only work
for one node.  See XSLT Programmer's Reference, 2nd Edition page 426.

So I am now writing this as a SAX Parser, (jaxp compliant).  I can see how
to read and evaluate the nodes, but I have not seen yet how to write out the
second doc.  Is this possible with the SAX2 library?  Should I be looking at
XMLWritter extensions?

Thanks

john




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS